By Different Questions which Alexa likes or hates to act upon.By Setting Different crazy routines in Alexa.To some extent, you can make Alexa mad by consistently asking silly questions and setting crazy routines. You might consider it a human who has emotions and feelings which we feel through its hilarious actions controlled by the device itself. msg.Alexa is an Artificial Intelligent Voice Assistant which performs many tasks and does a lot of actionable work on your single voice command.msg.name: The name of the Alexa device that heard the request.msg.payload: The alexa request without the word “alexa” or the phrase “simon says”.To sum up the differences, my filter function node supplies: If you just say “Alexa, something” – you’ll find that what you get is this as the output of the Filter node:-īut if you say “Alexa, Simon says something” then you will get this If everything works as described you can now connect the output of the filter node to a switch and use the “contains” option to test for commands Advanced Information Just try it out by asking “Alexa, Simon says hello” and it should show this Once that is complete, you’ll get this noticeĪnd you can close this browser tab and go back to your NodeRED tab where it should show that the Alexa node is now listening for your Alexa requests. Sometimes I’ve had to do this twice as 1st time doesn’t take for some reason. Open a new tab and then do that and fill the authorisation screen that appears with your Amazon account information and sign in. When you press Deploy, you’ll see a status underneath the blue Alexa node asking you to open yourIPAddress:3456 in your browser. Adjust the Amazon settings depending on which country you are in following this guide.Make sure you have a filename in File Path.Change the This IP to the IP address of the machine Node-RED is running on.Once you’ve done that, copy this flow and import it into NodeREDĭouble click on the blue On Device Activity node and click on the pencil to add new account details Select the 3 line hamburger menu at the top-right and then select Manage Palette, click on the install tab search for remote2 and install the node called node-red-contrib-alexa-remote2-applestrudel (This assumes that you have have an Alexa device and you’ve used NodeRED If you haven’t used NodeRED before, then have a read of the docs and have a little play with it first) Setting up NodeRED to listen for Alexa requests Obviously, for someone called Simon (such as myself) this isn’t an issue at all □īut we do get total freedom to do what we want with Alexa requests. The disadvantage of using this technique is, of course, that you have to say “Alexa, Simon says ….” instead of just “Alexa …. So all we need is something that can listen for any commands that A⍺lexa receives and react to ones that start “Alexa, Simon says” It will just repeat what you ask it to say and will never try and interfere □ If you have an Alexa device, you might have heard and tried using “Alexa, Simon says its a lovely day today” and Alexa will say “It’s a lovely day today” Once you start playing around with getting Alexa to control stuff around your home with NodeRED, you are normally faced with the issue of needing an Alexa skill.Īnd you then either have to write your own one (big job!) or use one someone else has written, which will have restrictions and limitations on what sort of commands it will accept.Īnd even if you write your own skill, you’ll find that Alexa is always trying to guess what you want to do and offer other options, especially if you try to use common phrases such as play or record.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |