vincent wong
Published © GPL3+

Anna: Alexa Powered Interactive Light

Enables any of your lights/lamps to be powered by Alexa.

BeginnerFull instructions provided2,957
Anna: Alexa Powered Interactive Light

Things used in this project

Story

Read more

Code

Anna Node-RED Flow

JSON
[{"id":"e349e731.cc5038","type":"alexa-local","z":"d4157f57.cd02a","devicename":"anna","inputtrigger":false,"x":170,"y":200,"wires":[["cc7b51f0.00c0f","a90367f8.ee4718"]]},{"id":"cc7b51f0.00c0f","type":"debug","z":"d4157f57.cd02a","name":"","active":true,"console":"true","complete":"payload","x":380,"y":100,"wires":[]},{"id":"d5463435.4dbe88","type":"arduino out","z":"d4157f57.cd02a","name":"","pin":"10","state":"OUTPUT","arduino":"d4c6e849.844578","x":550,"y":200,"wires":[]},{"id":"a90367f8.ee4718","type":"function","z":"d4157f57.cd02a","name":"transform","func":"if (msg.payload == \"on\") { msg.payload = \"off\" } else { msg.payload = \"on\" };\n\nreturn msg;","outputs":1,"noerr":0,"x":360,"y":200,"wires":[["d5463435.4dbe88"]]},{"id":"d4c6e849.844578","type":"arduino-board","z":"","device":"/dev/ttyACM0"}]

Credits

vincent wong

vincent wong

78 projects • 197 followers

Comments