Node-RED + Home Assistant How-To

Поділитися
Вставка
  • Опубліковано 13 лип 2024
  • DrZzz Installing Node-RED Video: • NodeRed Hassio Install...
    Example Flow#1: github.com/thehookup/Node-RED...
    Example Flow #2: github.com/thehookup/Node-RED...
    Camera Snapshot Generic URL: YourHassioAddress.duckdns.org...
    iOS Push Notification YAML: github.com/thehookup/Node-RED...
    Actionable Notification Automation YAML: github.com/thehookup/Node-RED...
    Actionable Notification JSON: github.com/thehookup/Node-RED...
    Example Flow #3: github.com/thehookup/Node-RED...
    Support my channel:
    Patreon: / thehookup
    Tesla Refferal Code: www.tesla.com/referral/robert...
    Music by www.BenSound.com
  • Навчання та стиль

КОМЕНТАРІ • 391

  • @MartinPugh
    @MartinPugh 6 років тому +8

    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.

  • @bw5792
    @bw5792 5 років тому +1

    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.

  • @davecoburn6603
    @davecoburn6603 6 років тому +3

    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.

  • @RaniKorkise
    @RaniKorkise 6 років тому +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!

  • @redwez1982
    @redwez1982 5 років тому +9

    this is how you do quality home automation tutorial videos!

  • @maxd7228
    @maxd7228 6 років тому +2

    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 UA-cam 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 років тому +1

      I'll tell him to throw the link in the description

  • @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!!

  • @brycemyles2010
    @brycemyles2010 4 роки тому +1

    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

  • @pangit9999
    @pangit9999 6 років тому +1

    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!

  • @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!

  • @romanykemp9042
    @romanykemp9042 3 роки тому +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...

  • @RobertoCarvalho-0
    @RobertoCarvalho-0 6 років тому +5

    God that a lot to process, yet loving it. Can't wait for the dashboard one though

  • @JoseAlcerreca
    @JoseAlcerreca 5 років тому +4

    Exactly what I needed to understand how node-red integrates with home assistant. Thanks.

  • @KyleNiewiada
    @KyleNiewiada 6 років тому +1

    Thanks for this video! It helped optimize a few flows using presence detection.

  • @Sebastianimator
    @Sebastianimator 5 років тому

    Fantastic video and a great explanation of the nodes and their scope. Really great way to get started in NodeRED!

  • @jhavens12
    @jhavens12 6 років тому +3

    Thanks for this video, its is awesome and is so much more accessible than the yaml files

  • @-.Matthew77
    @-.Matthew77 5 років тому +2

    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!

  • @jamescullins2709
    @jamescullins2709 5 років тому

    Outstanding video, I have learned more from this the dozen or so others I have watched. Thanks

  • @mysticaltech
    @mysticaltech 4 роки тому +3

    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

  • @pauldusa
    @pauldusa 5 років тому +2

    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.....

  • @RyanDurbin10
    @RyanDurbin10 6 років тому +1

    Omg thank you so much!!! Exactly what I needed

  • @martijn_1282
    @martijn_1282 6 років тому +1

    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 років тому +1

      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!!!!

  • @KerboOnYT
    @KerboOnYT 6 років тому +1

    Great video! I've been wanting to dive into node-red and this was a good overview

  • @ravisawhney3111
    @ravisawhney3111 5 років тому

    Great video! Looking forward to implementing this.

  • @tommh44
    @tommh44 6 років тому +3

    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.

  • @sarthakvarshney
    @sarthakvarshney 2 роки тому

    Thats one hell of automation you did out there. Kudos to you.

  • @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.

  • @ScottSchramm
    @ScottSchramm 6 років тому

    Very well produced. Thank you for this video.

  • @prapse
    @prapse 6 років тому +1

    great video, thank you. Really helped me to quickly get results with my hass & node red :-)

  • @DrMOOH-bw4dl
    @DrMOOH-bw4dl 4 роки тому

    great video-tutorial! Helped me out a lot. Thanks!

  • @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!

  • @Jthomas22a
    @Jthomas22a 2 роки тому

    Thank you very much for the video, explanation, and codes.

  • @digiblur
    @digiblur 6 років тому +4

    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

  • @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!

  • @GnobarEl
    @GnobarEl 6 років тому

    Amazing Intro! Love it! You make me laugh!

  • @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.

  • @alexandrevenito1215
    @alexandrevenito1215 5 років тому

    Very nice video, and very good work! Thank you!

  • @MrDingleberry31
    @MrDingleberry31 11 місяців тому

    Wow. Thanks!! Great start

  • @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)

  • @mikeg3660
    @mikeg3660 2 роки тому

    Great stuff, well presented….subscribed

  • @overtheedge23
    @overtheedge23 6 років тому +133

    Oh man. I am so going to over engineer our new house it is going to be my end.

    • @TheHookUp
      @TheHookUp  6 років тому +6

      As long as you're having fun doing it!

    • @overtheedge23
      @overtheedge23 6 років тому +18

      The Hook Up the wife approval index is low on this matter!

    • @TheHookUp
      @TheHookUp  6 років тому +12

      over-engineering doesn't have to be over-complicated!

    • @talesmaschio
      @talesmaschio 4 роки тому +1

      Same here!

    • @michaelstarks7029
      @michaelstarks7029 3 роки тому +14

      I may or may not have had to debug the Christmas tree.

  • @UcantBeSerious03
    @UcantBeSerious03 4 роки тому +1

    what a trip that intro - killed it! Zz

  • @CyberWorx
    @CyberWorx 4 роки тому

    Thanks a lot...U are taking NodeRed to God Mode

  • @jaimevaldez3058
    @jaimevaldez3058 5 років тому +2

    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.

  • @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.

  • @marcusone1
    @marcusone1 5 років тому +3

    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.

  • @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!

  • @satheeshbabub9762
    @satheeshbabub9762 4 роки тому +1

    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..

  • @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!

  • @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.

  • @marcelobranco6716
    @marcelobranco6716 2 роки тому +1

    Fantastic video

  • @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.

  • @AliRaza-uk8mn
    @AliRaza-uk8mn 5 років тому +2

    Excellent video....any suggestions on android app for home assitant

  • @J27ODP
    @J27ODP Рік тому +1

    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 UA-cam. 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!

  • @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'

  • @ivandomnich8260
    @ivandomnich8260 4 роки тому +2

    Great video!

    • @MAKERDEMY
      @MAKERDEMY 4 роки тому +1

      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

  • @maans2001
    @maans2001 5 років тому +2

    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

  • @ewarrin
    @ewarrin 5 років тому

    My life has been changed forever

  • @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.

  •  4 роки тому

    On our website we have manuals in Spanish for node red. Good work and I hope that my contribution can help other friends.

  • @durranels6148
    @durranels6148 4 роки тому

    Hi, great tutorial. Can you do one on using NODE RED and arming/disarming an alarm via an apple watch?

  • @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!!!

  • @matthiasgehrmann1573
    @matthiasgehrmann1573 2 роки тому

    wow ... great !

  • @shaunwhiteley3544
    @shaunwhiteley3544 6 років тому +1

    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

  • @ianrobertson912
    @ianrobertson912 6 років тому +1

    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

  • @alexdoan6943
    @alexdoan6943 5 років тому

    Will you ever make 'how to' videos about IoT (i.e. how to connect device to open-source platform)?

  • @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

  • @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?

  • @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

  • @forster164
    @forster164 4 роки тому +2

    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!!

  • @gregma60
    @gregma60 5 років тому +7

    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.

  • @jamjestlx
    @jamjestlx 5 років тому

    Awesome!

  • @kevinriordan188
    @kevinriordan188 4 роки тому

    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?

    • @MiroBoto
      @MiroBoto 4 роки тому

      community.home-assistant.io/t/home-away-switch-boolean-using-automation/106328

  • @markrgriffin
    @markrgriffin 5 років тому +1

    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"}]

  • @KingACF
    @KingACF 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.

  • @leonhard5841
    @leonhard5841 6 років тому +3

    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 років тому +4

      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!

  • @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

  • @vitorperez9213
    @vitorperez9213 5 років тому

    another question the part that activates the sires on the botton in the notificationcan you explain how we do it? or i miss something.
    best regards

  • @AINEET
    @AINEET 6 років тому

    Great video. Is there a point in recreating my presence boolean (if nmap or owntracks say home, it sets as on and when away sets as off) in node red or is it okay to just reference the end result when creating automations?

    • @TheHookUp
      @TheHookUp  6 років тому

      If it ain't broke don't fix it.

  • @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?

  • @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

  • @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?

  • @lokison22
    @lokison22 4 роки тому

    I have been watching your videos, and I love them! I have learned so much! One thing that is stumping me on this one (and probably a basic config that I missed)....under the "SERVICES" Tab in HA, I only have "Service Data (YAML,optional)" no JSON. How do I get the JSON to appear?

    • @TheHookUp
      @TheHookUp  4 роки тому +2

      That part of HA went away around version .92, I haven't found a suitable replacement for it yet.

    • @dougle03
      @dougle03 4 роки тому

      @@TheHookUp That's a real pain as I'm now properly stuck!

  • @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?

  • @ReevansElectro
    @ReevansElectro 6 років тому +1

    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.

  • @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.

  • @carvinariza563
    @carvinariza563 5 років тому

    Thanks i also love the way you explain things, i am wondering can you help me with android studio with node-red and NodeMCU

    • @TheHookUp
      @TheHookUp  5 років тому

      I'm not familiar with Amazon studio

    • @carvinariza563
      @carvinariza563 5 років тому

      okay can you help me set up my node-red or do you have private messaging

  • @Anton-cv2ti
    @Anton-cv2ti 6 років тому

    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!

    • @TheHookUp
      @TheHookUp  6 років тому +1

      Check out Dr. Zzs video on node-red, he talks more about the installation and general idea of it.

  • @brucecalder7752
    @brucecalder7752 5 років тому

    I love your videos and watch (and like) them often. I have a working nod-red installation that I want to put Home Assistant on but the only instructions I can find is using the Hass.io image, which I assume overwrites the SD card. Is there an install guide anywhere that describes how to install HA on an existing RasPi? Or can it even be done?
    Thanks and keep up the great work!

    • @TheHookUp
      @TheHookUp  5 років тому

      Hass.io is written to run on it's own OS (hassOS), so you won't be able to add it to a raspi. You could install it on a linux machine using a virtual machine, but there's no way to put it on an existing Raspi. There's a great node-red addon for hassio though if you decide to go that way.

    • @brucecalder7752
      @brucecalder7752 5 років тому

      Ok, thank you for the reply. So if I cannot apply Hass.io to a raspberry pi can I at least add node red to Hass.io.io? Or do I just need to use two separate pi’s? I have an extra one but was hoping to keep things simple.

    • @TheHookUp
      @TheHookUp  5 років тому

      Just one pi, hassio is essentially the os

  • @davidbeiler6364
    @davidbeiler6364 6 років тому

    this is awesome, what do you use for your siren?

    • @TheHookUp
      @TheHookUp  6 років тому

      I have 3 of these: amzn.to/2vyvofG
      one in the back yard, and one on each front corner of the house. NodeMCUs that are in charge of other stuff handle them as a secondary task.
      My shade nodeMCU runs the rear alarm, pool nodeMCU runs the front side alarm, and holiday house lights nodeMCU runs the other front side alarm.

  • @nazzymac
    @nazzymac 4 роки тому

    Can you do a tutorial for HomeBridge that would be great

  • @HOWDOI
    @HOWDOI 5 років тому

    mate i love the idea of node-red but i cant work it out for the life of me any help would be great

  • @caffeinatedmike6395
    @caffeinatedmike6395 5 років тому

    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.

    • @TheHookUp
      @TheHookUp  5 років тому

      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.

    • @caffeinatedmike6395
      @caffeinatedmike6395 5 років тому

      Awesome, thanks for confirming!

  • @morrydavis
    @morrydavis 4 роки тому

    When importing your flows it creates a server by the same name as one I already have yet it is different, thats confusing talking about Home Assistant server

  • @alfhome7798
    @alfhome7798 5 років тому

    noobie here do I need to back up the flows and how do I do it
    will HA snapshot backup the flows or just the node red add-on

  • @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?

  • @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

  • @CoreyWeider
    @CoreyWeider 6 років тому

    How do you display the status changes (like flow blocked @ time) that I see in your flows? Is that a palette you've added?

    • @TheHookUp
      @TheHookUp  6 років тому

      I think it's an older version of the HA node package. When I updated to a newer version it stopped working.