Node-Red in Docker with Home Assistant!!

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024

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

  • @IvarBredesen
    @IvarBredesen 4 ปีที่แล้ว +10

    Excellent content as always, keep it up! :) One note however, please consider purchasing a better microphone and also please adjust the audio levels between your voice recording and the music. The music is LOUD lol

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

      I know, I apologize for that. I have several different mics im trying out as well as trying some different software to manage the recording, just to see if it will make a difference. Please bear with me!

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

    Thank you.

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

    Too bad your Home Assistant is not in Docker too. It makes a lot of things much more difficult to set up and troubleshoot.

  • @magnusblomqvist4571
    @magnusblomqvist4571 4 ปีที่แล้ว +2

    I had to add
    volumes:
    - /etc/localtime:/etc/localtime:ro
    to get Node_Red use the docker host time. It's annoying to have the wrong time in the log-files.

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

      interesting, I didnt even think about that. Good call!

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

      I noticed this as well ... can you do this after you created the container and how ? I don`t want to redo it again as I have moved all my flows from HA node-red to the synology container one.

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

    Excellent tutorial. Many thanks.

  • @theshazman
    @theshazman ปีที่แล้ว

    I cannot for the life of me get Simple Icons to work. I pulled it from HACS, added it to integrations but nothing "si:name" is resolving. I read something about HA changing how they store icon matrices or something of that sort. Would be awesome if you can make a video on that. Thanks for the great content.

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

      Ill work on getting something in place

  • @TheWebgecko
    @TheWebgecko ปีที่แล้ว

    If I already have home assistant in a container, how can I make this work? I tried replacing my ha container with a ha service in docker-compose but something went wrong. :/

    • @BurnsHA
      @BurnsHA  ปีที่แล้ว

      Just to confirm, you are running home assistant in docker currently? What problem are you having exactly? Have you installed the node-red docker container? Feel free to shoot me an email at burnshomeautomation@gmail.com if that would be easier

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

    long intros, short video parts when typing... you are also missing completely the part on how to open nodred... the moment I add the doken I get Invalid access... so clearly something is wrong or it has changed over time.
    Guide is pretty useless nowadays

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

      I agree that a newer version of this video needs to be produced since Node-red has been updated quite a bit. I will see if I can't get something put together.

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

    Good video - but get yourself a better mike - i think your clips deserve it!

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

      thanks for the comment!

  • @Gearhead9415Gaming
    @Gearhead9415Gaming ปีที่แล้ว

    i followed along but i can not get my home assist entitys showing in node red im using unraid if that helps both are in docker containers

    • @BurnsHA
      @BurnsHA  ปีที่แล้ว

      did you select the right server, a lot of times, there is multiple servers listed and you need to make sure that you have the right one selected by default.

    • @Gearhead9415Gaming
      @Gearhead9415Gaming ปีที่แล้ว

      @@BurnsHA I only see one when I tried

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

    Thanks! More docker-compose guides! I cant start the container :
    Error: EACCES: permission denied, copyfile '/usr/src/node-red/node_modules/node-red/settings.js' -> '/data/settings.js'

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

      show me the exact command you are trying to run

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

    The sound is terrible.

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

      sorry, ill keep working on it. thanks for the comment!

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

    Hai... im new to home Assistant. Previously run my ha on rpi4 from sd card. After 3 months, the sd card fail. Now i running on usb ssd.
    Thanks to your video, just now i manage to get my node red to work with my home assistant. Now i able to send telegram notification if my house current Consumption more than 15amp.

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

      thats great news! glad I was able to help!

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

    I had some problems: I installed HA in an old notebook, with UBUNTU. Installed the NODE-RED server, and I can run it on a sepparate window. I can not create an icon in the HA dashboard. The panel_frame.yaml I have created its not accessable to me. How can I solve it?

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

      when you say its not accessible, what do you mean? Do you get an error? Are you using Home Assistant with SSL or just standard http and tcp/8123?

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

    What is the difference between your type of integration of Node-RED and the Node-RED installation available in the Home Assistant Supervised Add-on Store? Are there any disadvantages with either?

    • @B-a_s-H
      @B-a_s-H 2 ปีที่แล้ว +1

      If you use the addon then node-red gets installed on the same machine as homeassistant. This might or might not be desirable.

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

    Thank you for the content, one question is about the HACS tab you got in your HA. I'm using IOTstack and I can't find the Node-Red Integration in the integrations menu. How did you apply this community tab to find the Node-red integration?

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

      so did you do the installation in HACS for the node red companion? That must be done first, and then you should be able to go into integrations and see it there as well.

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

    Thanks for the video, it was really helpful.
    I can´t open Node-red from the side panel when I'm connecting to home assistant thru nabucasa. I guess it has to do whit the ports not being open right? Is this possible to do without opening ports on the router?
    Thank you

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

      if you are using nabu casa, im not sure that it is allowed, only certain add-ons are able to be used through the cloud service, ill do some checking.

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

    Thank you for your videos, they're helping! one question tho: that looks like a zwave door sensor(fibaro) :) which external zwave integration do you use? and why?

    • @BurnsHA
      @BurnsHA  3 ปีที่แล้ว +1

      currently I use smartthings for zwave/zigbee stuff. Mainly because the smartthings hub was one of the first things I ever bought when I started looking at smart home tech. I have a zwave usb stick that I plan to move to at some point, but just havent had time to work on it. As for smartthings, though its obviously cloud-based, its extremely solid and never have any issues with it.

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

    I came across a thing: I use Node red for executing some bash commands, like enabling a plex container or executing some sh scripts from HA.
    I've seen there is a chance to execute commands from inside the container, although is not advisable and obviously against docker isolation phylosophy.
    Can you tell me how can I execute bash commands on the host securely?
    Thanks for your videos!!!

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

      Just to clarify, you want to use Node-Red to execute a bash command on the docker host machine?

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

      @@BurnsHA yes

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

    Hey - I've followed all of your videos for a long time. Ive been using node-red for a couple of years and HA for longer. Both are in Docker containers using volumes to communicate. It is easy to run this way. I did not integrate it into HA mostly because I didn't realize you could. I extensively use NR and HA for automations and find it easy to use both in a kinda symbiotic relationship ( docker makes this simple ). I use Visual Studio Code to maintain all of it on my dedicated docker host system ( I'm a Mac person but find it easier to run Docker on a linux machine using docker-compose ). I will try your externally clear video to test the setup. MY QUESION IS: Can you easily use Visual Studio Code to maintain the system using your implementation.... Thanks - You Do Great Work - Keep it up!!!!

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

      As far as I know, you should be able to use Visual Studio Code just fine to maintain this setup. I haven't done it personally, but I don't see why it wouldnt work. If you do end up trying it let me know, I am curious.

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

    thank you very much. worked great, even without docker compose in my setup. thx

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

      Thats awesome, glad it helped!

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

    Great video! I'm new to Docker. Is it possible to deploy node-red container from a stacks inside portainer, instead of using docker-compose? I'm having some permission errors when trying to write to the server (Error: EACCES: permission denied, copyfile '/usr/src/node-red/node_modules/node-red/settings.js' -> '/data/settings.js') Any thoughts? Thanks in advance!

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

      yes, you should be able to, I havent played around with it much. Let me do some checking and I will let you know.

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

      @@BurnsHA That will be great! Thanks!! I'm really out of ideas, I try many things but nothing seems to work. I'm running Docker in Ubuntu on a virtual environment. This is the command: sudo docker run -it -p 1880:1880 -v /srv/homeautomation/nodered:/data --name nodered nodered/node-red

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

      ​@@BurnsHAI ended up using named data volumes to shared data outside the container. It is working now! Found this option in node red documentation.

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

    I am unable to get the Node-Red Icon. I didn't care about it until i installed the simple icon integration now I do. Any thoughts?

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

      what do you mean you can't get the node-red icon? it just comes up blank?

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

      @@BurnsHA correct

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

    got node red up and running but can't seem to add it to my HA sidebar. I don't have that panel_.yaml file. I created it and copied the yaml in but HA doesn't add it to the bar after a restart.
    Any ideas?

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

      in side your configuration.yaml file, do you have a section that points to that panel_.yaml?
      panel_: !include panel_.yaml

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

      You can also define your iFrames directly in Configuration.yaml. Create a new "panel_" section as below, and add your frame detail.
      panel_:
      nodered:
      title: 'Node-Red'
      url: ':1880'
      icon: mdi:sitemap

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

    Dead easy to work through. Thanks for the clear instructions!

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

      awesome, glad it helped! thanks for the comment!

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

    I followed along and node red and HA are talking and connected, but when putting an entity name it i do not get a list of the entities. Am i missing something?

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

      do you see anything in the logs?

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

      @@BurnsHA Just saw this, thanks for the response. I got it working. Since im using node red on unraid in a docker there a little difference to this. I found the 2 were not talking to each other because of missing the HTTP:// in the address settings. Thanks for the response.

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

    Excellent video - helped me a lot!

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

      Glad it helped!

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

    Is there a reason to instal node red as per this video as opposed to installing via the home assistant integration?

    • @BurnsHA
      @BurnsHA  4 ปีที่แล้ว +2

      are you talking about the HASSIO addon?

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

      BurnsHA oh right, yeah. I’ve always connected the two.

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

    Thanks Adrian. Good video.

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

      thanks for the comment!

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

    Great video - I tried looking up your docker-compose file on github, but it seems to be a bit outdated? Any chance to share your latest config?
    Cheers!

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

      yes, I need to really get my github updated, ill see if I can't get something up there soon.