originallyus / node-red-contrib-alexa-local

An easy-to-use NodeRED node for adding Alexa capability to NodeRED. NO Alexa Skills required.
107 stars 25 forks source link

Please add support for "toggle" state. #28

Closed mB-PiBox closed 6 years ago

mB-PiBox commented 6 years ago

Would be nice if there was an option to toggle current state. So that the emulated "device" could also be control via a button on node-dashboard.

torinnguyen commented 6 years ago

This is now available in the latest version. You simply send it a msg.payload = "toggle" via Trigger node, Button node or Function node. Remember to enable Input Trigger option in Alexa node.

node-red 2017-11-28 16-18-47