node-red nodes for interacting with alexa
This is a collection of Node-RED nodes for interacting with the Alexa API. You can emulate routine behaviour, control and query your devices and much more!
All functionality is from alexa-remote2. The goal is to expose all of its functionality in node-red nodes.
node-red admin remove node-red-contrib-alexa-remote2 node-red admin remove node-red-contrib-alexa-cakebaked node-red admin install node-red-contrib-alexa-remote2-applestrudel
- Export all of your flows to a file (Menu -> Export -> all flows -> Download)
- Delete all flows (Double Click on each Tab -> Delete)
- Delete configuration node
alex-remote-accountnode (Menu -> Configuration Nodes) and write down settings (Cookie path, refresh time)
- Deploy empty state
node-red-contrib-alexa-cakebaked(Menu -> Manage Palette -> Palette -> Nodes -> remove)
- Search and install
- Reimport all flows from file (Menu -> Import -> Clipboard -> select a file to upload)
- Restart Node-RED
Drag an Alexa Routine node into your flow.
Create a new Account by pressing the edit button at the right side of the Account field.
Choose a Service Host and Page and Language depending on your location. For example:
Service Host Page Language USA pitangui.amazon.com amazon.com en-US UK alexa.amazon.co.uk amazon.co.uk en-UK GER layla.amazon.de amazon.de de-DE FR layla.amazon.de amazon.fr de-DE ITA alexa.amazon.it amazon.it it-IT AUS alexa.amazon.com.au amazon.com.au en-US ES alexa.amazon.es amazon.es es-ES BR alexa.amazon.com.br amazon.com.br pt-BR
Set This IP to the ip of your Node-RED server
Enter a File Path to save the authentication result so following authentications will be automatic.
Add the new Account.
Follow the url you see in the node status
Log in, wait until you see the node status ready
Write "Hello World!" in the Alexa Routine node text field.
Select a device in the Alexa Routine node devices field.
Now trigger the Alexa Routine Node with any message and your Alexa will say "Hello World!". (Hopefully!)