No video

Node-RED + Home Assistant How-To

  Рет қаралды 464,191

The Hook Up

The Hook Up

Күн бұрын

Пікірлер: 392
@MartinPugh
@MartinPugh 6 жыл бұрын
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.
@brycemyles2010
@brycemyles2010 5 жыл бұрын
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
@romanykemp9042
@romanykemp9042 3 жыл бұрын
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...
@bw5792
@bw5792 5 жыл бұрын
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.
@maxd7228
@maxd7228 6 жыл бұрын
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 KZfaq 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.
@TheHookUp
@TheHookUp 6 жыл бұрын
I'll tell him to throw the link in the description
@davecoburn6603
@davecoburn6603 6 жыл бұрын
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.
@pauldusa
@pauldusa 5 жыл бұрын
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.....
@redwez1982
@redwez1982 5 жыл бұрын
this is how you do quality home automation tutorial videos!
@mysticaltech
@mysticaltech 4 жыл бұрын
Damn, you created a full blow alarm system! Good job bro, this is awesomely overkill. Love it!
@MAKERDEMY
@MAKERDEMY 4 жыл бұрын
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
@JoshuaSaundersAtLarge
@JoshuaSaundersAtLarge 4 жыл бұрын
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.
@overtheedge23
@overtheedge23 6 жыл бұрын
Oh man. I am so going to over engineer our new house it is going to be my end.
@TheHookUp
@TheHookUp 6 жыл бұрын
As long as you're having fun doing it!
@overtheedge23
@overtheedge23 6 жыл бұрын
The Hook Up the wife approval index is low on this matter!
@TheHookUp
@TheHookUp 6 жыл бұрын
over-engineering doesn't have to be over-complicated!
@talesmaschio
@talesmaschio 4 жыл бұрын
Same here!
@michaelstarks7029
@michaelstarks7029 4 жыл бұрын
I may or may not have had to debug the Christmas tree.
@NahYeahMate
@NahYeahMate 6 жыл бұрын
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!
@digiblur
@digiblur 6 жыл бұрын
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.
@TheHookUp
@TheHookUp 6 жыл бұрын
Those are great suggestions. Sounds like a job for the trigger node.
@pangit9999
@pangit9999 6 жыл бұрын
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
@digiblur
@digiblur 6 жыл бұрын
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
@Antics253
@Antics253 3 жыл бұрын
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!
@skibird7733
@skibird7733 Жыл бұрын
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!
@RobertoCarvalho-0
@RobertoCarvalho-0 6 жыл бұрын
God that a lot to process, yet loving it. Can't wait for the dashboard one though
@kumwamd
@kumwamd 6 жыл бұрын
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!!
@pangit9999
@pangit9999 6 жыл бұрын
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!
@JoseAlcerreca
@JoseAlcerreca 5 жыл бұрын
Exactly what I needed to understand how node-red integrates with home assistant. Thanks.
@sarthakvarshney
@sarthakvarshney 2 жыл бұрын
Thats one hell of automation you did out there. Kudos to you.
@J27ODP
@J27ODP 2 жыл бұрын
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 KZfaq. 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!
@martijn_1282
@martijn_1282 6 жыл бұрын
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!!
@TheHookUp
@TheHookUp 6 жыл бұрын
Exactly the kind of thing I like to hear!
@superochoo
@superochoo 5 жыл бұрын
Maybe you guys know where to find someone who would set this up for me for a few bucks?
@Rickr522
@Rickr522 6 жыл бұрын
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....
@Patrick_McFadin
@Patrick_McFadin 4 жыл бұрын
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!!!!
@jcasari1
@jcasari1 6 жыл бұрын
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!
@KyleNiewiada
@KyleNiewiada 6 жыл бұрын
Thanks for this video! It helped optimize a few flows using presence detection.
@akanegally
@akanegally 2 жыл бұрын
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!
@Sebastianimator
@Sebastianimator 5 жыл бұрын
Fantastic video and a great explanation of the nodes and their scope. Really great way to get started in NodeRED!
@bigbluetaurus
@bigbluetaurus 3 жыл бұрын
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!
@neilausten9404
@neilausten9404 4 жыл бұрын
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.
@jamescullins2709
@jamescullins2709 5 жыл бұрын
Outstanding video, I have learned more from this the dozen or so others I have watched. Thanks
@KerboOnYT
@KerboOnYT 6 жыл бұрын
Great video! I've been wanting to dive into node-red and this was a good overview
@TheHookUp
@TheHookUp 6 жыл бұрын
Thanks!
@JohnVanderbeck
@JohnVanderbeck 2 жыл бұрын
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.
@-.Matthew77
@-.Matthew77 5 жыл бұрын
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!
@jhavens12
@jhavens12 6 жыл бұрын
Thanks for this video, its is awesome and is so much more accessible than the yaml files
@marcusone1
@marcusone1 5 жыл бұрын
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.
@tommh44
@tommh44 6 жыл бұрын
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
@TheHookUp
@TheHookUp 6 жыл бұрын
That will be included in my next video.
@satheeshbabub9762
@satheeshbabub9762 4 жыл бұрын
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..
@Jthomas22a
@Jthomas22a 2 жыл бұрын
Thank you very much for the video, explanation, and codes.
@alanmccormick6911
@alanmccormick6911 6 жыл бұрын
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.
@TheHookUp
@TheHookUp 6 жыл бұрын
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.
@alanmccormick6911
@alanmccormick6911 6 жыл бұрын
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)
@0Pain0Gain
@0Pain0Gain 4 жыл бұрын
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!!!
@RyanDurbin10
@RyanDurbin10 6 жыл бұрын
Omg thank you so much!!! Exactly what I needed
@jaimevaldez3058
@jaimevaldez3058 5 жыл бұрын
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.
5 жыл бұрын
On our website we have manuals in Spanish for node red. Good work and I hope that my contribution can help other friends.
@ScottSchramm
@ScottSchramm 6 жыл бұрын
Very well produced. Thank you for this video.
@photelegy
@photelegy 2 жыл бұрын
❓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).
@cognitivesystemsconversati7196
@cognitivesystemsconversati7196 3 жыл бұрын
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!
@ravisawhney3111
@ravisawhney3111 5 жыл бұрын
Great video! Looking forward to implementing this.
@CyberWorx
@CyberWorx 4 жыл бұрын
Thanks a lot...U are taking NodeRed to God Mode
@DrMOOH-bw4dl
@DrMOOH-bw4dl 4 жыл бұрын
great video-tutorial! Helped me out a lot. Thanks!
@UcantBeSerious03
@UcantBeSerious03 5 жыл бұрын
what a trip that intro - killed it! Zz
@prapse
@prapse 6 жыл бұрын
great video, thank you. Really helped me to quickly get results with my hass & node red :-)
@MrDingleberry31
@MrDingleberry31 Жыл бұрын
Wow. Thanks!! Great start
@philippeaudet
@philippeaudet 6 жыл бұрын
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'
@gregma60
@gregma60 5 жыл бұрын
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.
@alexandrevenito1215
@alexandrevenito1215 6 жыл бұрын
Very nice video, and very good work! Thank you!
@DmitriyKhazansky
@DmitriyKhazansky 6 жыл бұрын
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.
@Decsus1
@Decsus1 26 күн бұрын
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
@derrickrrockwell
@derrickrrockwell 6 жыл бұрын
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!
@TheHookUp
@TheHookUp 6 жыл бұрын
That will be included in part 3. I actually just wrote the flow for the video today.
@mikeg3660
@mikeg3660 2 жыл бұрын
Great stuff, well presented….subscribed
@AliRaza-uk8mn
@AliRaza-uk8mn 5 жыл бұрын
Excellent video....any suggestions on android app for home assitant
@SBinVancouver
@SBinVancouver 2 жыл бұрын
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...
@marcelobranco6716
@marcelobranco6716 2 жыл бұрын
Fantastic video
@markrgriffin
@markrgriffin 5 жыл бұрын
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
@markrgriffin
@markrgriffin 5 жыл бұрын
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"}]
@leonhard5841
@leonhard5841 6 жыл бұрын
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.?
@TheHookUp
@TheHookUp 6 жыл бұрын
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.
@davecoburn6603
@davecoburn6603 6 жыл бұрын
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.
@ziomalZparafii
@ziomalZparafii 5 жыл бұрын
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!
@derekwit
@derekwit 5 ай бұрын
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?
@ivandomnich8260
@ivandomnich8260 4 жыл бұрын
Great video!
@MAKERDEMY
@MAKERDEMY 4 жыл бұрын
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
@durranels6148
@durranels6148 4 жыл бұрын
Hi, great tutorial. Can you do one on using NODE RED and arming/disarming an alarm via an apple watch?
@williamhicks2763
@williamhicks2763 7 ай бұрын
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.
@forster164
@forster164 5 жыл бұрын
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!!
@GnobarEl
@GnobarEl 6 жыл бұрын
Amazing Intro! Love it! You make me laugh!
@ianrobertson912
@ianrobertson912 6 жыл бұрын
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
@TheHookUp
@TheHookUp 6 жыл бұрын
Can you give me some specific examples of what you'd like to see in a "series for dummies"?
@comangus
@comangus 5 жыл бұрын
@@TheHookUp It will be nice a video of how did you set up the home precense
@ewarrin
@ewarrin 5 жыл бұрын
My life has been changed forever
@toptechman7449
@toptechman7449 4 жыл бұрын
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?
@maans2001
@maans2001 5 жыл бұрын
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
@sahasrad9525
@sahasrad9525 2 жыл бұрын
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
@dretwav
@dretwav 2 жыл бұрын
How do you detect when your phone is off Wi-Fi. You said that is how you set your boolean
@kevinpinheiro2485
@kevinpinheiro2485 4 жыл бұрын
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.
@MrArod1207
@MrArod1207 4 жыл бұрын
Do you think you could make a video or give some instruction on how to use google wifi as home presence? Love the videos
@JimBell20
@JimBell20 2 жыл бұрын
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.
@JimmieMcCullough
@JimmieMcCullough 5 жыл бұрын
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.
@TheHookUp
@TheHookUp 5 жыл бұрын
Yep, that's another option. I think I use that solution in another one of my videos (maybe the 3rd node red one?).
@adrianoftyriel
@adrianoftyriel 3 жыл бұрын
FYI, I ran into issues with formatting my payload message to notifications, with an API error saying "Call-service API error. Error Message: extra keys not allowed @ data['0']" I had to format my notification JSON like this: "message": "{{payload}}",
@cjramseyer
@cjramseyer 5 жыл бұрын
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
@TulioCamargo179
@TulioCamargo179 6 жыл бұрын
Suggestion to another video, some automations with volumio, TTS or xiaomi products. Thank you for the videos!
@TheHookUp
@TheHookUp 6 жыл бұрын
I currently don't have any xiaomi stuff, but there will be TTS in the next video.
@shaunwhiteley3544
@shaunwhiteley3544 6 жыл бұрын
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
@ReevansElectro
@ReevansElectro 6 жыл бұрын
Please include Google Home in your automation projects and consider Apple Home too.
@TheHookUp
@TheHookUp 6 жыл бұрын
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.
@StephenMannUSA
@StephenMannUSA 6 жыл бұрын
How do you detect the phones are connected to the home WiFi in Node Red?
@MrBlade2021
@MrBlade2021 5 жыл бұрын
You do this with device_tracker on Home Assistant.
@matthiasgehrmann1573
@matthiasgehrmann1573 2 жыл бұрын
wow ... great !
@jonmiles4637
@jonmiles4637 5 жыл бұрын
Is there a possibility of a video of how you created the whole alarm system? with the integrations between node red and HA?
@brianrozs3br
@brianrozs3br 5 жыл бұрын
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?
@TheHookUp
@TheHookUp 5 жыл бұрын
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
@yeganquan
@yeganquan 4 жыл бұрын
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?
@Zod_JB
@Zod_JB 5 жыл бұрын
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?
@RC_Raceway
@RC_Raceway 5 жыл бұрын
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.
@TomasVaskelavlog
@TomasVaskelavlog 3 жыл бұрын
can someone point to a tutorial for actual HA and Node-Red beginners because pretty much all videos on this hookup channel are for intermediate or advanced users. Many aspects of this video assume me to know how to do many steps: 1. setup input boolean for the phone as the house occupied 2. Setup toggle when phone connects/disconnect from the wifi 3. cannot follow instructions to set up events state node because I do not see entity ID as input.boolean of any kind 4. I am new to JSON and would love to use services function in HA however in my case when I select service type I do not get any option to choose an entity on most (not all) service types. could someone explain why? all those questions just from the first 5 minutes of the video... any help here would be greatly appreciated. I have been searching all over the internet for any tutorial for node-red and HA but nothing for actual beginners available.
@brycemyles2010
@brycemyles2010 4 жыл бұрын
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
@bucklelanefarm
@bucklelanefarm 4 жыл бұрын
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.
@GillesvdHoven
@GillesvdHoven 4 жыл бұрын
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
@TheHookUp
@TheHookUp 4 жыл бұрын
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.
@GillesvdHoven
@GillesvdHoven 4 жыл бұрын
@@TheHookUp Good, then i start to understand Node-Red :)
@durranels6148
@durranels6148 4 жыл бұрын
Great tutorials, thanks. I have two MQTT brokers on my network, one for Home Assistant and one to manage my solar system. Can you give some advise on how to display some of the solar info from that MQTT on the LoveLace panel on my Home Assistant?
@TheHookUp
@TheHookUp 4 жыл бұрын
You can set up multiple brokers in node red. If you want you can just pipe 100% of the data from your solar system into your HA MQTT in node red, but I'm not sure I'd recommend that. Instead, I'd set up an MQTT in node with the specific topic you are looking to get data from on your solar MQTT and then pipe it into an MQTT out topic for your HA, then set up a mqtt sensor in HA to show the data from that topic.
@kitussan
@kitussan 5 жыл бұрын
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?
@alexdoan6943
@alexdoan6943 5 жыл бұрын
Will you ever make 'how to' videos about IoT (i.e. how to connect device to open-source platform)?
@JeffreyRutland
@JeffreyRutland 4 жыл бұрын
@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?
Node Red for Beginners - 2021 Edition (Using Home Assistant)
14:48
The Hook Up
Рет қаралды 370 М.
MQTT and Home Assistant: An Abridged Version
10:55
ResinChem Tech
Рет қаралды 3 М.
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 207 МЛН
Little brothers couldn't stay calm when they noticed a bin lorry #shorts
00:32
Fabiosa Best Lifehacks
Рет қаралды 20 МЛН
The Giant sleep in the town 👹🛏️🏡
00:24
Construction Site
Рет қаралды 20 МЛН
12 Of The Best Smart Home Automation Ideas!
20:14
Everything Smart Home
Рет қаралды 318 М.
Scrape ANY Data from ANY website in Home Assistant - TUTORIAL
16:24
Smart Home Junkie
Рет қаралды 32 М.
Beginners Guide to Node-RED in Home Assistant
27:10
Let's Automate
Рет қаралды 80 М.
Connecting Victron to Home Assistant using MQTT
17:38
Melon Monkey Garage
Рет қаралды 14 М.
Meet Spook. A new toolbox for Home Assistant. It's SCARY!
30:46
mostlychris
Рет қаралды 48 М.
Easily use ChatGPT in your Custom Automations! | Node-Red Tutorial
13:51
5 Home Assistant Automations For Better Smart Lights!
15:58
Everything Smart Home
Рет қаралды 133 М.
5 AUTOMATIONS everyone needs to know in Home Assistant
14:51
Smart Home Makers
Рет қаралды 33 М.
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 207 МЛН