Is there a way for alexa to say "your package is outside or your package has been delivered" when the yellow light notification turns on?? What program(s) should I use?
I was such a fan of this node for the longest time but then I started having issues with it remembering authentication if even able to authenticate at all. Ended up switching to Home Assistant's Alexa Media Player integration and this has been way more stable. But like anything, your milage may vary. This video makes me want to give it another try as it was easier to tie into Alexa routines with Alexa2. It's still possible with Alexa Media Player, just way more convoluted.
If you apply innit correctly you should be ok. I had more issues trying to deauthorise it 🤣😂 I had it installed long time ago as well but at first things were clunky. Got better in last few months
@@notenoughtech so after watching your latest video about using this node instead of IFTTT, I decided to give Remote2 another try. It's been a while since I've used it and for the life of me I cannot figure out which node I'd use to listen for a Routine being called... I see the node to execute a routine but i'm wanting to react to a routine called by a device and do stuff in Node-RED... any quick tip on that?
@@notenoughtech ah, my issue was i was "Running Routine" from the Alexa app (trying to be quiet in the house as i coded this) and nothing was kicking off in Node-RED. I guess that makes sense since there is technically no echo device involved with that.
Id have to check .. I think running a routine from mobile phone should be picked up too. It may have slightly different JSON format so it's worth checking the debug
I've installed node-red-contrib-alexa-remote2 (ver 3.10.4). I did as you suggested in your video clip (3:05) and after trigger, I can get message from debug as
There are some compatibility issues after recent amazon was changes. Please take look at GitHub page as someone forked the update that fixes the issues
Of I understand it correctly the host machine is used to get cookies. You will need to certify your RPI to get SSL connection routed as the server is obtaining credentials on your behalf. (At least that how it looks like to me)
I have some tutorials on nodered for beginners - perhaps they will help you notenoughtech.com/home-automation/why-nodered-server/ and a good live session: ruclips.net/video/0rZj6qPWdmE/видео.html
Hey, I have tried using alexa routine node ,got to know what changes need to be done in routine but what should I change in the inject node because after deploying it's showing null and alexa is not speaking anything ,I have tried to check the device I have added the right device. so what may be the isssue could you please help .
I got the cakebaked version. Followed your instructions... However all I can see to get out of it is the 'Alexa Event' node, "Device Activity", and the 'Alexa Other' node "Get Skills". Those show some data on the debug node. However, anything I try to push into the Alexa, such as "Play a sound" or 'Smarthome' node "Action", it says there are no devices with executable actions! What is going wrong?? Please help
@@notenoughtech it will not get devices or show them in a drop down. It won't even play a sound or txt from the node that does that so something isn't working.
Strange. Anything similar reported on GitHub? Problem with these things that if API changes node has to be updated and this is usually someone's pet project at best :(
I would like my devices to issue a warning to node-red when there is a state change, for example when a light turns on an event is fired. Is this possible and how to do it?
@@notenoughtech What exactly is the node? I've tried it with "On Device Change" and no event is triggered when I turn on a light or motion sensor picks up something.
@@notenoughtech Hi Matt, thanks for getting back. Using a couple of 3rd Gen Echos. Frustrating as fine for a day or so, but just stops talking until reinnitalise. Using your flow and tried various time gaps, but no joy.
Thanks for giving me hope that I can trigger a routine in Alexa from HASS. Unfortunately, I can't seem to get past the first 'Initialize' step. The Initialize node states "success", but I don't get the cookie to display on the Context Data. I am assuming that I don't have the correct arguments in the Inject Node and Change Node. I have three nodes, Inject Node, Initialize Node and Change Node. The Inject Node I have [msg.payload = flow.alexa]. What are the arguments in the change node? I assume it must be [Set] -- [flow.alexa]. When I refresh the flow, all I get is "" displayed. I am missing something. Thanks in advance for your help.
I wish I would have waited one more hour to write my previous note as I solved it on my own. It was my mistake on the Change Node. The arguments should be [Set] --- [Flow.alexa] to [msg.payload]. Getting the Alexa LInk working solved a huge problem I was having. I want to control an awning and outdoor shade with HASS. I could control each using the broadlink RM4 Pro, but i couldn't control the RF commands from HASS. Alexa recognizes the devices on the Broadlink automatically. With Alexa-Remote2 Node Red component, I created a binary switch in HASS. The switch triggers a State Node which triggers an Alexa Routine. Problem Solved!!! It works great and I don't have to integrate the broadlink into HASS (which is limited in its RF capabilities). Thanks for the video and keep them coming.
You should get output each time something happens (voice query song request etc) do you have anything on msg.payload? Are you able to control other devices
@@notenoughtech "on device activity" node in on "listening"...but when i say "Alexa....." not start listen me (in debug message no payload, nothing is written into debug message
That's how tutorials should be: short, precise, well prepared and without annoying background music. Great! The device activity event seems to offer a lot of possibities, because you can extract the spoken command as a string and parse it. My idea is to ask alexa for the state of various devices and prepare the answer depending on the device. Example: The command "Alexa, what is the status of the inverter?" would be parsed, would trigger an API call and finally let Alexa say "your current power consumption is ...". Do you have recommandations for me how to realize such a scenario, especially how to avoid an unknown command answer from Alexa? Thanks a lot and take care :-)
Hi! Thanks. This will interest you notenoughtech.com/featured/alexa-routines-setting-volume-on-all-echos-at-once/ In an essence creating routine prevents Alexa from talking Back while query is sent over (part with custom commands)
I am experiencing some issues with this nodes. I have configured everything and all seems OK. I can make alexa speak through my sepakers, play music... all from node-red. But when I try lo listen to events like volume changes or me speaking to Alexa I receive nothing. I hace checked and the configuration of the Alexa Account has the "events" option turned on. Some idea of what can be the problem?
@@notenoughtech Shouldn't this issue be affecting all the users? I'm using the applestrudel version, but with cakebaked the same happened. Is there any other thing I can do besides reporting the issue in github and wait? Thanks in advance :)
@@notenoughtech One last thing. From your perspective, can it be a problem not having SSL active in my HA installation? My hypothesis is that Alexa won't start any communication via an unsecure connection
I believe AWS has introduced some changes to the API and node isn't updated yet. On my end I no longer can listen to alexa actions as well. Unfortuantely we will have to wait for the patch
Might be helpful to explain somewhere, anywhere -- video title, video, info -- this entire video is about using a tool called NodeRed and you can find out all about how to use NodeRed to program with Alexa at . . . .
Hi thanks for sharing. I have tried this with my Echo devices and cannot get the speak at volume to work. Does it work for you or any one else? I have used the node-red-contrib-alexa-cakebaked fork. I can get the TTS but the speak at different volumes is not working.
@@notenoughtech Thanks! I'm testing on Echo Plus and Dot V3. Both fail to set volume if I use speak at volume. Good idea to try volume command separately. Yes, that works and can set the volume but I was hoping for the speak at volume to work as I am trying to use this for a doorbell notification and I want to raise the vol, speak the message then have the echo device go back the initial vol level. If I use the volume setting, I will have to be reading current vol settings, storing it and then reversing it. That all gets a bit 'chatty' when I'm speaking my doorbell message on 4 echo devices :)
Can you please share how are you discovering your devices into Alexa? I'm using the Alexa-local method, but only get my devices to be lights and want to have the other types available - TIA
@@notenoughtech Not following what you mean, I'm using HomeAssistant with Node Red as a plug-in, my devices are mainly sonoff, with Tasmota installed, I have a fan plugged into one of the sonoff plugs, to get the devices into the Alexa app I have been using the Alexia-local node, that sets all devices as lights as it emulates Philips Hue. When I do an Alexa detect devices they show up in the app as a light, and I cannot edit it they way that Amazon describe on their website... Thanks for your responses by the way!!!
@@jayargent4156 take a look at Alexa and nodered integration. I have article and video covering just that. You can create virtual Alexa devices and map them to your sonoffs etc
hi, i'm a new kid on the block and have a question regarding initializing. every time i deploy a step i need to re-initialize node red every time again. this is quite annoying when i watch this video that the guy is doing changes without this step. any idea how to get rid this annoyance?
Hi! Nice video :). I’ve one question, what about the login? Do the cookie expire and how often you need to relogin? I’m using a custom component in Home Assistant for similar things and I need to do it from time to time... Cheers!
I cannot reach the webpage of the alexa device is there a easy way to fix this issue? i have a amazon echo dot and i know the IP adress but when i go to that ip adress and use the 3456 port it wont let me in
Your Video Is really great and helped alot, I have a question, the initialize code for alexa authentication is enough even you restart the Node-red Server or the raspberry pi? Or we should open web browser every time we restart?
@@notenoughtech I added your sample to the flow, after triggering flow.alexa manually and "opened browser to login" after any deploy it gonna init from proxy, but if I restarted the server I have to trigger the flow.alexa then open the web browser .. what did I miss?
@@notenoughtech Man Im so sorry. I can see the cookie in context data for the flow under Alexa, But can not find checkbox. Is it included in your video?
Thanks for a great tutorial. Looks like some major improvements since I last used it. An update to the latest version soon had me authenticated again. I will be using your method with the initialise node if I have problems with using a cookie text file. Node red 1.1 is nice isn't it? I didn't realise you could view context data in the side bar!!!! That is awesome!!! Another node I use is node-red-contrib-alexa-home-skill. This lets you set up a device, such as a temperature sensor in my case, to be recognised by Alexa. So I can ask Alexa what is the temperate outside. Is somewhat harder to set up than Remote2 though. Time to dust off Alexa and have a play.
@@notenoughtech Yes indeed. It was just after I watched your video that I realised that I could use home skill as the virtual Alexa device and then speak back via remote2. Makes it all very easy to get it to speak context variables. Keep up the good work.
I receive the following whenever I hit the Deploy button. "Authentication failed: "Authentication unsuccessful"" It seems to be disconnect me, but I don't know why?
@@notenoughtech Yeah, whenever I redeploy it happens. I have two IPs associated with my Home Assistant (running on a raspberry pi 4), one is over 5G, the other a direct connection from the pi to my router. When using the 5G IP I get the "Authentication failed" error, when using the other IP I have to reauthenticate again using the login page.
Custom things are easier with Alexa. Yes some search queries are better with GA but on daily basis I don't come across anything that Alexa doesn't answer so frankly speaking... Doesn't bother me which ecosystem is better "on paper" :)
@@notenoughtech I will have to agree with the "on paper" statement! What I think is very strange is that they share a great integration with IFTTT, but then they don't allow any one else to have access to that kind of integrations!
I'm having a problem. I managed to login first time with proxy after more issues. Now (3 days after) I have to re-login, but when I try the node sent me "Authentication failed: "Authentication unsuccessful"". How can I solve this problem? Thanks
@@notenoughtech Yes, I tried more times, but it fails with the proxy, and does not login with others. The message always remains to go to the broswser at the link "192.168.1.10:3456". I have a PC like server on my home, and it has IP 192.168.1.10
@@notenoughtech yes, I put in my credentials, and I get the successful sentence, but when I return to node red page I see again "open a browser at x.x.x.x:xxx"
Very nice videos, specially the intro music. Lol. Can you describe with more details how do I use the init node? Because every thing works fine for me, but can't configure the auto login. Thanks
Thanks great video, just subscribed to your channel! Question, so creating a dashboard to control all your Alexa devices is pretty simple.....what I am struggling with is how you go about maintaining the current status of the device. For example, say a light is turned on via the dashboard, then someone does a Alexa voice command to shut off....how do I have the switch on the UI update this status? I struggle with wrapping my head around this....I get you can have an event stream coming in, where I am confused is how you monitor that stream for particular device ID's and then inject that data into the flow. Also would love to pick your brain on pulling video into the dashboard. Via a simple HTTP GET request I can pull like video streams from my VMS anywhere and in various formats/codecs.....MJPEG, H.264, H.265 etc.....have been able to pull rtsp streams in using but only works half the time. Ohhhh and if you could make some videos on the dashboard that would be awesome lol. Thanks again, your videos are great and very helpful!
notenoughtech.com/home-automation/why-nodered-server/ This should answer a lot of questions ;) to save the values of the devices use flow context to store the state. My recent heating system video shows you how to embed the content (as a frame) so you could try this with RTSP. as per monitoring changes from Alexa use event listening option from Alexa remote
@@Alcatraz2k but if you new to nodered I have bunch of tutorials that could make thing easier ;) What didn't happen ? I don't know what you are talking about 🙈🙈🙈
This is game changer !! Man I have very important question for me! Can control system like crestron trigger alexa to do something which is connected already to alexa ! (I hope my question is clear enough)
I find that this is un-initialized rather frequently. This means none of the automations work when until I go in and initialize it- drastically reducing the WAF (Wife Acceptance Factor for those who don't know). Is there a way to store the cookie via a file for long term storage and/or a way to automate the initialization? Otherwise, this is one of the best Alexa node red videos out there, thanks.
@@notenoughtech Ok I had to again put my credentials in to initialize so maybe I have to ask the question: does this need to be manually reinitialized every few days? Am I missing something? does it need to be reinitialized after a few days? does it need to be reinitialized after a updating HA? it was working for a few days then not.
That kind of really defeats the purpose of automation if I have to go into node red and re-sign back in to get the dependent automations to work, doesn't it? And it definitely means the the WAF just went to unacceptable.
I have 12 Alexa devices .... I wish I could stick around but it is two many devices to mute :( Hopefully in new videos you can just say "echo" likely increase your sub count
If all 12 devices hear you at once, you have a bigger problem. Also you can use Alexa Remote to trigger mute on all devices :) Ie Alexa, I'm watching video about alexa (and it mutes all for 20 min)
@@notenoughtech Whole home audio in a house full of echos and my windows machine (and my phone) also has it installed (so it is even tiggered when my headphones are on). I do admire your confidence in making 20,000 subscribers do more work because it would take you 15 seconds to change your wake word to "computer". We need more people that won't cater to the masses. You are the one putting in the work to make these videos' and if I don't like it I can eat dirt. :)
@@bubbasreviews5295 I just really like to see people suffer. That's why I make all the suffer oriented projects and use the wake word in videos that demonstrate the use cases of specific voice assistant. {Cue evil overlord laughter}
HI , for the last few days alexa not working with the node red cant do initilise anymore show page error , why ?
Thanks for your help!
Thanks man. Coffee jar tippe! Just what I need at 6am on Sunday.... Coffee time
Is there a way for alexa to say "your package is outside or your package has been delivered" when the yellow light notification turns on??
What program(s) should I use?
Try device notification node and see what's posted when you get the parcel delivered then you can trigger a flow reminding you about it
I was such a fan of this node for the longest time but then I started having issues with it remembering authentication if even able to authenticate at all. Ended up switching to Home Assistant's Alexa Media Player integration and this has been way more stable. But like anything, your milage may vary. This video makes me want to give it another try as it was easier to tie into Alexa routines with Alexa2. It's still possible with Alexa Media Player, just way more convoluted.
If you apply innit correctly you should be ok. I had more issues trying to deauthorise it 🤣😂
I had it installed long time ago as well but at first things were clunky. Got better in last few months
@@notenoughtech so after watching your latest video about using this node instead of IFTTT, I decided to give Remote2 another try. It's been a while since I've used it and for the life of me I cannot figure out which node I'd use to listen for a Routine being called... I see the node to execute a routine but i'm wanting to react to a routine called by a device and do stuff in Node-RED... any quick tip on that?
The node is called Alexa event node - set to device mode in options. There are screenshots in the article for more clarity
@@notenoughtech ah, my issue was i was "Running Routine" from the Alexa app (trying to be quiet in the house as i coded this) and nothing was kicking off in Node-RED. I guess that makes sense since there is technically no echo device involved with that.
Id have to check .. I think running a routine from mobile phone should be picked up too. It may have slightly different JSON format so it's worth checking the debug
I've installed node-red-contrib-alexa-remote2 (ver 3.10.4). I did as you suggested in your video clip (3:05) and after trigger, I can get message from debug as
There are some compatibility issues after recent amazon was changes. Please take look at GitHub page as someone forked the update that fixes the issues
Why is the Amazon credential sign up page not secure? Are the credentials stored...?
Of I understand it correctly the host machine is used to get cookies. You will need to certify your RPI to get SSL connection routed as the server is obtaining credentials on your behalf. (At least that how it looks like to me)
Thank you so much for your video had to overcome some of my own lack of knowledge of node red.
but once I got up to speed this is fantastic.
I have some tutorials on nodered for beginners - perhaps they will help you notenoughtech.com/home-automation/why-nodered-server/
and a good live session:
ruclips.net/video/0rZj6qPWdmE/видео.html
Great vidéo, thanks for your help. But why I need to reconnect to my alexa account every time after deployed nodes ?
Its not automatically ,?
Thanks
Select deploy only modified nodes in node red. Deploy button has a drop down
How can node-red listen for changes in device statuses? It is possible?
Hey, I have tried using alexa routine node ,got to know what changes need to be done in routine but what should I change in the inject node because after deploying it's showing null and alexa is not speaking anything ,I have tried to check the device I have added the right device. so what may be the isssue could you please help .
Are you referring to the init section?
No! The routine section.
@@notenoughtech
tried this. getting error ("failed to load smarthome devices: "{"success":true}"") and does not track any on-device activity. Could you help out?
Which version did you download? Bear in mind this node is replaced by forks see the article linked with updates
I got the cakebaked version. Followed your instructions... However all I can see to get out of it is the 'Alexa Event' node, "Device Activity", and the 'Alexa Other' node "Get Skills". Those show some data on the debug node.
However, anything I try to push into the Alexa, such as "Play a sound" or 'Smarthome' node "Action", it says there are no devices with executable actions! What is going wrong??
Please help
Have you selected the device correctly in the corresponding node? You can specify the device from the dropdown or manually.
@@notenoughtech it will not get devices or show them in a drop down. It won't even play a sound or txt from the node that does that so something isn't working.
Strange. Anything similar reported on GitHub? Problem with these things that if API changes node has to be updated and this is usually someone's pet project at best :(
I would like my devices to issue a warning to node-red when there is a state change, for example when a light turns on an event is fired. Is this possible and how to do it?
Take a look at the event listener, each time a device changes state, event should fire
@@notenoughtech
What exactly is the node? I've tried it with "On Device Change" and no event is triggered when I turn on a light or motion sensor picks up something.
Cannot get Cakebaked for more than 2 days for Speech. Be great if you could have another look please!
Are you not able to play speech? Could you tell me what device are you trying to send the request to? I have this issue with my Alexa show
@@notenoughtech Hi Matt, thanks for getting back. Using a couple of 3rd Gen Echos. Frustrating as fine for a day or so, but just stops talking until reinnitalise. Using your flow and tried various time gaps, but no joy.
@@talkeasy you should innit every 2-3 days do you have a schedule set correctly?
@@notenoughtech Copied your flow directly in from your website. It's just the speech that seems to fail.
@@talkeasy hen the speech fails everything else works ok?
Your every video is awesome & really helpful..keep it up😊
Thank you please make sure you use the fork of this node (cakebaked) as the current one isn't maintenaned any more
Thanks for giving me hope that I can trigger a routine in Alexa from HASS. Unfortunately, I can't seem to get past the first 'Initialize' step. The Initialize node states "success", but I don't get the cookie to display on the Context Data. I am assuming that I don't have the correct arguments in the Inject Node and Change Node. I have three nodes, Inject Node, Initialize Node and Change Node. The Inject Node I have [msg.payload = flow.alexa]. What are the arguments in the change node? I assume it must be [Set] -- [flow.alexa]. When I refresh the flow, all I get is "" displayed. I am missing something. Thanks in advance for your help.
I wish I would have waited one more hour to write my previous note as I solved it on my own. It was my mistake on the Change Node. The arguments should be [Set] --- [Flow.alexa] to [msg.payload]. Getting the Alexa LInk working solved a huge problem I was having. I want to control an awning and outdoor shade with HASS. I could control each using the broadlink RM4 Pro, but i couldn't control the RF commands from HASS. Alexa recognizes the devices on the Broadlink automatically. With Alexa-Remote2 Node Red component, I created a binary switch in HASS. The switch triggers a State Node which triggers an Alexa Routine. Problem Solved!!! It works great and I don't have to integrate the broadlink into HASS (which is limited in its RF capabilities). Thanks for the video and keep them coming.
You won't believe how many times I tripped over something small like this. ;).
What's important is that it's working well and you are happy
thank you for help, but "on device activity" not work for me....initialise is ok, but alexa not hear me
You should get output each time something happens (voice query song request etc) do you have anything on msg.payload? Are you able to control other devices
@@notenoughtech "on device activity" node in on "listening"...but when i say "Alexa....." not start listen me (in debug message no payload, nothing is written into debug message
@@notenoughtech "alexa speak" node, device list and other ,all works fine
@@massy80 I'll check if I have any issues after work. Also check if there is an update or something pending
@@notenoughtech i think have the last , 3.10.4
Thank you for the interesting video. Could you please clarify several things? Is it necessary to make any changes, like port forwarding, on router
Does it work in countries where there is no amazon ?
No poet forwarding needed but the service will only work where alexa is supported
That's how tutorials should be: short, precise, well prepared and without annoying background music. Great!
The device activity event seems to offer a lot of possibities, because you can extract the spoken command as a string and parse it. My idea is to ask alexa for the state of various devices and prepare the answer depending on the device.
Example: The command "Alexa, what is the status of the inverter?" would be parsed, would trigger an API call and finally let Alexa say "your current power consumption is ...".
Do you have recommandations for me how to realize such a scenario, especially how to avoid an unknown command answer from Alexa?
Thanks a lot and take care :-)
Hi!
Thanks. This will interest you
notenoughtech.com/featured/alexa-routines-setting-volume-on-all-echos-at-once/
In an essence creating routine prevents Alexa from talking Back while query is sent over (part with custom commands)
I am experiencing some issues with this nodes. I have configured everything and all seems OK. I can make alexa speak through my sepakers, play music... all from node-red. But when I try lo listen to events like volume changes or me speaking to Alexa I receive nothing.
I hace checked and the configuration of the Alexa Account has the "events" option turned on.
Some idea of what can be the problem?
Most likely change in API. Which isn't promising. I had this with my Amazon show but the speakers were posting the event history for me
@@notenoughtech Shouldn't this issue be affecting all the users? I'm using the applestrudel version, but with cakebaked the same happened.
Is there any other thing I can do besides reporting the issue in github and wait?
Thanks in advance :)
I think last time I was on cakebaked version. Try posting on the GitHub project perhaps someone has similar issues
@@notenoughtech One last thing. From your perspective, can it be a problem not having SSL active in my HA installation? My hypothesis is that Alexa won't start any communication via an unsecure connection
Worth investigating. I remember doing SSL on nodered so I can try some Alexa APIs myself in the past.
All I want to do is turn on a light, but all that the SmartHome node returns is: "Response: Input failed to validate." What did I miss?
I believe AWS has introduced some changes to the API and node isn't updated yet. On my end I no longer can listen to alexa actions as well. Unfortuantely we will have to wait for the patch
@@notenoughtech Can you let us know when it's working again?
@@StephenMannUSA it's a good idea to watch the GitHub issue log for this. Someone may have a solution before an official update to the node as well
@@notenoughtech A changed API from AWS wouldn't explain why some of my lights can be controlled from this node.
If the lights that do work are from the same manufacturer this means they could handle the backend differently.
Might be helpful to explain somewhere, anywhere -- video title, video, info -- this entire video is about using a tool called NodeRed and you can find out all about how to use NodeRed to program with Alexa at . . . .
I assumed the icons were explanatory. Plus it's pretty much a first sentence in the associated article 😊
Hi thanks for sharing. I have tried this with my Echo devices and cannot get the speak at volume to work. Does it work for you or any one else? I have used the node-red-contrib-alexa-cakebaked fork. I can get the TTS but the speak at different volumes is not working.
What device were you trying on? How about changing the volume first then speak?
@@notenoughtech Thanks! I'm testing on Echo Plus and Dot V3. Both fail to set volume if I use speak at volume. Good idea to try volume command separately. Yes, that works and can set the volume but I was hoping for the speak at volume to work as I am trying to use this for a doorbell notification and I want to raise the vol, speak the message then have the echo device go back the initial vol level. If I use the volume setting, I will have to be reading current vol settings, storing it and then reversing it. That all gets a bit 'chatty' when I'm speaking my doorbell message on 4 echo devices :)
The original node is abandoned and with recent changes we are left a bit in the air
@@notenoughtech sure, I understand. I have posted a question on the GitHub page, if I get a response I’ll post back here.
Can you please share how are you discovering your devices into Alexa? I'm using the Alexa-local method, but only get my devices to be lights and want to have the other types available - TIA
All devices registered with Alexa should be available in the list. These must be present in Alexa app
@@notenoughtech Hi - yes but how are you getting them into the alexa app?
@@jayargent4156 the usual way. Add relevant skill for your ecosystem and devices will be discovered by Alexa
@@notenoughtech Not following what you mean, I'm using HomeAssistant with Node Red as a plug-in, my devices are mainly sonoff, with Tasmota installed, I have a fan plugged into one of the sonoff plugs, to get the devices into the Alexa app I have been using the Alexia-local node, that sets all devices as lights as it emulates Philips Hue. When I do an Alexa detect devices they show up in the app as a light, and I cannot edit it they way that Amazon describe on their website...
Thanks for your responses by the way!!!
@@jayargent4156 take a look at Alexa and nodered integration. I have article and video covering just that. You can create virtual Alexa devices and map them to your sonoffs etc
hi, i'm a new kid on the block and have a question regarding initializing. every time i deploy a step i need to re-initialize node red every time again. this is quite annoying when i watch this video that the guy is doing changes without this step. any idea how to get rid this annoyance?
Take a closer look at the innit node. It will do this for you. Example is also available to download via website linked in the description
Hi! Nice video :). I’ve one question, what about the login? Do the cookie expire and how often you need to relogin? I’m using a custom component in Home Assistant for similar things and I need to do it from time to time...
Cheers!
I used the innit flow to refresh cookies every 2 days and I had no issues with logging out
Does this work offline ?
No I'm sorry. This uses Alexa API to communicate with Alexa in your home
I cannot reach the webpage of the alexa device is there a easy way to fix this issue? i have a amazon echo dot and i know the IP adress but when i go to that ip adress and use the 3456 port it wont let me in
Firewall settings or perhaps correct locale picked in the config node? Which country are you in?
@@notenoughtech i am from the Netherlands i dont think its the firewall cannot reach the IP from any device or do you mean firewall on the echo?
Your Video Is really great and helped alot, I have a question, the initialize code for alexa authentication is enough even you restart the Node-red Server or the raspberry pi?
Or we should open web browser every time we restart?
You should select the inject on deploy tickbox in the insert node and it will do that for you after nodered starts
Will give it a try right now, thanks alot
@@notenoughtech I added your sample to the flow, after triggering flow.alexa manually and "opened browser to login" after any deploy it gonna init from proxy, but if I restarted the server I have to trigger the flow.alexa then open the web browser .. what did I miss?
Check if the cookie is submitted on start. Open insert node in cookie submission and select the checkbox to insert it on deploy
@@notenoughtech
Man Im so sorry.
I can see the cookie in context data for the flow under Alexa, But can not find checkbox. Is it included in your video?
Thanks for a great tutorial. Looks like some major improvements since I last used it. An update to the latest version soon had me authenticated again. I will be using your method with the initialise node if I have problems with using a cookie text file. Node red 1.1 is nice isn't it? I didn't realise you could view context data in the side bar!!!! That is awesome!!! Another node I use is node-red-contrib-alexa-home-skill. This lets you set up a device, such as a temperature sensor in my case, to be recognised by Alexa. So I can ask Alexa what is the temperate outside. Is somewhat harder to set up than Remote2 though. Time to dust off Alexa and have a play.
Result of playtime ruclips.net/video/ZcgGLup8iZo/видео.html
I use the Alexa home skill as well. Very good one. Only wish that Dev had more time to implement more device types (blinds etc)
@@notenoughtech Yes indeed. It was just after I watched your video that I realised that I could use home skill as the virtual Alexa device and then speak back via remote2. Makes it all very easy to get it to speak context variables. Keep up the good work.
Enjoy the automation ;)
I receive the following whenever I hit the Deploy button. "Authentication failed: "Authentication unsuccessful""
It seems to be disconnect me, but I don't know why?
I assume Alexa services are available in your locality?
@@notenoughtech Yeah, they are.
Is this happens when you redeploy all nodes? If so take a look at my innit flow to authenticate with cookies .
@@notenoughtech Yeah, whenever I redeploy it happens.
I have two IPs associated with my Home Assistant (running on a raspberry pi 4), one is over 5G, the other a direct connection from the pi to my router. When using the 5G IP I get the "Authentication failed" error, when using the other IP I have to reauthenticate again using the login page.
Authentication would be bound to cookie files
Changing networks could be a reason for cookie expiration
Google Assistant is a lot better in a lot of things (IMO) but in this kind of integrations it needs to speed up a lot to get Alexa
Custom things are easier with Alexa. Yes some search queries are better with GA but on daily basis I don't come across anything that Alexa doesn't answer so frankly speaking... Doesn't bother me which ecosystem is better "on paper"
:)
@@notenoughtech I will have to agree with the "on paper" statement! What I think is very strange is that they share a great integration with IFTTT, but then they don't allow any one else to have access to that kind of integrations!
Beats me ;) I guess the have some reasons for it
I'm having a problem. I managed to login first time with proxy after more issues. Now (3 days after) I have to re-login, but when I try the node sent me "Authentication failed: "Authentication unsuccessful"". How can I solve this problem? Thanks
Were you trying to use cookies to re authenticate or credentials?
@@notenoughtech Yes, I tried more times, but it fails with the proxy, and does not login with others. The message always remains to go to the broswser at the link "192.168.1.10:3456". I have a PC like server on my home, and it has IP 192.168.1.10
Do you get to see the amazon login page at all?
@@notenoughtech yes, I put in my credentials, and I get the successful sentence, but when I return to node red page I see again "open a browser at x.x.x.x:xxx"
@@kappo314 ok so the credentials are not saved. Have you tried to reinstall the plugin?
great video thanks very much. I've just start on this route and this is a great reference and tutorial
I have a couple of more uses for this node so check out my page
Very nice videos, specially the intro music. Lol. Can you describe with more details how do I use the init node? Because every thing works fine for me, but can't configure the auto login. Thanks
Did you use the sample included in the article? I liked a flow to import so you don't have to recreate one yourself
@@notenoughtech Perfect, just import your sample and ajust the address. Working fine. Thanks.
Every time I hit Deploy, it says I have to reinitialize my account. After doing it 10 times, now it won't even let me open the account page.
Are you using correct innit flow? You need to submit cookies obtained after init.
@@notenoughtech I'm using the Alexa Init then use the IP address to log into my Amazon account. Should I be doing something after that?
@@GCSol yes save cookies to flow variable.and resubmit it automatically on redeploy
@@notenoughtech How do I do this?
@@GCSol included in the sample flow in the article
Thanks great video, just subscribed to your channel! Question, so creating a dashboard to control all your Alexa devices is pretty simple.....what I am struggling with is how you go about maintaining the current status of the device. For example, say a light is turned on via the dashboard, then someone does a Alexa voice command to shut off....how do I have the switch on the UI update this status? I struggle with wrapping my head around this....I get you can have an event stream coming in, where I am confused is how you monitor that stream for particular device ID's and then inject that data into the flow. Also would love to pick your brain on pulling video into the dashboard. Via a simple HTTP GET request I can pull like video streams from my VMS anywhere and in various formats/codecs.....MJPEG, H.264, H.265 etc.....have been able to pull rtsp streams in using but only works half the time. Ohhhh and if you could make some videos on the dashboard that would be awesome lol. Thanks again, your videos are great and very helpful!
notenoughtech.com/home-automation/why-nodered-server/
This should answer a lot of questions ;) to save the values of the devices use flow context to store the state.
My recent heating system video shows you how to embed the content (as a frame) so you could try this with RTSP.
as per monitoring changes from Alexa use event listening option from Alexa remote
How do you install it?
It's like 1st part of the video 🤦🏻
2:36
@@notenoughtech let's pretend that didn't happen
@@Alcatraz2k but if you new to nodered I have bunch of tutorials that could make thing easier ;)
What didn't happen ? I don't know what you are talking about 🙈🙈🙈
@@notenoughtech hehe thanks. Keep up the good work
Good luck
there is something similar for google home ? nora is so limited.
Not as robust but there is cast2 to make Google home talk
@@notenoughtech thanks ill try
Ha! I'm wearing headphones no muting necessary :)
No way. You bypassed my evil plan of world domination. Damn you?!
This is game changer !!
Man I have very important question for me! Can control system like crestron trigger alexa to do something which is connected already to alexa !
(I hope my question is clear enough)
I'm not familiar with creston but you can trigger any device linked to Alexa this way.
@@notenoughtech I hope so, I will manage to give it a try and let you know :)
This is great, and it works :) Does it use Amazon servers or does it talk direct to the device when you use "speak" ??
It uses AWS as it needs this to process the voice data
I ran node on a raspberry pi, connected a kindle to it. and send tap commands on a dumb Bluetooth app
I find that this is un-initialized rather frequently. This means none of the automations work when until I go in and initialize it- drastically reducing the WAF (Wife Acceptance Factor for those who don't know). Is there a way to store the cookie via a file for long term storage and/or a way to automate the initialization?
Otherwise, this is one of the best Alexa node red videos out there, thanks.
I'm not sure which thing I tried worked, because none of them were, but seems to be working now.
Story of my life :)
@@notenoughtech Ok I had to again put my credentials in to initialize so maybe I have to ask the question: does this need to be manually reinitialized every few days? Am I missing something? does it need to be reinitialized after a few days? does it need to be reinitialized after a updating HA? it was working for a few days then not.
Yes the flow should do initialisation every 2 days. It should be enabled by default in my sample
That kind of really defeats the purpose of automation if I have to go into node red and re-sign back in to get the dependent automations to work, doesn't it? And it definitely means the the WAF just went to unacceptable.
I'm going to try using this with my Pi to control relays. It'll allow me to integrate my son's lamps that are otherwise not usable with Alexa
You can look at Alexa and nodered integration. For smart devices just create a virtual device I have a video about this too
I have 12 Alexa devices .... I wish I could stick around but it is two many devices to mute :( Hopefully in new videos you can just say "echo" likely increase your sub count
If all 12 devices hear you at once, you have a bigger problem. Also you can use Alexa Remote to trigger mute on all devices :) Ie Alexa, I'm watching video about alexa (and it mutes all for 20 min)
@@notenoughtech Whole home audio in a house full of echos and my windows machine (and my phone) also has it installed (so it is even tiggered when my headphones are on). I do admire your confidence in making 20,000 subscribers do more work because it would take you 15 seconds to change your wake word to "computer". We need more people that won't cater to the masses. You are the one putting in the work to make these videos' and if I don't like it I can eat dirt. :)
@@bubbasreviews5295 I just really like to see people suffer. That's why I make all the suffer oriented projects and use the wake word in videos that demonstrate the use cases of specific voice assistant. {Cue evil overlord laughter}
@@notenoughtech hahahah I love it