Node-RED Tutorial | Basics of Nodes and Flows for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 มิ.ย. 2024
  • Creating automations in Node-RED can be confusing at first. I explain how understanding messages is the key to creating flows. I use some Home Assistant examples to get you started.
    Node-RED Playlist: • Node-RED
    Node-RED Documentation: nodered.org/docs/
    00:00 Intro
    01:36 How messages work in Node-RED
    02:09 Triggers for flows
    02:58 The basics explained - Inject and Debug Nodes
    04:51 Adding data to the message object
    06:33 Multiple nodes - adding both to a message
    07:34 Manipulating the message with the Change Node
    08:50 Adding Conditions
    10:22 Useful Example - 1 button press for multiple actions
    10:54 Summary / Recap - AND and OR Examples
    15:35 Other nodes - Switch, Counter, Sunset, Files
    16:06 Outro
    #nodered #homeassistant
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 7

  • @drreality1
    @drreality1 7 หลายเดือนก่อน

    Great introduction and ideas
    Thank you

  • @gambler3k
    @gambler3k 7 หลายเดือนก่อน

    Very good video

  • @thomasschreier1080
    @thomasschreier1080 3 หลายเดือนก่อน

    Great video, thank you!! I'm new to Node Red and try to play local MP3 on my Sonos Speakers. But there is no Instruction how to access local files and play them on Sonos. I managed to play "Online mp3s" over , but I have no idea what is different with the local HA files?

    • @lets-automate
      @lets-automate  3 หลายเดือนก่อน

      Hmm, I'm not sure tbh. Are you using this palette? If not, then probably worth a try: flows.nodered.org/node/node-red-contrib-sonos-plus
      Accessing local files within Node-RED is possible I'm just not sure how Sonos accesses those files.
      Are you using Node-RED standalone or with Home Assistant? It's likely running in a docker container and so only has access to specific folders.

    • @thomasschreier1080
      @thomasschreier1080 3 หลายเดือนก่อน

      @@lets-automate Thank you very much for your replay! The Sonos-plus palette is installed but I have exactly this question how can I access the local file system and play it from Sonos. I tried with web sound files over .... and this works but no idea how to play a local .mp3 file.

  • @SERANJEEVI_C
    @SERANJEEVI_C 7 หลายเดือนก่อน

    Hello sir, I have doubt....I have esp 32 and relay module,one touch module and on off switch . I have to combine with this to make esphome... switch will control on and off through home assistant it will perfectly work.....but when home assistant device will off and esphome will be work manual switch on ,off to turn on relay without contacting home assistant it works fine....but I have a issue with that " when the switch state is on in esp 32 when the power cut off happens and then power on device...in this case already switch will be on state....but relay output cannot auto on on after restart esp 32 device "
    Sir, you have give some solution for that or make a video to solve my issue......

    • @lets-automate
      @lets-automate  7 หลายเดือนก่อน

      Hello there!
      It's a bit complex to understand over this, but I think I get the idea.
      It would probably be best to put your current yaml config on the Home Assistant ESPHome forum and I'm sure people will help you fix your issue! Here's a link: community.home-assistant.io/c/esphome/36
      I have one ESPHome video and plan to do more, but it won't be for a little while.
      Thanks for watching!