0.1.5 • Published 1 year ago

iobroker.alexa-shoppinglist v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Logo

ioBroker.alexa-shoppinglist

NPM version Downloads Number of Installations Current version in stable repository

NPM

Tests: Test and Release

alexa-shoppinglist adapter for ioBroker

Generates the Shoppinglist from Alexa

You can also use other Lists from Alexa. Configure it in Admin. When you use the new Admin UI, it will be much easier for you.

There is a State to insert new Items. Just write the Text and Enter. You can delete activ and inactiv Lists. You can akso move only one Item, to both directions.

I hope you enjoy

Datapoints

DP NameTypeDescription
add_positionStringType Text to insert in the list
delete_activ_listButtonClears the active list and moves it to the inactive list
delete_inactiv_listButtonClears the inactive list
position_to_shiftNumberYou can insert the position number of the item move, than button to_active_list or to_inactive list
list_activeJSONThe activ list as JSON
list_active_sortSwitchYou can sort the active list by name or by insert time
list_inactiveJSONThe inactive list as JSON
list_inactive_sortSwitchYou can sort the inactive list by name or by insert time
to_activ_listButtonFirst insert position_to_shift and than press the button to move to activ_list
to_inactive_listButtonFirst insert position_to_shift and than press the button to move to inactiv_list
Attribute in JSONDescripton
nameName of the Item
timeTimestamp of insert
idid in the Alexa2 Adapter
posPosition in the list
buttonmoveButton to move to active or inactive list
buttondeleteButton to completly delete the item

The JSON contains now 2 Buttons to move Items or to delete. For this you have to insert Code in the VIS Editor under Skript, put this in:

 /* Alexa Einkaufsliste JSON */

function setOnDblClickCustomShop( myvalue) {
    let id = myvalue.slice(0,myvalue.indexOf(","));
    let val = myvalue.slice(myvalue.indexOf(",")+1, myvalue.length);
    if (val){
      vis.setValue(id,val);
    }
  }

npm.io

Changelog

0.1.5 (09.01.2023)

  • Error when deleting via the JSON list fixed

0.1.4 (25.09.2022)

  • Its now possible to delete always the Inactiv list, when you delete an Articel from the Activ list
  • You only have to check the Checkbox

0.1.2 ( 09.04.2022)

  • Add Buttons in JSON String

0.1.1 ( 20.02.2022)

  • Error fixed in jsonConfig

0.1.0 ( 20.02.2022)

  • First complete working Release

0.0.1

  • (MiRo1310) initial release

License

MIT License

Copyright (c) 2023 MiRo1310 michael.roling@gmx.de

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0.1.5

1 year ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago