Это видео недоступно.
Сожалеем об этом.
Mastering Node-RED: Custom Alexa Commands + Node-RED Dashboard
HTML-код
- Опубликовано: 29 май 2018
- Node-RED Palettes:
Amazon has broken compatability for the original node-red-contrib-alexa-local palette, the new (working) version of alexa local is called node-red-contrib-amazon-echo
node-red-dashboard
Node-RED Flows:
github.com/the...
github.com/the...
Get started with Hassio:
amzn.to/2KOpeNN
amzn.to/2kiLKTN
*As an Amazon Associate I earn a % of qualifying purchases at no cost to you.*
Support my channel:
Patreon: / thehookup
Tesla Refferal Code: www.tesla.com/...
Twitter: @TheHookUp1
Music By: www.BenSound.com
That palette stopped working recently - Here's the new one and how I use it.
Home Assistant: Controlling Devices with Alexa: ruclips.net/video/l1as3tYVy64/видео.html
change_direction is (can be -1, 0 or 1) for increase/decrease commands. if you say "increase brightness by ten percent" change_direction will be 1
oh, nice.... that actually explains some problems I was having with that.
Great video, keep them coming. Not only are you now teaching at your local school but a 50 year-old geek in the UK.
Ha! I'm actually primarily a biology teacher... though I do also teach introduction to engineering. Coding and tinkering has just been a lifelong hobby for me.
@@TheHookUp You are excellent person, being of medical background, you manage to do this stuff. Hats off!!
Your concepts are much more clear than actual engineers.
I also belong to non-technical background, but love to code and automation stuff.
Thanks for taking the time to make these videos, recently retired and am planning to play with woodworking and home automation these videos are great primers for when I get my “lair” built in the basement for the electronics side of my hobby hours. Hope to incorporate Watson for speech recognition so I will not need a cloud connection at all to make the house listen to us. I have every intention of keeping a reasonable WAF so I am allowed to carry on. Cheers!
Would love to see something like this for Google Assistant
I wish even in India we had such advance high school teachers!!! But here they are still stuck with those old school 8051 Microcontrollers !!
With that being said! ,
Thanks a lot for sharing your videos , it helps me to tweak my existing home automation setup many times!
Your Video gives me exactly the information I need and couldn’t find elsewhere on the internet. Thank you so much.
Glad it was helpful!
1.874 subscribers when it was recorded. Now 35.000 views and 42.868 subscribers. Good job. Thanks for sharing your knowledge
It's been a wild ride so far!
The hookup really needs a walk through for 3rd generation echo dot solutions. Local does not do the job anymore.
Fantastic walk through! Node Red and Alexa together is so ideal for home automation.
Thank you so much. I've spent so much time, to get rid of the problem that the system memories the brightness. (that was you mentioned at 4:39) Best regards from Germany! :)
F11 toggles chrome browser full screen mode. Tablet in portrait orientation and full screen looks great! Thanks for this video, helped so much.
This is SUPER helpful - keep the nodered videos coming
Awesome video keep keep them coming I finally got that sonoff HOLD thing figured out preciate it
greet video to me ....i was looking for locally working alexa. and i think finally i got it thank you for this video.
in deed, sky is the limit. thank you for this meticulous work.
What a great, clear and well structured video. I like it! and subscribed immediately. Wow!
Hey Rob - old topic.. been looking at this and there is a new Pallete - node-red-contrib-virtual-smart-home that seems to work pretty well - and easily
Thanks for this - great tutorial even after all this time! Remember when you only had 1874 subscribers? 🤣🤣
Excellent example and explanation. Great job.
My network is pretty much setup exactly as you described in your 3-part series on Unifi. My HA server with the NodeRed add-on is on the main LAN, and the Echo Hub (3rd gen) is on IoT. I decided to try Alexa integration with
Loving this channel - really like the format. Thanks. Keep making great videos!
Love the videos on NR but I think my brain just exploded!
Ah this works so perfectly! Great video just got my Node Red all set up.
I have been watching your channel regularly. But I must say I'm about just a bit bothered. Though i have learned a plethora of knowledge watching both you and Dr. ZZs. I am trying to use Alexa-Local in node-red running on a Ubuntu server. Each time I deploy my node configurations they all show on-line for maybe 2 to 3 minutes. Afther that they all go to discovery. Is there an easy fix for this? Thank you in advance for your reply.
This node has been depreciated my current alternative is node-red-contrib-alexa-remote2.
Love youre videos. makes it so everyone can understand it. Tanks for the work you put in to making this so ez.
1874 subscribers... Happy to see much larger number today
Which node red skill do we need for node-red-contrib-amazon-echo? I can't get it to output a message form the device itself (debug node connected to device). The only way to get a debug message is when I connect the node to the "Amazon Echo Hub" node. Problem is now I get outputs for every virtual device form one node...
I also tried node-red-contrib-alexa-home-skill with the needed skill and while it overall works, alexa always says that the device is not responding even through it is working^^
Interesting. I like that it's more node red and less home assistant. Try simply kiosk browser on the tablet and it can get rid of the status bar and give lots of other great features
the downside to simply kiosk (and the reason I didn't use it i the video) is that it doesn't support text to speech.
Really? You must mean you can't do it natively, because there is a whole topic on how to do it on the Home Assistant forum. And if you can do that with HASSle, of course it's possible with Node Red. See here:
community.home-assista
nt.io/t/fully-kiosk-browser/41675/19
I never had a need or want for things to talk back to me-I have enough with Alexa. I share your concept of keeping things local-I started with a hacked wink hub, my whole setup is cloudless with the exception of alexa, and if it's offline, I dont really care much. But I've been looking into using Alexa for the voice feedback for everything. Right now, I use the BWS systems HA bridge to OpenHAB. I didn't know the Node Red had such a nice integration...I may use it for a bridge. Did you ever look into interrogating objects with Alexa? Like "Alexa, what is the thermostat set at"? This is the only interest I have in that. There exists code to run that on Arduino, so I thought of adapting it to C++ and compiling it. But I don't want to roll my own if it's been done in a flexable manner.
Great stuff. I love it. Not sure if you have already but a video on how to create a node would be really cool for some of us geek types. 😎
Like a custom node? That's actually above my paygrade :)
niiicee... I just automated my house with nodeRED - including HeatingPump(communication Modbus), firePlace and heating on each room. I have a fully smartHouse. I also don't like the cloud since it cuts you out on internet off.
But unlike you, I use context.global. variables for joining different flows. It is not as visual as working with noderedModules but the logic can get messy if you have a lot of devices that comunicate with each other
Nice job with the tutorial.
Thank you, Nice Job. Keep them coming.
Thank you, another great NR video.
Fantastic tutorial and excellent quality.
I'd like to ask you a question. Do you know when the Alexa_local node for Amazon Echo 2nd Generation will be available?
Again, thank you very much and do not stop making these videos. Congratulations
Please note when using flows.nodered.org/node/node-red-contrib-amazon-echo you may get the Error: listen EACCES: permission denied 0.0.0.0:80. You have then to stop node-red and start with sudo node-red-start or forward the traffic from port 80 to another port above 1024. See github.com/datech/node-red-contrib-amazon-echo/wiki/Troubleshooting. Please also note: save your old flows first befor starting node-red with sudo!
any idea how to do this running nodered on unraid server?
@@clintAdventures, Sorry for the delayed response. Unfortunately I can not answer your question. Please try with discourse.nodered.org/ or openjsf.org/ or stackoverflow.com/
I'd like to see a video using css with the node-red dashboard similar in function to the skins in the Home Assistant dashboard
Thanks for the videos. Complete noob here I would love to see how to trigger things at specific times. I am trying to make a vacation mode that will simulate our normal routine.
For Echo 3rd gen is just shows "discovery" underneath the node. It does not discover the node. Any ideas?
I have the same issue. I've been reading and reading trying to find a solution that works. I have a problem connecting node red to the cloud also. I've created the devices on the page you setup when you add your node red account and they show up in amazon devices but I cant get it to function in node red. I'm a total newb though so its probably something I'm doing.
@@TheSgriffith2 hi, i ended up using a different node but the issue seems to be port 80 needs to be opened up, read how to here: github.com/datech/node-red-contrib-amazon-echo/wiki/Troubleshooting
thank you for your very informative videos :)
Hey Rob. Thanks for the video. Are you using HASS and/or Node Red to schedule thermostat set points? Being in Florida I'd imagine you'd have the same type heat/cool HVAC. I'm having a heck of a time finding a method other than automations to do both heat and cool set points. Automations work but are a bit of a mess.
Thank You! Very well done.
how would you check the door sensor to close the garage door after a certain time "say 10pm"?
I installed the node-red plugin from the Hass io comunity repo , and it came with diffrent nodes by default called
node-red-contrib-alexa-home-skill
you can go to manage palettes and install the alexa-local node
i sat though both the videos twice now and most of is is over my head..the tutorials seem to be at 300/400 level...i need to find some 101 level tutorials. i dont have shades or home security to even try the sample code .I need to see how to do a simple lights entity on of on sunset/rise or pir to get started. Thanks Rob
Love your videos. But had problems with this one. My Home Assistant and Node-RED are working great. I've installed the Alexa palette (the updated one in your comments) but nothing seems to connect to Alexa. I suspect Amazon are playing a game of keep changing. Any hints?
I noticed you were using a browser window to demo keypad.....I know on iOS if you save shortcut to node-RED ui using add to home screen option. It will run node-RED as a web app making an even better user experience than using the browser.
Not sure if android will run it as a web app or not.
Good tip, thanks
nice one thats open my eye
great timely video as I am just building a MQTT alarm system using a Pi with AB electronics IOPi boards and was looking for a nice panel. Was thinking of using a pi with a touch screen using MQTT alarm panel but this is so much better.
I am having one small issue that it all works fine when i access it from my mac however there is no sound when using via my iPad any ideas?
Should sound work on any tablet as thinking of using a cheap fire tablet?
Thanks again for a great video and all your support.
It has less to do with the tablet and more with the browser. I actually normally use "fully kiosk browser" for my wall tablet, but it doesn't support TTS, so I was using the silk browser that comes on fire tablets for the video. Hopefully they will implement it into fully kiosk browser in the future.
Thanks will have a play and see if I can get it working
Hi
What method do you use for authentication to Alexa? Do you have info on how to setup this authentication.
Regards
HI Rob, this is a great series I continue to come back to review this as I learn more with node red. I am running into the same challenge you mentioned of losing the flow variable values when node red is restarted. In my case I couldn't use a default value as my variable is storing my LED lights brightness. There is not reset so I need to keep this value, so I am using a sensor in HA, and if the flow variable and the sensor value are not equal I reset the flow variable to the sensor value. This is where my current issue lies, when I do this I am getting NaN error, I have cast this to a number but still causes a problem. What is the best way in NR to make sure the sensor value is a number? Thanks!!! Great series!!
This sounds like an issue that could be solved with MQTT retain. If you send the MQTT brightness payload with a retain flag you can just use an MQTT in node and when node-red restarts it will get the MQTT payload of the last brightness published to set the global (or flow) variable.
Love your videos, very informative. For your shades example, is there a way to have Alexa listen for Open/Close instead of On/Off?
Not using emulated hue. You'll need a custom skill for that.
Do you need to have the Hue skill enabled on the Echo for the Echo to be able to discover the Node-Red node? Awesome series!
No. The hue skill is to sign into your hue account. This specifically uses local discovery.
@@TheHookUp Why would it be if we followed your video on how to secure my IOT and NOT networks? lol.
Can I use Alexa offline and node red ? I want a fully local voice assistant
How can I add "Arm", "Disarm", and "Arm Home" buttons to the panel, and trigger those states after a succesfull code entry?
Is it possible to use NodeRed to trigger an Alexa skill such as play some sleep sounds (in which case Alexa is being controlled by HA instead) ?
You will need another home assistant component called "Alexa Media Player", but it can be done.
hi I have just noted that it looks like the node red add on is being deprecated maybe a good idea to do a quick video how to transfer over to the other node red addon ?
keep up the good work
I'm using the Franck addon now, I transferred my flows from one to the other but it was far from a smooth process... took me a well over an hour and a lot of manual changes. I'm not sure the best way to do it "correctly".
how di I add mode like flashing and rolling to Alexa node red
Are you still using node red or have you found something else since this video?
Can you make an updated video and retire this one?? I mean it is 2020. ;)
I strongly agree but with 2021
2022 🤩
2023
The node described here has been replaced with node-red-contrib-amazon-echo
Yep, it's in the video description.
thx
Thanks to your videos I am now programming in node red and a small amount of JSON very small. I have made an alarm panel that has 3 wards or areas and can select part set full set night set for each. I want to show the status of each ward on the screen which I have stored in a global variable but the function node does not like global variables is there a trick I am missing.
I cant get the on_off command working. Is that still there?
Tell us more about the shade, Did you make it or buy it?
I made it, I'll be putting out a video on it this summer for sure. I'm just waiting on some parts to come in from aliexpress to be able to put one together for the video.
Thanks, I have been looking for something like that. Love your videos. Not surprised that you are a professional educator. Lucky kids.
Is Alexa the only home smart speaker this works with or can it work with google home?
My Alexa App on my phone doesn't have the Smart Home line. Do you need an Echo to get that line?
That keypad had some serious issues with registering the wrong key presses, I wouldn't want that to run my alarm :D
Hi, not work ! the node-red-contrib-alexa-local not working.
Hi
I know that this is an old video, but can I use an Amazon Fire HD10 Alexa to connect to Node-red without any other hardware?
hi can you make a video where you explain how to use the "get template" and "trigger.state" nodes? thanks
thank you... very good explanation....... just one question, is there a way to have the command open/close to alexa and node red, i would like to use "alexa, open garage door" instead "alexa, turn on the garage door" :)
Unfortunately no, this is a limitation of emulating hue and wemo devices. You're stuck with the on/off/dim verbage.
great videos, they are very helpfull!
Hi Rob, the commands are very different now, i get "TurnOnRequest" etc now, do you plan to an update example?
Have you tried to get Alexa tell you when the Alarm is Armed rather than use the text to speech node? Here is what I am trying to do. I have a doggie door that I put a 433mhz sensor on. When the dog goes out the door I want Alexa to say "the dog just went outside." I am using Sonoff RF Bridge "Tasmotized" and Node-Red.
I haven't tried it yet, it's high on my list though, maybe the 11/7 video.
Im first time user to HASS and NodeRed and these videos have been a huge help. I did have a question on the alexa integration. Im using the hass cloud to integrate alexa so i can turn on and off devices. My question is, within NodeRed is it possible to use the state_changed node as my entry to a flow but to also get in the payload msg what alexa devices triggered the state change?
Keen to see the response to this
What's the use case? Can you give me an example to help me understand what you're trying to do?
@@TheHookUp Thanks for messaging back. really appreciate it. I have several alexas throughout the house. Im trying to set it up so when certain devices states change the alexa that was used to trigger the state change would respond with a message after the state has changed. For example, if the person tells alexas to turn on the lights alexas would turn on the light and then say they will auto turn off in 2hrs, but i only want the alexa that the person was talking to to say this. Also, im trying to set this up as dynamic as i dont have to define it for each device in relation to each alexa
Excellent tutorial but I can't get Alexa to discover any of my devices. I'm running HassIO version 0.100.3 on a Ubuntu Server with DuckDNS/Lets Encrypt. Most of my echo devices are echo dot Gen2 along with an echo show. Any work around?
I think the alexa local skill is officially dead after the last update. Amazon now forces discovery on port 80. I'm now using this node-red pallet instead: node-red-contrib-amazon-echo
@@TheHookUp Are there any other dependencies that is needed. I installed the new pallet and remove the old one. However, I'm still not able to discover devices. Thanks in advance.
@@capledavis5799 no dependencies needed, but you do need to use the new nodes (make a hub node and then device nodes attached to that). Make sure the hub node is on port 80.
@@TheHookUp Hello again, I'm just not having any luck with this. I install a fresh copy of HassIO on a Raspberry Pi and install the following add-ons. SAMBA and Node-Red (with node-red-contrib-amazon-echo palette). Then created a test flow with the following: Amazon-Echo Hub (port 80)--->Amazon-echo-device-node (with unique name)--->Debug. After deploying, I tried to discover new devices and found nothing. The HassIO and echo devices are all on the same network subnet. What do you think i'm missing anything. Thank you and sorry to bug you.
So, as I understand Alexa-local is limited only to mentioned commands..? Would I have more functions in Alexa-pi installation?
I think they do different things, right? Alexa-pi is just an emulated alexa device, it doesn't add any commands or functionality over a echo dot (I think it actually has less functionality).
I had few problems with discovery with the node-red-contrib-alexa-local node so I try with another type of project (node-red-contrib-amazon-echo) and it works instantly. The payload is different : {"on":true,"bri":128,"hue":0,"sat":254,"ct":199,"colormode":"ct","payload":"on","deviceid":"3b9b345b9e3f24","topic":"","_msgid":"9d26c508.fdffd8"}
Hello! Great Video! absolutly clear, is there nowadays somethink for Google Assistant? I Saw note form Zach Scott, but maybe nowadays someone knows if there is a solution for Home Assistant+ NODE RED + Google Assistant, someone can put some update light? Thanks and rgs!
thanks for a great video does this work with a 3rd gen echo dot as cant get it to discover
You should be able to go to alexa.amazon.com and discover from there.
@@TheHookUp Alexa cannot discover my nodes using this method, no matter if I use the app, the web, or an echo. When I go to discover, the nodes go into discovery mode, and just stay there. Any ideas, or alternative methods?
Thanks for this tutuorials.
I want to understand the code flow inside nodered. not only with the UI things but also to make my own custom node with programming. In youtube not available related to programming code they just had explained of flow of UI. Pls do help
I think that is a bit beyond the scope of my channel. Here's the document for writing nodes: nodered.org/docs/creating-nodes/
I have a tasmota sonoff touch/pow switches
And I just want the switches turn on/off when I tell alexa to do so
+ I want the nodes of the on/off to be together and not just be a toogle
meaing if I told alexa to turn on the switch and it's already on it will keep it on not turn it off
Love your tutorials, thank you.
I am trying to replicate this tutorial in hopes I can create something on my own. I am stuck on getting past the discovery phase on the alexa node. This video is the most recent on the subject is there any update on this? Any advice/help greatly appreciated
Is your alexa on the same subnet as your node red computer?
Great video. Is there a good way to "reset" a switch to off within Alexa when another is switch is turned off without re triggering the flow? I control the color of my pool light by having a alexa-local node for each color. The sequence still works because Alexa will resend an on command even if the light is already on, but it would be nice if the Alexa App would show the correct status of the lights. Not crucial, but a nice to.
Hmm, I don't think there is a way to do that. You could show their state in HA, but not easily in the Alexa app.
The Hook Up Thanks. I didn’t think there would be, Guess it doesn’t really matter since I don’t use the app for much.
Excellent series, thank you, quick question, if you have been testing a new flow but it’s not complete but it has been deployed. How do you disable it so it’s not still running (incorrectly) until you can debug it? What’s the best process? Cheers
I always put my experimental sequences in a new tab (flow), each tab can be disabled by double clicking on it and flipping the enable switch.
The Hook Up Thank you, exactly what I needed! I just now need to work out how to turn off my pir controlled light after 5 minutes of no movement, at the moment it’s flickering on and off and then stays on, doh! Cheers
when you say "Go to smart home" is that an extra skill or app that you have loaded in? And is this still working and last question what version of the alexa dot do you have
I guess earlier version of Alexa app used to have 'Smart Home section. I cant get my Alexa discovered at all - just added new device of generic type.
tried your demo, but Alexa can't ever find "test shade" as a new device when discovering new devices.
Check out the description, there is a different pallet for Alexa now (based on changes made by amazon)
Hey have you thought about adding uk links so we in the uk can support your channel?
Think you can do an updated video to handle Alexa Dot 3 generation? Alexa local is not working
Best way is to keep a gen 2 dot in your house somewhere. The alexa local node would need to be updated to force communication over port 80 for it to work.
Hi, I have a question for you:
Can I edit node’s properties from functions? If is this possible, how can I do it?
Would you say Echo is a better fit to this kind of setup (Node-Red + HAAS) than Google Home? I'm looking to buy one of them, and really can't decide which..
I strongly prefer the Echo over google home. I purchased a google home mini to give it a fair chance and after spending a few hours setting it up I decided it wasn't for me.
Is there exists something similar for google devices?
How can I make Alexa play music from Spotify when my alarm goes off using Node-RED?
Great video, thanks! Is there a way to use voice commands more freely without having to add "turn on/off" or set to first?
You mean use more free form speech? You can use alexa routines (set them in the alexa app) to do anything you want when you say whatever phrase you want.
@@TheHookUp You are of course so right! Thanks! :-)
Very Nice and Informative video !
Question - Inviting others to Turn On and Off Accessories is okay, But is there a way to restrict particular 'Room' from others ?
ps - All i'm trying to achieve is preventing others from accidentally turning off something aka limiting access :)
Is there a good way to disable and enable node-red automations? Y know there is an "enable" button for every flow but it is impossible to toggle that from the smartphone
You could stop node red completely from the hassio addon page. Can you give me a use case for it?
any help on setting up the NEW pallet node-red-contrib-amazon-echo i can not connect on port 80....
Do you have another service running on port 80?
Not that I'm aware of. I am running home assistant, node red, etc on unraid if that does anything?
I was able to install Node-Red easily. The problem I am having is actually integrating Home Assistant with Alexa. How do you link Home Assistant with Alexa? I realized when "Smart Home" wasn't an option for finding devices that a step was missing.
That tab is now called "devices" in the alexa app.
Are you able to add devices without the HA cloud setup? I ended up enabling the cloud in order to add devices but would prefer to us an alternate method if possible.
great. I am not building this exact project but I used some of your principals to apply to mine. The only issue I have not yet dealt with is that I have a timestamp flowing every second and recording the state of some later sequence. I would like to have a pin security code, much like yours, required first to start this. Since the inject does not have an input any thoughts on how to accomplish this?
The pin starts the timestamp sending every second?
that is what i want. it will be a data logger.
node-red-contrib-alexa-local is not working anymore. Alexa type node cannot be discovered by Alexa.
Ok, off topic but what are you using to get your pools temp? @5:10
I control my pool with a NodeMCU (esp8266), it reports temp, pool mode, and switches the lights, heater, spa, and cleaner. It's on my list of videos to make this summer.