I first got dragged down the rabbit hole that is home automation and Home Assistant when I referenced your video on automating a Roomba to build a robotic butler a year ago.... this was the second video of yours I watched and I find myself coming back to it time and time again to find the solutions to all the home automation projects I've done since
It's taken me the last 24 hours (more or less) to wrap my head around the settings for this but now I have it operating with two ping checks, my security lighting activates 5 minutes after we both leave the house. Thanks Rob for the great videos you're putting out on Node Red. I'm a rank amateur with a 2 week old HASS/Node Red setup and so far it's proving to be a fantastic tool for home automation.
I had to laugh at one point in this excellent video - I remembered a line in the original Ghostbuster - where Bill Murray says "Ray, pretend, for a moment, I don't know anything about metallurgy, engineering, or physics - and just tell me what the hell is going on". There is a LOT of info here that would be so much easier to understand if one had a previous background of javascript and json and the like - something that in my IT career I never felt the need to get into - it was challenging enough just to try to stay current on ever changing world of routing and switching and security and the like. Now that I'm retired I want to get a better understanding of those concepts so this video was a great motivation to do some reading. It a 17 minute video but I spent several hours going thru it - making notes and creating bread crumbs to follow later. Great job you did - I still have lots of questions about exactly what's happening but much further along along now than I was...
Rob, Well done. You have the rare ability to translate your subject comprehension into properly organized information for the targeted audience in a perfect time slice. Poof, knowledge transferred.
you young guys remind me back in the 70's when I was doing same stuff, electronics,, Commodore vic 20 times, pc's in the early 80's came out, X10 stuff sort of same but not as custom as home assistance of today. I do alot with the Arduino for couple yrs, us old guys Trying to keep up with you. I see notice most you smart guys don't put Direct link to Github for what you are video about, as there are many others, scripts.. you should in your links Direct github link,, so us older guys, don't get too lost in the beginning,, thanks for all you do for others.....
I must say, great video. I’m an avid user of node-red and learned new techniques. As a side note, took me a while to find your channel. I was watching Dr.Zzs video and I thought the channel would be in the description and it wasn’t, so I thought I’d search “the hook up” on RUclips search and couldn’t find the channel either, I get music videos and movie scenes, after pages of turning and refining the search found the channel. Great videos. Keep ‘em coming.
Great video. I’ve been using Node-Red with Home Assistant since I started six months ago. Automations are much easier. It’s great to see that I’m not alone in doing this. You’ve even given me a few new ideas for my current automations. Thank you.
Thanks. That helped. The WS version of the pallet is has a different event state detector which includes a condition, then two outputs, one if true, one if false. That IMO makes it much easier to understand visually. But, I was overthinking how to do a logical AND/OR, and this helped.
I am new-ish to HA and new to Node-red but have managed to set up a flow for the kitchen lights by following a tutorial I found on RUclips. watching your video I found your occupancy flow for you, your wife and guests to be really interesting and something I would like to duplicate. do you have or could you make a video on how to set this up from scratch? My wife and I both have HA app on our android phones with device_tracker entities within HA. your videos are great and really helpful so thankyou for all you do!
I'm just getting started with HassIo and Node-RED, but seeing these examples makes me really optimistic. I have experience in C#, VBS, and Powershell, so all I'm seeing is a bunch of If-This-Then-That...but JSON is a whole 'nother beast to me. Seeing what you have going on though, I have so, so many plans and I know I'll get the WAF (Wife Approval Factor) once I finally start nailing it all down. Much appreciated and thanks for the video!
Ah yes, the ever important WAF. I need to get this implemented so that my WAF is above 8.5. Right now I'm teetering at a 6 which is almost at the "sleep in the other room" level!
Suggestions for future flows: A simple common one I see people doing are motion triggers with timers to turn out a light once the motion is gone after a bit. Then possibly another with a state change firing off a reminder about something say a door left open, then every 5 minutes it reminds you with a notification or TTS message, but if the door is closed, stop the 5 minute timer and fire off a thank you notification of some sort.
To add to that some sort of loop so that if the motion gets triggered again (ie you're still in the room) the timer resets and the light stays on for another X minutes. Wifey is not happy if the lights go off when she's still in the room! Lol
Yep, that's what my first one was basically. You can find it at the link here, I thought it would be a good one to include though as I'm sure many folks want it. Scroll down to lighting two diyfuturism.com/index.php/2017/12/14/basic-node-red-flows-for-automating-lighting-with-home-assistant/#more-191
Love the way you explain things. Nice and slow for slow people like me! Can't wait to get some time to try out node red because I come from tasker which is what I'm used to. Hassio and the coding part has been frustrating most of the times!
As an oldie ,beginner and I guess a dummie, I am having difficulty making progress with Automations with HA. I would really appreciate if you could one day make a video assuming a lesser degree of understanding for beginners such as myself. As an example I am trying to understand how I can set up tracking or even presence detection using IOS (ipad). HA shows my position at home regardless whether I have my ipad switched on or off. My ipad is shown as an entity which is used to determine my location. I feel if I could grasp a concept such as that, I could start to make some progress. Perhaps other beginners are having such difficulties. You do a great job with your videos.
Fantastic video. I'm starting to use Node Red for all my automations and it's so much easier than YAML. Still struggling with some of the concepts so your video is is a huge help. Thanks!
Straight to the important stuff on how to set and really create useful node-red automations in home assistant. Great explanation of the basics and really understandable flows. Thanks!!
It's a nice introduction to the most important nodes in node-red. There is better way to store entities state. You need just to use the scene.create service!
Like Kerbo, I wanted to get into Node-RED and this is a great step. I have watched others and have done some reading, but I hadn't found one that starts in the beginning. Great job! By the way, I found this by way of watching DrZzz's latest....
Thanks! Really great video! I do not understand very much about it (no programming skills), but I did not have that from Yaml at the beginning. Because of your video, it is becoming more and more clear to me. Thank you!!
Subscribed. Great video! I really liked the pacing of this video. I'm a experienced developer, but new to home automation and wanting to learn about various projects, apps, and technologies. Many of the other videos take too long to get to the point, or are too slow and repetitive to make them worthwhile. While this video could be a bit fast for some, it is a video that can be paused, rewind, and re-watched as many times as necessary.
Thanks! That's actually the niche I was trying to fill, something that I beginner could watch a few times and get it or something an experienced computer user could pick up quickly without getting bored.
I now have node red working and have been experimenting with my first flows. I started off with a media / NAS server running unRAID (uses docker) and a smartthings hub I added for z-wave control. I setup the smartthings app/bridge to an MQTT broker running on my server. I also setup nodeRED and HomeAssistant through docker and connected them all together. I have a question though, is there any advantage to using the HomeAssistant palette in NodeRED compared to using MQTT nodes directly? (both will work)
You make great videos. thank you so much..one small feedback though, you demonstrate as you speak very quickly and this all happens(i mean your product demonstration) before we understand what you say. My guess is you do this to keep the length of the video in control. Any how, thanks for the videos..
Another great video. glad to see you "team up" with DrZzs. Can hardly wait until the next video. For days I have tried to "extract" values out of the messages that Tasmoda sends out using node-red. no Joy. I hope you will include that. Seems like it should be simple. If you have time to give me a clue, I would really appreciate it. Thanks
Awsome Videos - im a fan! Your videos gave me the confidence to belly flop in, and the waters nice! it was a magical moment when the first ios notification popped up on my phone with a click of a button. Its slowly taking over my home but am loving every moment and learning so much! thanks for the videos!
This was a great Node Red intro although you didnt mean it to be that way. I googled alot of intro Node Red videos and I saw some pretty lame ones. I think the title of your video, although true, could be limiting your audience. I wish I had seen your video because I have about 1hr of time I'll never get back of watching other vids . Kudos! and thanks for sharing.
I absolutely agree that overuse of Function nodes defeats the whole purpose of Node-RED. In fact personally I'd rather write up custom reusable nodes than overuse Function nodes.
Great job, great explanations!!! Very analytical approach !! Thank you very much!! I would like to watch further the cloud mqtt connected with home assistant node red and the aws...until now we have see videos about own tracks, what if we can have connection with the cloud mqtt and aws for machine learning for cognitive buildings!! Just an idea!
5 лет назад
On our website we have manuals in Spanish for node red. Good work and I hope that my contribution can help other friends.
Hi, Just wanted to say loving this video series you are doing. I've switched my current automations over to Node-Red; and am even trying new things as it seems easier for the most part to visualize the flow. Would it be possible to someday cover how to get state information from HA; and merging of messages from two sources? I have an automation that tracks my washing machine and I would like to add how long each wash cycle takes to the message but have no idea how to get the information from HA and merge two payload messages together. Thanks! Looking forward to seeing what videos you release over the summer!
❓6:28 But how to turn off occupied ONLY if no one is home for 30 minutes? So in those 30 minutes it should repeatedly check if someone is home (if all are gone during those 30 minutes it turns off).
This would be a great tutorial, of course as an intro it's very difficult to follow. If only there were a tutorial that will just turn on/off a tasmoto switch. Plain, simple, easy.
Hey , Great video ... started to look into Node-red recently and thanks for people like you it gets easier to jump onto it. I have an automation that i would like to move to node red but there is some feature i don't know how to reproduce , here is an example of what i would like to tranfer any help would be appreciated thanks - alias: 'laundry: washing begins' trigger: platform: numeric_state entity_id: sensor.zooz_zen15_power_switch_current above: 0.09 for: # minutes: 2 seconds: 30 condition: condition: state entity_id: input_boolean.washing_state state: 'off' action: - service: input_boolean.turn_on entity_id: input_boolean.washing_state - alias: 'laundry: washing ends' trigger: platform: numeric_state entity_id: sensor.zooz_zen15_power_switch_current below: 0.15 for: minutes: 5 # seconds: 55 condition: condition: state entity_id: input_boolean.washing_state state: 'on' action: - service: input_boolean.turn_off entity_id: input_boolean.washing_state - service: tts.google_say entity_id: media_player.maison data: message: 'le lavage est terminé' language: 'fr'
I cant find the options to build an action with the gui (under Dev tools/Services) and gives me the json code (only YAML). This is a great vid thanks man
Very helpful, but this video is now going on 4 years old (how many is that in HA years?). Which Alexa integration was it using (or are your node-red nodes enough - that'd be a miracle). And, how do I get rid of the predecessor nodes e.g. node-red-contrib-alexa-local, which HA says are "in use"? Wish we had HA when I was in high school...
So on the last video I asked why to use Node-RED when you can do all the things in Home Assistant itself. Now I read a bit into Node-RED and I would like to know, why use Home Assistant at all? Couldn’t you control all of your devices with one of the hundreds addons, through MQTT and use Node-RED Dashboard for browser control, etc.?
Copy/Paste from a similar question I answered on reddit: The quick answer is that Home Assistant (HA) is a superior component platform. It's unbelievably easy to add devices to HA and there are hundreds of hobbiests working tirelessly to integrate popular hardware as it becomes available. HA also has an iOS app with built in (albeit spotty) device tracking, and actionable notifications. AFAIK node red dashboard only runs in a browser. Node-RED is a superior automation platform, writing automations in yaml sucks, so combining the compatibility of HA with the automation power of node-red really gives the best possible end result.
I would also like to add that the dashboard interface has some issues, especially with sliders. Using Home Assistant has a much slicker interface with the Appdeamon 3 dashboard. It’s also much more configurable for to match the sizes of different devices, such as phones or tablets.
ha! I was about to ask the same question after dozens of videos of you, DrZzz and others. Watching you writing all those hard-to-remember yamal stuff looks quite painful. One visible advantage is notification system on mobile (havn't checked if available on android). So after seing the answer I would guess: "do as much as possible in node-red and check HA only, when NR can't do something"? Cheers!
Thanks for this video, gave me a good idea on how to start with my node red implementations. I've used your presence detection flow as a template for the 3 people in my home to try sending a tts to alexa as each arrives and have that working :) , however I can't work out how to delay the TTS message until a particular Hue motion sensor detects motion within a specific time of the person being detected by bluetooth, and also not to trigger again until bluetoth has been away and come back and the hue sensor made within a specific time of the person being detected by bluetooth. If anyone can help it would be much appreciated
probably should have included my flow.... [{"id":"ed96da4.94ba228","type":"tab","label":"Presence","disabled":false,"info":""},{"id":"ef821f90.ff89e","type":"server-state-changed","z":"ed96da4.94ba228","name":"Mark Home/Not Home?","server":"c5f4fb64.a3c5a8","entityidfilter":"device_tracker.mark_s7_2","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"home","halt_if_type":"","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":200,"y":140,"wires":[["4363ff17.dbecc"],[]]},{"id":"2fb278ce.b3bf78","type":"server-state-changed","z":"ed96da4.94ba228","name":"Lynda Home/Not Home","server":"c5f4fb64.a3c5a8","entityidfilter":"device_tracker.lynda_s7","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"home","halt_if_type":"","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":200,"y":200,"wires":[["166d5b2.c3ec1a5"],[]]},{"id":"f63668fe.9528e8","type":"server-state-changed","z":"ed96da4.94ba228","name":"Conan Home/Not Home?","server":"c5f4fb64.a3c5a8","entityidfilter":"device_tracker.conan_s_galaxy","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"home","halt_if_type":"","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":190,"y":260,"wires":[["58cda35f.e1fdcc"],[]]},{"id":"166d5b2.c3ec1a5","type":"api-current-state","z":"ed96da4.94ba228","name":"Mark Home?","server":"c5f4fb64.a3c5a8","outputs":2,"halt_if":"home","halt_if_type":"","halt_if_compare":"is","override_topic":true,"entity_id":"device_tracker.mark_s7_2","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":410,"y":200,"wires":[["426a19fd.a56fc8"],[]]},{"id":"58cda35f.e1fdcc","type":"api-current-state","z":"ed96da4.94ba228","name":"Mark Home?","server":"c5f4fb64.a3c5a8","outputs":2,"halt_if":"home","halt_if_type":"","halt_if_compare":"is","override_topic":true,"entity_id":"device_tracker.mark_s7_2","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":410,"y":260,"wires":[["f57818ed.5e35d8"],[]]},{"id":"4363ff17.dbecc","type":"api-current-state","z":"ed96da4.94ba228","name":"Lynda Home?","server":"c5f4fb64.a3c5a8","outputs":2,"halt_if":"home","halt_if_type":"","halt_if_compare":"is","override_topic":true,"entity_id":"device_tracker.lynda_s7","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":418,"y":134,"wires":[["4961b3ff.aabcac"],[]]},{"id":"f57818ed.5e35d8","type":"api-current-state","z":"ed96da4.94ba228","name":"Lynda Home?","server":"c5f4fb64.a3c5a8","outputs":2,"halt_if":"home","halt_if_type":"","halt_if_compare":"is","override_topic":true,"entity_id":"device_tracker.lynda_s7","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":620,"y":260,"wires":[["5656eabb.643364"],[]]},{"id":"4961b3ff.aabcac","type":"api-current-state","z":"ed96da4.94ba228","name":"Conan Home?","server":"c5f4fb64.a3c5a8","outputs":2,"halt_if":"home","halt_if_type":"","halt_if_compare":"is","override_topic":true,"entity_id":"device_tracker.conan_s_galaxy","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":620,"y":140,"wires":[["5656eabb.643364"],[]]},{"id":"426a19fd.a56fc8","type":"api-current-state","z":"ed96da4.94ba228","name":"Conan Home?","server":"c5f4fb64.a3c5a8","outputs":2,"halt_if":"home","halt_if_type":"","halt_if_compare":"is","override_topic":true,"entity_id":"device_tracker.conan_s_galaxy","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":620,"y":200,"wires":[["5656eabb.643364"],[]]},{"id":"5656eabb.643364","type":"api-call-service","z":"ed96da4.94ba228","name":"Away","server":"c5f4fb64.a3c5a8","service_domain":"input_boolean","service":"turn_off","data":"{\"entity_id\":\"input_boolean.home_occupied\"}","mergecontext":"","output_location":"payload","output_location_type":"msg","x":850,"y":180,"wires":[[]]},{"id":"41c7deac.b487e","type":"server-state-changed","z":"ed96da4.94ba228","name":"Mark Home/Not Home?","server":"c5f4fb64.a3c5a8","entityidfilter":"device_tracker.mark_s7_2","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"not home","halt_if_type":"","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":160,"y":380,"wires":[["c0db6273.dbeed","b7bbe5a3.1f1cd8","987e54de.c8aef8"],[]]},{"id":"4876d4c0.87600c","type":"server-state-changed","z":"ed96da4.94ba228","name":"Lynda Home/Not Home","server":"c5f4fb64.a3c5a8","entityidfilter":"device_tracker.lynda_s7","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"not home","halt_if_type":"","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":160,"y":440,"wires":[["c0db6273.dbeed","6fb2e1da.de793"],[]]},{"id":"b163af71.f3dfa","type":"server-state-changed","z":"ed96da4.94ba228","name":"Conan Home/Not Home?","server":"c5f4fb64.a3c5a8","entityidfilter":"device_tracker.conan_s_galaxy","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"not home","halt_if_type":"","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":150,"y":500,"wires":[["c0db6273.dbeed","54ce530c.de7a1c"],[]]},{"id":"c0db6273.dbeed","type":"api-call-service","z":"ed96da4.94ba228","name":"Home","server":"c5f4fb64.a3c5a8","service_domain":"input_boolean","service":"turn_on","data":"{\"entity_id\":\"input_boolean.home_occupied\"}","mergecontext":"","output_location":"payload","output_location_type":"msg","x":470,"y":440,"wires":[[]]},{"id":"1c5f10c6.9ca3bf","type":"api-call-service","z":"ed96da4.94ba228","name":"Welcome Home Mark","server":"c5f4fb64.a3c5a8","service_domain":"media_player","service":"alexa_tts","data":"{\"entity_id\":\"media_player.living_room_dot\",\"message\":\"Welcome Home Mark.\"}","mergecontext":"","output_location":"payload.data.message","output_location_type":"msg","x":800,"y":540,"wires":[[]]},{"id":"6fb2e1da.de793","type":"api-call-service","z":"ed96da4.94ba228","name":"Welcome Home Lynda","server":"c5f4fb64.a3c5a8","service_domain":"media_player","service":"alexa_tts","data":"{\"entity_id\":\"media_player.living_room_dot\",\"message\":\"Welcome Home Lynda.\"}","mergecontext":"","output_location":"payload.data.message","output_location_type":"msg","x":500,"y":640,"wires":[[]]},{"id":"54ce530c.de7a1c","type":"api-call-service","z":"ed96da4.94ba228","name":"Welcome Home Conan","server":"c5f4fb64.a3c5a8","service_domain":"media_player","service":"alexa_tts","data":"{\"entity_id\":\"media_player.living_room_dot\",\"message\":\"Welcome Home Conan.\"}","mergecontext":"","output_location":"payload.data.message","output_location_type":"msg","x":510,"y":700,"wires":[[]]},{"id":"b7bbe5a3.1f1cd8","type":"ha-wait-until","z":"ed96da4.94ba228","name":"Hall Motion?","server":"c5f4fb64.a3c5a8","outputs":1,"entityId":"binary_sensor.hall_sensor_motion","property":"state","comparator":"is","value":"on","valueType":"str","timeout":0,"timeoutUnits":"seconds","entityLocation":"data","entityLocationType":"msg","checkCurrentState":true,"x":490,"y":540,"wires":[["1c5f10c6.9ca3bf","26fe65bc.2ff87a"]]},{"id":"26fe65bc.2ff87a","type":"debug","z":"ed96da4.94ba228","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":760,"y":480,"wires":[]},{"id":"987e54de.c8aef8","type":"debug","z":"ed96da4.94ba228","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":350,"y":340,"wires":[]},{"id":"c5f4fb64.a3c5a8","type":"server","z":"","name":"Home Assistant"}]
What about setting up groups? I have a "Jimmie", "Syrease" & "Home Occupied" group that checks for our GPS, Wifi & Bluetooth presence; If any are present then the group is "home"; Only if ALL are "not_home" does the group set to "not_home". If either of us are home, then the "home_occupied" group is set to home. Just another way about it, your way works perfect too.
Thanks, great vid! Would love to see a watchdog implementation through node red. I have Sonoffs on all of the networking equipment. I’ve got one I’m working on but I’m sure it could use some finessing.
Hi Robb, great video, Im new to NR and these videos are helping. Can I ask why the function on and off nodes after the light schedule nodes, wouldn't a switch node work the same?
I just got started with Home Assistant and my first task was to try and send a motion detected message to my LG OLED TV. I can get a basic text message to appear but trying to do anything more complicated gives me error messages. I’m going to try Node Red. The thing I’m missing is how are the two integrated? Does code from Node Red appear as an Automations in Home Assistant or is it kept outside of Home Assistant and Node Red must be running on the same machine? Just wasn’t clear to me how it all connects.
Hi Rob keep up the great job you’re doing for the community. I need this help. I have my living lights controlled by a PIR but during movie nights I’m having difficulties to disable the PIR or the flow. Is there any work around or solution for this? Thanks
Question; at 15:44 in the overview you have the storing of the light state and the delay of 1 sec. Couldn't you have done it in such a way that it goes instead of this: - Away (if state) > Other Ben Light (get state) > Other Ben Light Flow (store variable) - after 1 sec, turn everything off To this: - Away (if state) > Other Ben Light (get state) > Other Ben Light Flow (store variable) > Turn off
Yes, you can do that now. The current state node used to be a bit buggy so I did it that way to avoid issues. The current implementation is much easier to use and will work as you described.
Great video. A little feedback though: as a complete node-red noob, I had no idea where it was placed. Is it an add-on to home assistant? Does it run on a computer? Is it scripts that you download to your sensors, like Arduino code? It was hard to follow what you were doing when I couldn't quite place the components in my head :) But i read a bit online and watched the video again, now it makes sense!
Great videos, this seemed the most appropriate place to ask a question. HA and Node-Red are both fantastic, I use them in my setup. BUT.........with lots of various IoT devices, do you staticly assign th IPs to your devices or do you use DHCP? if the latter, then how do you handle possible changes to a device IP in HA? Thanks in advance
Any chance on getting the config.yaml file, I'm having trouble with getting the input booleans set up. Btw great videos and a lot of help. I'm looking forward to trying the roomba!!
I have started working with this again in Nodered. I can get the home to recognize when my wife or myself comes home and turn on some automations. I have a problem when one of us leaves the house it does not recognize that the other person is still in the house. I am using a current state mode between the state node and the call service node. I have tried to set it up like you explained in the video. But with the changes to Nodered some for the attributes you were discussing I do not see in Nodered. Any suggestions?
Fantastic video, well put together!!! Nobody can answer my question. I put together a FLOW (Temp sens with high / low slider with email alert). It outputs to a URL. I add the URL to a Lovelace card unless there is another way. When the system reboots I have to re authenticate the URL again or the card does not work, any suggestions?
This is great video and subject that is new. However cannot understand most of it. Little too fast. Hope you could do some basic tasks in a series for dummies. Thanks
Id really like to figure out how to get HomeAssistant working for my home, but you are losing me with the language. Do you have any suggestions on what I should start learning(in a relatively quick fashion) to start to understand what you are talking about? I appreciate any help!
Hello Rob, Liking the video. I am a bit of an automation noob, find yaml impossible to get syntax right, so thought I'd try a node red option. I havent got past the input boolean set up. I have tried to make it for life 360 but no joy. Can you please do a video about input boolean for wi-fi login, or a tracker app like life360. Keep up the good work.
I need to go buy a home mini, I was so invested in the alexa ecosystem that I never bothered to get one. I do have an iphone, so I can show homekit stuff.
Hi! Many thanks for your useful videos. Please would you explain how you set up/configured your input booleans? E.g. brad home, lindsey home, home occupied?
What do you mean by how I configured them? To add them in home assistant you just add them to your configuration.yaml file like this: input_boolean: notify_exterior: name: Exterior Notifications alarm_exterior: name: Exterior Alarm
I installed node-red in the (Hassbian) Home Assistant image -- And when I try to connect it says can't find home assistant etc... (( IT CAN'T CONNECT) Why ?? And how can I fix it I'm all up to date
I have a Shelly 1 with a toggle switch. I wanted to use node red to count the number of presses and then turn on a light for one toggle and another light for double press. How can I do this ?I'm getting payload message as on and off. But how to count the number of off's and on's.
great video thanks for the explanation, your videos are great and straight to the point. Subscribed. My only issue is that there appears to be updates to node red since you made this video, but everything you have is still relevant. I am confused on the "call service" node, did you already have an entity of type input_boolean called home? or is it created in node red? if its not created in node red how do you create new entities in HA?
@3:38 - '...when our phones connect or disconnect from google wifi.' How are you achieving this? I cannot see a way for this to happen in 2020 (I realize this video is a couple of years old) but I am puzzled how to do this, as I'm trying to do something similar. The only alternative I can think of is geofencing with the phones. Thoughts?
Maybe a total novice question, but how do you get the iphone from not triggering home/away all the time when you are at home. The iphone disconnects from wifi when not being used thus triggering the tacker set up in home assistant.
Someone asked me this question before. I'm not sure if it's something that google wifi takes care of for me, but my phone never drops wifi from non-use.
Hello, I'm trying to implement this: My idea is: create a dusk till dawn light that will automatically dim to a certain % at some point during the night and remains dimmed until it is automatically switched off. Implementing the dusk till down part was pretty easy thanks to the big timer. What a powerful component! However, I have not got around to implementing the dimming part. The part I’m currently stuck at is by far storing and formating what the slider generates. In principle, what I’ve put together does capture the value, although the intermediate steps seem to introduce noice. Additionally, I can’t seem to be able to monitor the changes because once the slider has reached the first stable value, whatever I do simply does not get upadated (the brightness doesn’t change anymore). I just can't get it to work. Would you be willing to help me out with that one?
Cheers for all the information 🤯 mind now blown ha ha. Suggestion for a flow, motion sensor triggers a light flashes red several times but puts the light back to whatever state it was in already, be it on, off or on already in running a theme etc. Cheers
In a function node in a flow, is there a way to get the status of an entity? I can get the status of an entity from a node (current state), but I can't figure out how to get the state directly within a function node.
Any plans to release the configuration of the presence detection input boolean? I’d like to reference it to create my own for some HA project I’m doing that require simple presence detection
Great video! Two questions though: 1. To clarify, this is all done with the NodeRed Home Assistant component and not by running NodeRed on a device, correct? I just want to make sure that I only have to have Home Assistant installed on my Raspberry Pi and not both. 2. What brand of door/window sensors & what brand of motion cameras are you using that you've integrated into Home Assistant? I'm currently looking into buying Wyze Motion Sensor Cams for my cameras and Tuya/Smart Life door/window sensors, both of which don't appear to be fully integrate-able into the Home Assistant environment from the information & discussions I've found.
I'm using the node red add-on for hassio. It installs node red on the same raspberry pi as HA. I use diy mqtt sensors (see my other videos) and a rtsp NVR. But other people have had plenty of success using rf sensors and a sonoff rf bridge (dr zzs) has a great video on that.
I first got dragged down the rabbit hole that is home automation and Home Assistant when I referenced your video on automating a Roomba to build a robotic butler a year ago.... this was the second video of yours I watched and I find myself coming back to it time and time again to find the solutions to all the home automation projects I've done since
It's taken me the last 24 hours (more or less) to wrap my head around the settings for this but now I have it operating with two ping checks, my security lighting activates 5 minutes after we both leave the house.
Thanks Rob for the great videos you're putting out on Node Red. I'm a rank amateur with a 2 week old HASS/Node Red setup and so far it's proving to be a fantastic tool for home automation.
I had to laugh at one point in this excellent video - I remembered a line in the original Ghostbuster - where Bill Murray says "Ray, pretend, for a moment, I don't know anything about metallurgy, engineering, or physics - and just tell me what the hell is going on". There is a LOT of info here that would be so much easier to understand if one had a previous background of javascript and json and the like - something that in my IT career I never felt the need to get into - it was challenging enough just to try to stay current on ever changing world of routing and switching and security and the like. Now that I'm retired I want to get a better understanding of those concepts so this video was a great motivation to do some reading. It a 17 minute video but I spent several hours going thru it - making notes and creating bread crumbs to follow later. Great job you did - I still have lots of questions about exactly what's happening but much further along along now than I was...
Rob, Well done. You have the rare ability to translate your subject comprehension into properly organized information for the targeted audience in a perfect time slice. Poof, knowledge transferred.
you young guys remind me back in the 70's when I was doing same stuff, electronics,, Commodore vic 20 times, pc's in the early 80's came out, X10 stuff sort of same but not as custom as home assistance of today. I do alot with the Arduino for couple yrs, us old guys Trying to keep up with you. I see notice most you smart guys don't put Direct link to Github for what you are video about, as there are many others, scripts.. you should in your links Direct github link,, so us older guys, don't get too lost in the beginning,, thanks for all you do for others.....
I must say, great video. I’m an avid user of node-red and learned new techniques.
As a side note, took me a while to find your channel. I was watching Dr.Zzs video and I thought the channel would be in the description and it wasn’t, so I thought I’d search “the hook up” on RUclips search and couldn’t find the channel either, I get music videos and movie scenes, after pages of turning and refining the search found the channel.
Great videos. Keep ‘em coming.
I'll tell him to throw the link in the description
Great video. I’ve been using Node-Red with Home Assistant since I started six months ago. Automations are much easier. It’s great to see that I’m not alone in doing this. You’ve even given me a few new ideas for my current automations. Thank you.
Thanks. That helped. The WS version of the pallet is has a different event state detector which includes a condition, then two outputs, one if true, one if false. That IMO makes it much easier to understand visually. But, I was overthinking how to do a logical AND/OR, and this helped.
I am new-ish to HA and new to Node-red but have managed to set up a flow for the kitchen lights by following a tutorial I found on RUclips. watching your video I found your occupancy flow for you, your wife and guests to be really interesting and something I would like to duplicate. do you have or could you make a video on how to set this up from scratch? My wife and I both have HA app on our android phones with device_tracker entities within HA. your videos are great and really helpful so thankyou for all you do!
I'm just getting started with HassIo and Node-RED, but seeing these examples makes me really optimistic.
I have experience in C#, VBS, and Powershell, so all I'm seeing is a bunch of If-This-Then-That...but JSON is a whole 'nother beast to me. Seeing what you have going on though, I have so, so many plans and I know I'll get the WAF (Wife Approval Factor) once I finally start nailing it all down. Much appreciated and thanks for the video!
Ah yes, the ever important WAF. I need to get this implemented so that my WAF is above 8.5. Right now I'm teetering at a 6 which is almost at the "sleep in the other room" level!
Suggestions for future flows: A simple common one I see people doing are motion triggers with timers to turn out a light once the motion is gone after a bit. Then possibly another with a state change firing off a reminder about something say a door left open, then every 5 minutes it reminds you with a notification or TTS message, but if the door is closed, stop the 5 minute timer and fire off a thank you notification of some sort.
Those are great suggestions. Sounds like a job for the trigger node.
To add to that some sort of loop so that if the motion gets triggered again (ie you're still in the room) the timer resets and the light stays on for another X minutes. Wifey is not happy if the lights go off when she's still in the room! Lol
Yep, that's what my first one was basically. You can find it at the link here, I thought it would be a good one to include though as I'm sure many folks want it. Scroll down to lighting two diyfuturism.com/index.php/2017/12/14/basic-node-red-flows-for-automating-lighting-with-home-assistant/#more-191
this is how you do quality home automation tutorial videos!
Love the way you explain things. Nice and slow for slow people like me!
Can't wait to get some time to try out node red because I come from tasker which is what I'm used to.
Hassio and the coding part has been frustrating most of the times!
Damn, you created a full blow alarm system! Good job bro, this is awesomely overkill. Love it!
Hey, I noticed that you are interested in Node-RED. We just released a video on Node-RED. Thought you'd want to check it out. Thanks
👇👇👇
utm.io/um5R
As an oldie ,beginner and I guess a dummie, I am having difficulty making progress with Automations with HA. I would really appreciate if you could one day make a video assuming a lesser degree of understanding for beginners such as myself. As an example I am trying to understand how I can set up tracking or even presence detection using IOS (ipad). HA shows my position at home regardless whether I have my ipad switched on or off. My ipad is shown as an entity which is used to determine my location. I feel if I could grasp a concept such as that, I could start to make some progress. Perhaps other beginners are having such difficulties. You do a great job with your videos.
Fantastic video. I'm starting to use Node Red for all my automations and it's so much easier than YAML. Still struggling with some of the concepts so your video is is a huge help. Thanks!
Straight to the important stuff on how to set and really create useful node-red automations in home assistant. Great explanation of the basics and really understandable flows. Thanks!!
Exactly what I needed to understand how node-red integrates with home assistant. Thanks.
It's a nice introduction to the most important nodes in node-red.
There is better way to store entities state. You need just to use the scene.create service!
Thats one hell of automation you did out there. Kudos to you.
This was a useful video on getting started with node-red. I had to shed a little tear when I saw YAML listed as a programming language. Whyyyyyy!!!!
God that a lot to process, yet loving it. Can't wait for the dashboard one though
Like Kerbo, I wanted to get into Node-RED and this is a great step. I have watched others and have done some reading, but I hadn't found one that starts in the beginning. Great job! By the way, I found this by way of watching DrZzz's latest....
Thank you very much! I didn't manage to use it on Greek server but on the Germany one, works like a charm!! good Job!
Thanks! Really great video! I do not understand very much about it (no programming skills), but I did not have that from Yaml at the beginning. Because of your video, it is becoming more and more clear to me. Thank you!!
Exactly the kind of thing I like to hear!
Maybe you guys know where to find someone who would set this up for me for a few bucks?
Oh man. I am so going to over engineer our new house it is going to be my end.
As long as you're having fun doing it!
The Hook Up the wife approval index is low on this matter!
over-engineering doesn't have to be over-complicated!
Same here!
I may or may not have had to debug the Christmas tree.
Thanks for this video! It helped optimize a few flows using presence detection.
This is great stuff. Thanks for documenting this so well, making it look easy. I can see so much potential in using node-red for HA automation!
Fantastic video and a great explanation of the nodes and their scope. Really great way to get started in NodeRED!
Subscribed. Great video! I really liked the pacing of this video. I'm a experienced developer, but new to home automation and wanting to learn about various projects, apps, and technologies. Many of the other videos take too long to get to the point, or are too slow and repetitive to make them worthwhile. While this video could be a bit fast for some, it is a video that can be paused, rewind, and re-watched as many times as necessary.
Thanks! That's actually the niche I was trying to fill, something that I beginner could watch a few times and get it or something an experienced computer user could pick up quickly without getting bored.
I now have node red working and have been experimenting with my first flows. I started off with a media / NAS server running unRAID (uses docker) and a smartthings hub I added for z-wave control. I setup the smartthings app/bridge to an MQTT broker running on my server. I also setup nodeRED and HomeAssistant through docker and connected them all together. I have a question though, is there any advantage to using the HomeAssistant palette in NodeRED compared to using MQTT nodes directly? (both will work)
Thank you very much for the video, explanation, and codes.
hopefully he makes an update video on the new packages to control HA, there have been a lot of changes to Both HA and Node-Red since this was made.
You make great videos. thank you so much..one small feedback though, you demonstrate as you speak very quickly and this all happens(i mean your product demonstration) before we understand what you say. My guess is you do this to keep the length of the video in control. Any how, thanks for the videos..
Outstanding video, I have learned more from this the dozen or so others I have watched. Thanks
Another great video. glad to see you "team up" with DrZzs. Can hardly wait until the next video. For days I have tried to "extract" values out of the messages that Tasmoda sends out using node-red. no Joy. I hope you will include that. Seems like it should be simple. If you have time to give me a clue, I would really appreciate it. Thanks
That will be included in my next video.
Thanks for this video, its is awesome and is so much more accessible than the yaml files
Awsome Videos - im a fan! Your videos gave me the confidence to belly flop in, and the waters nice!
it was a magical moment when the first ios notification popped up on my phone with a click of a button.
Its slowly taking over my home but am loving every moment and learning so much!
thanks for the videos!
switching-on lights though used to be piece of cake in the past...but it was boring...it is a hell lot more fun this complex way :-)...yeah!!!
Great video! I've been wanting to dive into node-red and this was a good overview
Thanks!
This was a great Node Red intro although you didnt mean it to be that way. I googled alot of intro Node Red videos and I saw some pretty lame ones. I think the title of your video, although true, could be limiting your audience. I wish I had seen your video because I have about 1hr of time I'll never get back of watching other vids . Kudos! and thanks for sharing.
I absolutely agree that overuse of Function nodes defeats the whole purpose of Node-RED. In fact personally I'd rather write up custom reusable nodes than overuse Function nodes.
Great job, great explanations!!! Very analytical approach !! Thank you very much!! I would like to watch further the cloud mqtt connected with home assistant node red and the aws...until now we have see videos about own tracks, what if we can have connection with the cloud mqtt and aws for machine learning for cognitive buildings!! Just an idea!
On our website we have manuals in Spanish for node red. Good work and I hope that my contribution can help other friends.
Thanks a lot...U are taking NodeRed to God Mode
Hi,
Just wanted to say loving this video series you are doing. I've switched my current automations over to Node-Red; and am even trying new things as it seems easier for the most part to visualize the flow.
Would it be possible to someday cover how to get state information from HA; and merging of messages from two sources? I have an automation that tracks my washing machine and I would like to add how long each wash cycle takes to the message but have no idea how to get the information from HA and merge two payload messages together.
Thanks! Looking forward to seeing what videos you release over the summer!
That will be included in part 3. I actually just wrote the flow for the video today.
❓6:28
But how to turn off occupied ONLY if no one is home for 30 minutes?
So in those 30 minutes it should repeatedly check if someone is home (if all are gone during those 30 minutes it turns off).
This would be a great tutorial, of course as an intro it's very difficult to follow. If only there were a tutorial that will just turn on/off a tasmoto switch. Plain, simple, easy.
My life has been changed forever
Hey , Great video ... started to look into Node-red recently and thanks for people like you it gets easier to jump onto it.
I have an automation that i would like to move to node red but there is some feature i don't know how to reproduce , here is an example of what i would like to tranfer
any help would be appreciated
thanks
- alias: 'laundry: washing begins'
trigger:
platform: numeric_state
entity_id: sensor.zooz_zen15_power_switch_current
above: 0.09
for:
# minutes: 2
seconds: 30
condition:
condition: state
entity_id: input_boolean.washing_state
state: 'off'
action:
- service: input_boolean.turn_on
entity_id: input_boolean.washing_state
- alias: 'laundry: washing ends'
trigger:
platform: numeric_state
entity_id: sensor.zooz_zen15_power_switch_current
below: 0.15
for:
minutes: 5
# seconds: 55
condition:
condition: state
entity_id: input_boolean.washing_state
state: 'on'
action:
- service: input_boolean.turn_off
entity_id: input_boolean.washing_state
- service: tts.google_say
entity_id: media_player.maison
data:
message: 'le lavage est terminé'
language: 'fr'
Omg thank you so much!!! Exactly what I needed
I cant find the options to build an action with the gui (under Dev tools/Services) and gives me the json code (only YAML). This is a great vid thanks man
Great video! Looking forward to implementing this.
Very helpful, but this video is now going on 4 years old (how many is that in HA years?). Which Alexa integration was it using (or are your node-red nodes enough - that'd be a miracle). And, how do I get rid of the predecessor nodes e.g. node-red-contrib-alexa-local, which HA says are "in use"? Wish we had HA when I was in high school...
Very well produced. Thank you for this video.
Wow. Thanks!! Great start
what a trip that intro - killed it! Zz
great video-tutorial! Helped me out a lot. Thanks!
So on the last video I asked why to use Node-RED when you can do all the things in Home Assistant itself. Now I read a bit into Node-RED and I would like to know, why use Home Assistant at all? Couldn’t you control all of your devices with one of the hundreds addons, through MQTT and use Node-RED Dashboard for browser control, etc.?
Copy/Paste from a similar question I answered on reddit:
The quick answer is that Home Assistant (HA) is a superior component platform. It's unbelievably easy to add devices to HA and there are hundreds of hobbiests working tirelessly to integrate popular hardware as it becomes available. HA also has an iOS app with built in (albeit spotty) device tracking, and actionable notifications. AFAIK node red dashboard only runs in a browser.
Node-RED is a superior automation platform, writing automations in yaml sucks, so combining the compatibility of HA with the automation power of node-red really gives the best possible end result.
I would also like to add that the dashboard interface has some issues, especially with sliders. Using Home Assistant has a much slicker interface with the Appdeamon 3 dashboard. It’s also much more configurable for to match the sizes of different devices, such as phones or tablets.
ha! I was about to ask the same question after dozens of videos of you, DrZzz and others. Watching you writing all those hard-to-remember yamal stuff looks quite painful. One visible advantage is notification system on mobile (havn't checked if available on android). So after seing the answer I would guess: "do as much as possible in node-red and check HA only, when NR can't do something"?
Cheers!
Thanks for this video, gave me a good idea on how to start with my node red implementations.
I've used your presence detection flow as a template for the 3 people in my home to try sending a tts to alexa as each arrives and have that working :) , however I can't work out how to delay the TTS message until a particular Hue motion sensor detects motion within a specific time of the person being detected by bluetooth, and also not to trigger again until bluetoth has been away and come back and the hue sensor made within a specific time of the person being detected by bluetooth.
If anyone can help it would be much appreciated
probably should have included my flow....
[{"id":"ed96da4.94ba228","type":"tab","label":"Presence","disabled":false,"info":""},{"id":"ef821f90.ff89e","type":"server-state-changed","z":"ed96da4.94ba228","name":"Mark Home/Not Home?","server":"c5f4fb64.a3c5a8","entityidfilter":"device_tracker.mark_s7_2","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"home","halt_if_type":"","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":200,"y":140,"wires":[["4363ff17.dbecc"],[]]},{"id":"2fb278ce.b3bf78","type":"server-state-changed","z":"ed96da4.94ba228","name":"Lynda Home/Not Home","server":"c5f4fb64.a3c5a8","entityidfilter":"device_tracker.lynda_s7","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"home","halt_if_type":"","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":200,"y":200,"wires":[["166d5b2.c3ec1a5"],[]]},{"id":"f63668fe.9528e8","type":"server-state-changed","z":"ed96da4.94ba228","name":"Conan Home/Not Home?","server":"c5f4fb64.a3c5a8","entityidfilter":"device_tracker.conan_s_galaxy","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"home","halt_if_type":"","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":190,"y":260,"wires":[["58cda35f.e1fdcc"],[]]},{"id":"166d5b2.c3ec1a5","type":"api-current-state","z":"ed96da4.94ba228","name":"Mark Home?","server":"c5f4fb64.a3c5a8","outputs":2,"halt_if":"home","halt_if_type":"","halt_if_compare":"is","override_topic":true,"entity_id":"device_tracker.mark_s7_2","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":410,"y":200,"wires":[["426a19fd.a56fc8"],[]]},{"id":"58cda35f.e1fdcc","type":"api-current-state","z":"ed96da4.94ba228","name":"Mark Home?","server":"c5f4fb64.a3c5a8","outputs":2,"halt_if":"home","halt_if_type":"","halt_if_compare":"is","override_topic":true,"entity_id":"device_tracker.mark_s7_2","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":410,"y":260,"wires":[["f57818ed.5e35d8"],[]]},{"id":"4363ff17.dbecc","type":"api-current-state","z":"ed96da4.94ba228","name":"Lynda Home?","server":"c5f4fb64.a3c5a8","outputs":2,"halt_if":"home","halt_if_type":"","halt_if_compare":"is","override_topic":true,"entity_id":"device_tracker.lynda_s7","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":418,"y":134,"wires":[["4961b3ff.aabcac"],[]]},{"id":"f57818ed.5e35d8","type":"api-current-state","z":"ed96da4.94ba228","name":"Lynda Home?","server":"c5f4fb64.a3c5a8","outputs":2,"halt_if":"home","halt_if_type":"","halt_if_compare":"is","override_topic":true,"entity_id":"device_tracker.lynda_s7","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":620,"y":260,"wires":[["5656eabb.643364"],[]]},{"id":"4961b3ff.aabcac","type":"api-current-state","z":"ed96da4.94ba228","name":"Conan Home?","server":"c5f4fb64.a3c5a8","outputs":2,"halt_if":"home","halt_if_type":"","halt_if_compare":"is","override_topic":true,"entity_id":"device_tracker.conan_s_galaxy","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":620,"y":140,"wires":[["5656eabb.643364"],[]]},{"id":"426a19fd.a56fc8","type":"api-current-state","z":"ed96da4.94ba228","name":"Conan Home?","server":"c5f4fb64.a3c5a8","outputs":2,"halt_if":"home","halt_if_type":"","halt_if_compare":"is","override_topic":true,"entity_id":"device_tracker.conan_s_galaxy","state_type":"str","state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":620,"y":200,"wires":[["5656eabb.643364"],[]]},{"id":"5656eabb.643364","type":"api-call-service","z":"ed96da4.94ba228","name":"Away","server":"c5f4fb64.a3c5a8","service_domain":"input_boolean","service":"turn_off","data":"{\"entity_id\":\"input_boolean.home_occupied\"}","mergecontext":"","output_location":"payload","output_location_type":"msg","x":850,"y":180,"wires":[[]]},{"id":"41c7deac.b487e","type":"server-state-changed","z":"ed96da4.94ba228","name":"Mark Home/Not Home?","server":"c5f4fb64.a3c5a8","entityidfilter":"device_tracker.mark_s7_2","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"not home","halt_if_type":"","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":160,"y":380,"wires":[["c0db6273.dbeed","b7bbe5a3.1f1cd8","987e54de.c8aef8"],[]]},{"id":"4876d4c0.87600c","type":"server-state-changed","z":"ed96da4.94ba228","name":"Lynda Home/Not Home","server":"c5f4fb64.a3c5a8","entityidfilter":"device_tracker.lynda_s7","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"not home","halt_if_type":"","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":160,"y":440,"wires":[["c0db6273.dbeed","6fb2e1da.de793"],[]]},{"id":"b163af71.f3dfa","type":"server-state-changed","z":"ed96da4.94ba228","name":"Conan Home/Not Home?","server":"c5f4fb64.a3c5a8","entityidfilter":"device_tracker.conan_s_galaxy","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"not home","halt_if_type":"","halt_if_compare":"is","outputs":2,"output_only_on_state_change":false,"x":150,"y":500,"wires":[["c0db6273.dbeed","54ce530c.de7a1c"],[]]},{"id":"c0db6273.dbeed","type":"api-call-service","z":"ed96da4.94ba228","name":"Home","server":"c5f4fb64.a3c5a8","service_domain":"input_boolean","service":"turn_on","data":"{\"entity_id\":\"input_boolean.home_occupied\"}","mergecontext":"","output_location":"payload","output_location_type":"msg","x":470,"y":440,"wires":[[]]},{"id":"1c5f10c6.9ca3bf","type":"api-call-service","z":"ed96da4.94ba228","name":"Welcome Home Mark","server":"c5f4fb64.a3c5a8","service_domain":"media_player","service":"alexa_tts","data":"{\"entity_id\":\"media_player.living_room_dot\",\"message\":\"Welcome Home Mark.\"}","mergecontext":"","output_location":"payload.data.message","output_location_type":"msg","x":800,"y":540,"wires":[[]]},{"id":"6fb2e1da.de793","type":"api-call-service","z":"ed96da4.94ba228","name":"Welcome Home Lynda","server":"c5f4fb64.a3c5a8","service_domain":"media_player","service":"alexa_tts","data":"{\"entity_id\":\"media_player.living_room_dot\",\"message\":\"Welcome Home Lynda.\"}","mergecontext":"","output_location":"payload.data.message","output_location_type":"msg","x":500,"y":640,"wires":[[]]},{"id":"54ce530c.de7a1c","type":"api-call-service","z":"ed96da4.94ba228","name":"Welcome Home Conan","server":"c5f4fb64.a3c5a8","service_domain":"media_player","service":"alexa_tts","data":"{\"entity_id\":\"media_player.living_room_dot\",\"message\":\"Welcome Home Conan.\"}","mergecontext":"","output_location":"payload.data.message","output_location_type":"msg","x":510,"y":700,"wires":[[]]},{"id":"b7bbe5a3.1f1cd8","type":"ha-wait-until","z":"ed96da4.94ba228","name":"Hall Motion?","server":"c5f4fb64.a3c5a8","outputs":1,"entityId":"binary_sensor.hall_sensor_motion","property":"state","comparator":"is","value":"on","valueType":"str","timeout":0,"timeoutUnits":"seconds","entityLocation":"data","entityLocationType":"msg","checkCurrentState":true,"x":490,"y":540,"wires":[["1c5f10c6.9ca3bf","26fe65bc.2ff87a"]]},{"id":"26fe65bc.2ff87a","type":"debug","z":"ed96da4.94ba228","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":760,"y":480,"wires":[]},{"id":"987e54de.c8aef8","type":"debug","z":"ed96da4.94ba228","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":350,"y":340,"wires":[]},{"id":"c5f4fb64.a3c5a8","type":"server","z":"","name":"Home Assistant"}]
What about setting up groups? I have a "Jimmie", "Syrease" & "Home Occupied" group that checks for our GPS, Wifi & Bluetooth presence; If any are present then the group is "home"; Only if ALL are "not_home" does the group set to "not_home". If either of us are home, then the "home_occupied" group is set to home. Just another way about it, your way works perfect too.
Yep, that's another option. I think I use that solution in another one of my videos (maybe the 3rd node red one?).
Thanks, great vid! Would love to see a watchdog implementation through node red. I have Sonoffs on all of the networking equipment.
I’ve got one I’m working on but I’m sure it could use some finessing.
Hi Robb, great video, Im new to NR and these videos are helping. Can I ask why the function on and off nodes after the light schedule nodes, wouldn't a switch node work the same?
great video, thank you. Really helped me to quickly get results with my hass & node red :-)
Hi, great tutorial. Can you do one on using NODE RED and arming/disarming an alarm via an apple watch?
I just got started with Home Assistant and my first task was to try and send a motion detected message to my LG OLED TV. I can get a basic text message to appear but trying to do anything more complicated gives me error messages. I’m going to try Node Red. The thing I’m missing is how are the two integrated? Does code from Node Red appear as an Automations in Home Assistant or is it kept outside of Home Assistant and Node Red must be running on the same machine? Just wasn’t clear to me how it all connects.
Hi Rob keep up the great job you’re doing for the community.
I need this help. I have my living lights controlled by a PIR but during movie nights I’m having difficulties to disable the PIR or the flow.
Is there any work around or solution for this?
Thanks
Fantastic video
Excellent video....any suggestions on android app for home assitant
Question; at 15:44 in the overview you have the storing of the light state and the delay of 1 sec.
Couldn't you have done it in such a way that it goes instead of this:
- Away (if state) > Other Ben Light (get state) > Other Ben Light Flow (store variable)
- after 1 sec, turn everything off
To this:
- Away (if state) > Other Ben Light (get state) > Other Ben Light Flow (store variable) > Turn off
Yes, you can do that now. The current state node used to be a bit buggy so I did it that way to avoid issues. The current implementation is much easier to use and will work as you described.
@@TheHookUp Good, then i start to understand Node-Red :)
Do you think you could make a video or give some instruction on how to use google wifi as home presence? Love the videos
Great stuff, well presented….subscribed
Great video. A little feedback though: as a complete node-red noob, I had no idea where it was placed. Is it an add-on to home assistant? Does it run on a computer? Is it scripts that you download to your sensors, like Arduino code? It was hard to follow what you were doing when I couldn't quite place the components in my head :) But i read a bit online and watched the video again, now it makes sense!
Check out Dr. Zzs video on node-red, he talks more about the installation and general idea of it.
Great videos, this seemed the most appropriate place to ask a question. HA and Node-Red are both fantastic, I use them in my setup. BUT.........with lots of various IoT devices, do you staticly assign th IPs to your devices or do you use DHCP? if the latter, then how do you handle possible changes to a device IP in HA? Thanks in advance
Any chance on getting the config.yaml file, I'm having trouble with getting the input booleans set up. Btw great videos and a lot of help. I'm looking forward to trying the roomba!!
Very nice video, and very good work! Thank you!
I have started working with this again in Nodered. I can get the home to recognize when my wife or myself comes home and turn on some automations. I have a problem when one of us leaves the house it does not recognize that the other person is still in the house. I am using a current state mode between the state node and the call service node. I have tried to set it up like you explained in the video. But with the changes to Nodered some for the attributes you were discussing I do not see in Nodered. Any suggestions?
Fantastic video, well put together!!! Nobody can answer my question. I put together a FLOW (Temp sens with high / low slider with email alert). It outputs to a URL. I add the URL to a Lovelace card unless there is another way. When the system reboots I have to re authenticate the URL again or the card does not work, any suggestions?
Great video!
Hey, I noticed that you are interested in Node-RED. We just released a video on Node-RED. Thought you'd want to check it out. Thanks
👇👇👇
utm.io/um5R
How do you detect when your phone is off Wi-Fi. You said that is how you set your boolean
This is great video and subject that is new. However cannot understand most of it. Little too fast. Hope you could do some basic tasks in a series for dummies. Thanks
Can you give me some specific examples of what you'd like to see in a "series for dummies"?
@@TheHookUp It will be nice a video of how did you set up the home precense
Id really like to figure out how to get HomeAssistant working for my home, but you are losing me with the language. Do you have any suggestions on what I should start learning(in a relatively quick fashion) to start to understand what you are talking about? I appreciate any help!
Check out JuanMTech here on youtube.
Hey, I noticed that you are interested in Node-RED. We just released a video on Node-RED. Thought you'd want to check it out. Thanks
👇👇👇
utm.io/um5R
Hi Rob. Have you updated to the new iOS app yet? The notification mechanism is different and I’m struggling to get it working with Node Red.
Hello Rob, Liking the video. I am a bit of an automation noob, find yaml impossible to get syntax right, so thought I'd try a node red option. I havent got past the input boolean set up. I have tried to make it for life 360 but no joy. Can you please do a video about input boolean for wi-fi login, or a tracker app like life360. Keep up the good work.
How do you detect the phones are connected to the home WiFi in Node Red?
You do this with device_tracker on Home Assistant.
Is there a possibility of a video of how you created the whole alarm system? with the integrations between node red and HA?
Please include Google Home in your automation projects and consider Apple Home too.
I need to go buy a home mini, I was so invested in the alexa ecosystem that I never bothered to get one. I do have an iphone, so I can show homekit stuff.
Hi! Many thanks for your useful videos. Please would you explain how you set up/configured your input booleans? E.g. brad home, lindsey home, home occupied?
What do you mean by how I configured them? To add them in home assistant you just add them to your configuration.yaml file like this:
input_boolean:
notify_exterior:
name: Exterior Notifications
alarm_exterior:
name: Exterior Alarm
I installed node-red in the (Hassbian) Home Assistant image --
And when I try to connect it says can't find home assistant etc... (( IT CAN'T CONNECT) Why ??
And how can I fix it
I'm all up to date
I have a Shelly 1 with a toggle switch. I wanted to use node red to count the number of presses and then turn on a light for one toggle and another light for double press. How can I do this ?I'm getting payload message as on and off. But how to count the number of off's and on's.
great video thanks for the explanation, your videos are great and straight to the point. Subscribed. My only issue is that there appears to be updates to node red since you made this video, but everything you have is still relevant. I am confused on the "call service" node, did you already have an entity of type input_boolean called home? or is it created in node red? if its not created in node red how do you create new entities in HA?
community.home-assistant.io/t/home-away-switch-boolean-using-automation/106328
Hi,
Could you share your security system or what you are using ?
I would like to setup my security system with HA but don’t know how to start.
Thanks
@3:38 - '...when our phones connect or disconnect from google wifi.' How are you achieving this? I cannot see a way for this to happen in 2020 (I realize this video is a couple of years old) but I am puzzled how to do this, as I'm trying to do something similar. The only alternative I can think of is geofencing with the phones. Thoughts?
Maybe a total novice question, but how do you get the iphone from not triggering home/away all the time when you are at home. The iphone disconnects from wifi when not being used thus triggering the tacker set up in home assistant.
Someone asked me this question before. I'm not sure if it's something that google wifi takes care of for me, but my phone never drops wifi from non-use.
Hello, I'm trying to implement this:
My idea is: create a dusk till dawn light that will automatically dim to a certain % at some point during the night and remains dimmed until it is automatically switched off.
Implementing the dusk till down part was pretty easy thanks to the big timer. What a powerful component! However, I have not got around to implementing the dimming part.
The part I’m currently stuck at is by far storing and formating what the slider generates. In principle, what I’ve put together does capture the value, although the intermediate steps seem to introduce noice. Additionally, I can’t seem to be able to monitor the changes because once the slider has reached the first stable value, whatever I do simply does not get upadated (the brightness doesn’t change anymore).
I just can't get it to work. Would you be willing to help me out with that one?
Will you ever make 'how to' videos about IoT (i.e. how to connect device to open-source platform)?
Cheers for all the information 🤯 mind now blown ha ha. Suggestion for a flow, motion sensor triggers a light flashes red several times but puts the light back to whatever state it was in already, be it on, off or on already in running a theme etc. Cheers
In a function node in a flow, is there a way to get the status of an entity? I can get the status of an entity from a node (current state), but I can't figure out how to get the state directly within a function node.
Any plans to release the configuration of the presence detection input boolean? I’d like to reference it to create my own for some HA project I’m doing that require simple presence detection
I'm new to this and I want to learn how to use Home Assistant and Hass and Node Red and what not. Is there a video that covers where to start?
Great video! Two questions though:
1. To clarify, this is all done with the NodeRed Home Assistant component and not by running NodeRed on a device, correct? I just want to make sure that I only have to have Home Assistant installed on my Raspberry Pi and not both.
2. What brand of door/window sensors & what brand of motion cameras are you using that you've integrated into Home Assistant? I'm currently looking into buying Wyze Motion Sensor Cams for my cameras and Tuya/Smart Life door/window sensors, both of which don't appear to be fully integrate-able into the Home Assistant environment from the information & discussions I've found.
I'm using the node red add-on for hassio. It installs node red on the same raspberry pi as HA.
I use diy mqtt sensors (see my other videos) and a rtsp NVR. But other people have had plenty of success using rf sensors and a sonoff rf bridge (dr zzs) has a great video on that.
Awesome, thanks for confirming!