Beginners Guide to Node-RED in Home Assistant

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025

Комментарии • 47

  • @davidleney2955
    @davidleney2955 Год назад +11

    Very nice. I like the way you explain things clearly and slowly for us just starting out with node red.

  • @MrGatya2
    @MrGatya2 Год назад +3

    I am surprised you don't have more likes and subscribes. This was an excellently done tutorial. Thank you!

  • @excimer78
    @excimer78 3 месяца назад

    Very good video. You did put in a simple way to explain Node Red.

  • @gavbag1234
    @gavbag1234 21 день назад

    Thanks sincerely for this mate this is exactly the intro I was hoping for. Fantastic vid.

  • @phlo2009
    @phlo2009 10 месяцев назад

    Great tutorial for beginners like me. Thanks.

  • @TrockeyTrockey
    @TrockeyTrockey 10 месяцев назад

    Thanks for basic instruction - very helpful!

  • @bjarkesoegaard
    @bjarkesoegaard Год назад

    Thank you for your content - I really like the presentation of nodes - as you conclude this only scratched the surface 🙂

    • @lets-automate
      @lets-automate  Год назад

      Thank you. I plan to do some more content on Node-RED in the coming weeks and months.

  • @scottvickrey2743
    @scottvickrey2743 8 месяцев назад +1

    I was so happy to see node red in here I was dreading using HA's Automations. I love node red just could never afford a hosted solution, or the security ramifications of self hosted. I will never open a port again!

  • @keviincosmos
    @keviincosmos Год назад

    THANKS!!
    Needed this! Hope for more good NR stuff

    • @lets-automate
      @lets-automate  Год назад +1

      Thanks for the comment! I actually do have another Node-RED one coming out on Saturday.

  • @Oscar230
    @Oscar230 2 месяца назад

    Thanks, this is really inspiring!

  • @useruser-yp2sj
    @useruser-yp2sj Месяц назад

    Thank you verry much 👍 🇳🇱

  • @RaymondKnapp-d3h
    @RaymondKnapp-d3h 11 месяцев назад

    Thank you for producing this video. I now have node-red set up. Now I do have a question, being new to home assistant I would like to set up the ssl. I have no idea how to do that. I would also like to see examples of how to code using nod-red. I you have a video or can refer me to one it would be great. I am a retired computer programmer but have been out of it for years. Thank you for your assistance. Ray

    • @lets-automate
      @lets-automate  11 месяцев назад

      Thanks for the comment!
      The easiest way to set up SSL for Home Assistant is to use "Home Assistant Cloud" by Nabu Casa. It's about $5 per month but supports the Home Assistant project.
      It also make linking to Alexa or Google easier.
      The alternative is buying your own SSL certificate and messing around with Google Console and creating an app, they creating a CSR. It's totally doable but not simple and takes a little while. Once setup, you then have to do something each year to renew the certificate with this approach.
      For examples of code with Node-RED, it might be worth checking out my Node-RED playlist. I have a couple of videos on things such as the Function Node and calling an API.
      Hope this helps!

    • @JanA-yb8lh
      @JanA-yb8lh 11 месяцев назад

      You can also create a "self-signed" certificate for free and upload that in the config screen. That should be fine for personal use. There are numerous tutorials available on how to do that.

  • @nochannel3005
    @nochannel3005 10 месяцев назад

    very helpful! Thanks so much!

  • @krisdevoecht
    @krisdevoecht 3 месяца назад

    Thanks for a good explanation!

  • @MaroGLC
    @MaroGLC Год назад

    Very nice introduction to NodeRed, i just started my adventure with this powerful tool and hope for more guides from you.

  • @ronyskid
    @ronyskid Год назад

    PERFECT Starter!

  • @mikealport2065
    @mikealport2065 4 месяца назад

    Any chance of your sharing the configuration options you used for your " Send Notification to Marc" node?

    • @lets-automate
      @lets-automate  3 месяца назад

      Sorry for the (very) late reply! Do you still want this config? It calls the Home Assistant "notify" service. Are you using Home Assistant with Node-RED, or were you hoping it would just send a notification directly from Node-RED?

  • @michaels7828
    @michaels7828 4 месяца назад

    Thank you very much for your video.

  • @nicoladellino8124
    @nicoladellino8124 Год назад

    Very useful video, THX.

  • @MaxGoddur
    @MaxGoddur Год назад +1

    I have a flow as followes:
    Pir motion triggered "ON" if it is between 10am and 6pm allow the the "ON" to turn on the fan and send message to my cell phone. The problem is the fan remains on for the allowed time which is 10am to 6pm but any further motion on continues to send annoying messages to my cell. How do I get this to be a one time "message" everyday?

    • @lets-automate
      @lets-automate  Год назад +1

      Hey there. There are a couple of ways you could do it.
      I would say the simplest way is to use the delay node. It has a rate limiting mode whereby you could set this to only allow messages every x hours.
      Check out my 5 quick tips Node-RED video if you want to see a bit about it.
      Hope this helps!

  • @tudordan9194
    @tudordan9194 10 месяцев назад

    I noticed you had a formula 1 tab in node red, what related automation do you have over there? get a notification whenever Max doesn't win? :)))

    • @lets-automate
      @lets-automate  10 месяцев назад

      Haha. That would be a good one. I think I talk about it in one of my other Node-RED videos. Check out the playlist.
      I find that the Google Homes seem to think that F1 doesn't exist, so I created two custom scripts.
      One broadcasts the driving standings of the top 3 drivers with the points gap between them.
      The other tells me how long until the next race and sends a notification to my phone with the details.

  • @claudiogalinha
    @claudiogalinha 4 месяца назад

    Obrigado Bom trabalho

  • @sergevanhaudenhove9599
    @sergevanhaudenhove9599 Год назад

    Very good tutorial ! Thanks. Would it be possible to get a tutorial about sending email from Node Red ? I have seen some around but they were made about 3 years ago and doesn't seems to work anymore. But good job ;-)

    • @lets-automate
      @lets-automate  Год назад

      Hopefully my latest video will help you with what you are looking for!

  • @maciejweber4256
    @maciejweber4256 10 месяцев назад

    I just got the home assistant created (I am very new to all of this), but I don't even get the 'add-ons' tab in the settings menu... any ideas?

    • @lets-automate
      @lets-automate  10 месяцев назад

      It depends on whether you have installed Home Assistant OS? Docker install doesn't have the add-on store.
      If you are using HA OS then it could be due to profile settings.
      Go to your profile icon and ensure "Advanced Mode" is enabled.

  • @mfkhometheater7742
    @mfkhometheater7742 Год назад

    I'm still getting the, "FATAL: Please be sure to set the "credential_secret" option." even after entering and saving. I notice a "restart" option pops up on your screen but not on mine.
    Edit: I rebooted both the laptop I'm talking to Home Assistant with and also the Home Assistant NUC and then it was happy.

    • @lets-automate
      @lets-automate  Год назад +1

      Glad to hear you it sorted! I've not needed a reboot before for that bit that I can remember, but you're probably on a newer version than me now.
      Home Assistant often needs / likes a restart after installing integrations and add-ons etc!

  • @LiquidPlacidity
    @LiquidPlacidity Год назад

    You said we may wonder why you are only maintaining the car only every 2 months. I'm confused by this. I've never heard of anybody doing maintenance on their car this often. What exactly are you doing maintenance on that needs checking that frequently?

    • @lets-automate
      @lets-automate  Год назад

      Yeah, fair point. I know a lot of people who wait till their service to be told what's going on.
      The main thing I do is fill up screenwash, as it has nossles on the headlights too, so gets through a fair amount.
      But the other is checking tyres pressures as I prefer to ensure pressures are fairly even, especially in winter and also especially when some of the tyres are near the end of their tread. TPMS only really kicks in when they are way off.
      Gone are the days of manually checking oil levels really, thankfully!

  • @OGKenG
    @OGKenG Год назад +1

    This isn't very "beginner" level. You're assuming people already understand some of the basics.

    • @lets-automate
      @lets-automate  Год назад

      Hi, thanks for the feedback!
      What other elements would you have put in so that I can consider in future videos I create.

    • @droneforfun5384
      @droneforfun5384 4 месяца назад

      ”Call service. If you done automations in HA you know what call service is” 😂
      how to speak without saying a thing

  • @javierlindenthal6680
    @javierlindenthal6680 10 месяцев назад

    Seems rather useless to have node red unless you need actions

    • @BrettSeibert
      @BrettSeibert Месяц назад

      I’d argue that home assistant is rather useless, a sick joke, and a complete waste of fucking time. That’s just me though

  • @michaels7828
    @michaels7828 4 месяца назад

    I would like to get help on Node-RED configuration from you because I couldn't find it anywhere else. I install and (default, no-SSL) configured Node-RED ver. 18.0.5 from Add-On store of Home Assistant about a month ago. It didn't work initially, so I left it alone till now when I discovered that reason for not-working was following message s in the Node-RED Log:
    [14:13:11] INFO: Starting Node-RED...
    > start
    > node $NODE_OPTIONS node_modules/node-red/red.js --settings /etc/node-red/config.js
    27 Aug 14:13:13 - [info]
    Welcome to Node-RED
    ===================
    27 Aug 14:13:13 - [info] Node-RED version: v4.0.2
    27 Aug 14:13:13 - [info] Node.js version: v18.20.3
    27 Aug 14:13:13 - [info] Linux 6.1.54-v8+ arm64 LE
    27 Aug 14:13:14 - [info] Loading palette nodes
    27 Aug 14:13:15 - [info] Node-RED Contrib Theme Collection version: v4.0.8
    27 Aug 14:13:18 - [info] Dashboard version 3.6.5 started at /endpoint/ui
    27 Aug 14:13:20 - [info] Settings file : /etc/node-red/config.js
    27 Aug 14:13:20 - [info] Context store : 'default' [module=memory]
    27 Aug 14:13:20 - [info] User directory : /config/
    27 Aug 14:13:20 - [warn] Projects disabled : editorTheme.projects.enabled=false
    27 Aug 14:13:20 - [info] Flows file : /config/flows.json
    27 Aug 14:13:20 - [info] Server now running at 127.0.0.1:46836/
    27 Aug 14:13:20 - [warn]
    ---------------------------------------------------------------------
    Your flow credentials file is encrypted using a system-generated key.
    If the system-generated key is lost for any reason, your credentials
    file will not be recoverable, you will have to delete it and re-enter
    your credentials.
    You should set your own key using the 'credentialSecret' option in
    your settings file. Node-RED will then re-encrypt your credentials
    file using your chosen key the next time you deploy a change.
    ---------------------------------------------------------------------
    27 Aug 14:13:20 - [info] Starting flows
    27 Aug 14:13:20 - [error] [ha-entity-config:03141dd3886a8e74] Error: Invalid server config
    27 Aug 14:13:20 - [info] Started flows
    I couldn't find any solution for that problem.
    Please help.
    Thanks

    • @lets-automate
      @lets-automate  4 месяца назад

      Hi! I can't see a fatal error in those logs so it might still be loading. What happens when you press the "open Web ui" button in the add-on?
      Have you set a credential secret in the configuration tab? You also want to set username and password for http_node and http_static.
      I hope you get it working!