Node-RED + Home Assistant How-To

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ค. 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.

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

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

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

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

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

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

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

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

  • @redwez1982
    @redwez1982 5 ปีที่แล้ว +9

    this is how you do quality home automation tutorial videos!

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

  • @RobertoCarvalho-0
    @RobertoCarvalho-0 6 ปีที่แล้ว +5

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

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

  • @Sebastianimator
    @Sebastianimator 5 ปีที่แล้ว

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

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

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

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

  • @jamescullins2709
    @jamescullins2709 5 ปีที่แล้ว

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

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

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

  • @jhavens12
    @jhavens12 6 ปีที่แล้ว +3

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

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

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

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

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

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

  • @RyanDurbin10
    @RyanDurbin10 6 ปีที่แล้ว +1

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

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

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

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

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

  • @ScottSchramm
    @ScottSchramm 6 ปีที่แล้ว

    Very well produced. Thank you for this video.

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

  • @Jthomas22a
    @Jthomas22a 2 ปีที่แล้ว

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

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

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

  • @DrMOOH-bw4dl
    @DrMOOH-bw4dl 4 ปีที่แล้ว

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

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

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

  • @prapse
    @prapse 6 ปีที่แล้ว +1

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

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

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

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

  • @durranels6148
    @durranels6148 4 ปีที่แล้ว

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

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

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

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

  • @MrDingleberry31
    @MrDingleberry31 11 หลายเดือนก่อน

    Wow. Thanks!! Great start

  • @GnobarEl
    @GnobarEl 6 ปีที่แล้ว

    Amazing Intro! Love it! You make me laugh!

  • @AliRaza-uk8mn
    @AliRaza-uk8mn 5 ปีที่แล้ว +2

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

  • @alexandrevenito1215
    @alexandrevenito1215 6 ปีที่แล้ว

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

  • @mikeg3660
    @mikeg3660 2 ปีที่แล้ว

    Great stuff, well presented….subscribed

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

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

  • @alexdoan6943
    @alexdoan6943 5 ปีที่แล้ว

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

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

  • @sheminasalam
    @sheminasalam 5 ปีที่แล้ว

    hi there friends. I have a number of lights inside and outside my house that is integrated to home assistant. I am looking for a different aspect with turning all these lights on. i have created a group to switch on all the lights and it works perfectly but the problem is with switching off. During night time some of the lights will already be ON when i toggle group on switch but when i switch off its turns off all the lights including ones which were previously on too. that is not good. so can anybody suggest me a mechanism which would only switch off lights that was in off condition during when the group on switch was activated, leaving rest on.
    can anybody help me build a nodered flow which will when on calling an input Boolean on will trigger all lights on and when the same input Boolean is called off will only switch off lights which was having previous state as Off.

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

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

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

  • @derekwit
    @derekwit 4 หลายเดือนก่อน

    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?

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

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

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

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

  • @UcantBeSerious03
    @UcantBeSerious03 4 ปีที่แล้ว +1

    what a trip that intro - killed it! Zz

  • @cordemooij4438
    @cordemooij4438 4 ปีที่แล้ว

    Hey. i want to make a night switch to turn off all tasmota lighting in nodred. do you have an example of this? gr from the netherlands

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

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

  • @jujuju1008
    @jujuju1008 4 ปีที่แล้ว

    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

  • @CyberWorx
    @CyberWorx 4 ปีที่แล้ว

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

  • @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 4 ปีที่แล้ว +14

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

  • @williamhicks2763
    @williamhicks2763 6 หลายเดือนก่อน

    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.

  • @timdeloddere5966
    @timdeloddere5966 3 ปีที่แล้ว

    Hi, like your video's verry much! Can I ask you a technical question regarding Nodered in Hassio?

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

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

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

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

  • @bergetun
    @bergetun 3 ปีที่แล้ว

    Thanks for a great video. How to i get json output for the Services on the Developer tool. I only get yaml as service output :(

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

  • @photelegy
    @photelegy 2 ปีที่แล้ว +1

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

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

  •  4 ปีที่แล้ว

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

  • @miguelrafael7771
    @miguelrafael7771 4 ปีที่แล้ว

    how can you create a new local entity? (not related to existing devices)

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

  • @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}}",

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

  • @dretwav
    @dretwav 2 ปีที่แล้ว

    How do you detect when your phone is off Wi-Fi. You said that is how you set your boolean

  • @L0e0e0L
    @L0e0e0L 4 ปีที่แล้ว

    Thank you very much for your video. I already made quite nice flow for my girlfriend, that is checking traffic (using api) and sending info if trains are delayed or canceled or there is something on the way. Also she can snooze those with actionable button. I can share the flow if someone will be interested. However what I don't like is the fact, that she can't see those messages retrospectively in case she "swipe right". Any idea how to see that? :) Or maybe how to send it to the notifications in home assistant?

  • @nazzymac
    @nazzymac 4 ปีที่แล้ว

    Can you do a tutorial for HomeBridge that would be great

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

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