Zigbee2MQTT Home Assistant: 2024 How To Guide for HAOS, UnRaid & Docker

Поділитися
Вставка
  • Опубліковано 28 вер 2024

КОМЕНТАРІ • 50

  • @JohnDoe1999-lg7mh
    @JohnDoe1999-lg7mh Місяць тому +1

    Thanks. I am creating a document for migrating from the SONOFF to the SMLIGHT device. Going to dot my ies and cross my tees several times before I do it. Just finished doing the FW updates on the SMLIGHT unit and did the 20240315 for the zigbee2mqtt side of it. Only have 39 devices but, want a smooth transition. A couple months back went from an 18U to 37U server rack upgrade. Got me proper rack mount UPSes in there and also got my cable modem and FW in there as well now. Have dual LAGG over fiber from my main switch to my other two switches. Another project will be to have high availability for my firewalls. Will be doing that all my my lab env and testing carefully before putting it into my working setup. It is just me, but I have to answer to myself. I don't want that. ;).

  • @JohnDoe1999-lg7mh
    @JohnDoe1999-lg7mh Місяць тому

    Just bought another SLZB-06 using your link from Aliexpress. Will be a spare and use in my LAB env for testing. As others say, watching your videos has me and my money parting.😄

    • @digiblurDIY
      @digiblurDIY  Місяць тому

      Luckily these aren't that expensive for what they are. Great little devices! We'd pay more than this for just a USB one a few years ago.

  • @Jaykav99
    @Jaykav99 Місяць тому +2

    just got the slzb-06 and 1 aqara sensor to test this out...def a go to video. No way would I have gotten it done without it.

    • @digiblurDIY
      @digiblurDIY  Місяць тому

      Nice! Glad to hear it worked!

  • @RodNBarbara
    @RodNBarbara Місяць тому

    Lol
    I watched your 2022 one first
    Then I open your tube after you walked me through settings and this popped up.
    You the man

  • @user-ic6xf
    @user-ic6xf 24 дні тому

    Great video! You should also do a video on the ZigStar UZG. Maybe even a comparison to the SMLIGHT SLZB-06.

    • @digiblurDIY
      @digiblurDIY  23 дні тому +1

      Haven't heard of that one. I will have to check it out.

  • @dboyd462
    @dboyd462 4 місяці тому +1

    I'd be interested in seeing a video on how you set up your ADSB server.

    • @digiblurDIY
      @digiblurDIY  4 місяці тому

      Awesome! I'd love to share that one, its an addicting hobby plus it lets me film on the roof ;)

  • @megachuggayoshi1142
    @megachuggayoshi1142 Місяць тому +1

    I have a SLZB-06M I had to add "adapter: ezsp" to the serial config for it to work

    • @digiblurDIY
      @digiblurDIY  Місяць тому

      Actually it should be
      adapter: ember
      For the stable version of Z2M
      www.zigbee2mqtt.io/guide/adapters/emberznet.html

  • @jordaynerjr
    @jordaynerjr 4 місяці тому +4

    If you want to run two stable versions You just slightly alter the repository link Add a slash in home assistant will show you another set of 3 mqtt

    • @digiblurDIY
      @digiblurDIY  4 місяці тому +1

      That's pretty funny. Nice trick!

  • @gadget1968
    @gadget1968 4 місяці тому +1

    Can you have two Zigbee Coordinator on the same same network if you have buildings separated by long distant no way to create a mesh as the two buildings are metal ... By the way great content ...

    • @digiblurDIY
      @digiblurDIY  4 місяці тому +1

      Yep. I hit on that in a couple spots. HAOS users can run both dev and regular easily. Others can just run as many as they want easily. Just change the base topic to something unique for each in the mqtt section.

  • @TimPM
    @TimPM 24 дні тому

    I have followed the installation part religiously but I keep getting the error you got in the log, even after changing the serial port and setting a channel.

    • @digiblurDIY
      @digiblurDIY  19 днів тому

      Which error?

    • @TimPM
      @TimPM 19 днів тому

      @@digiblurDIY about the /dev/TTYACM0 not being found but I redefined my config location and the 3rs time I did that it got recognized and now it works. Awesome tutorial and if got me to finally get it running!

  • @PHYSIC-aid-walleye
    @PHYSIC-aid-walleye 3 місяці тому

    Hey there, excellent video thank you. I'm running HA as a docker container, and have zigbee2MQTT + mosquitto running as docker containers too, similarly to your video. What are the correct steps to then get everything into HA from there? I can see in your HAOS section that you have a 'Zigbee' sidebar item that shows you the Zigbee2MQTT application (which I don't have in HA docker mode), and I'm confused as to if I should add the SM06 device into HA and then scan/find devices using that from within HA, or if I should solely rely on the Zigbee2MQTT application interface for all new device additions?

    • @digiblurDIY
      @digiblurDIY  3 місяці тому

      If you have Z2M posting to MQTT already, if you simply have the MQTT integration in HA connected to the same MQTT broker it will auto discover the devices. The sidebar is really just popping in an into HA which I don't do myself as it gets kinda messy and cramped.

  • @RamonDuarteGarriz
    @RamonDuarteGarriz Місяць тому

    Loving the video. But I'm stuck...
    I'm getting an error when I try to creat the zero byte passwd file.
    command "# docker exec -it mosquitto touch /mosquitto/config/passwd" gives me:
    "Error response from daemon: Container a2f8xxxa910 is not running"
    Did I miss a step?

    • @digiblurDIY
      @digiblurDIY  Місяць тому

      The container needs to be running.

    • @AlexT-o7u
      @AlexT-o7u Місяць тому

      Same exact issue.. seems the container won't start..
      cross post from my reddit post:
      I'm trying to set up zigbee2mqtt and mosquitto and am running into issues on both ends. Right now I am trying to add by Sonoff USB to zigbee2mqtt but it seems to be having issues
      Using '/app/data' as data directory
      Starting Zigbee2MQTT without watchdog.
      [2024-08-25 02:57:03] info: z2m: Logging to console, file (filename: log.log)
      [2024-08-25 02:57:03] info: z2m: Starting Zigbee2MQTT version 1.39.1 (commit #e132316)
      [2024-08-25 02:57:03] info: z2m: Starting zigbee-herdsman (0.55.3)
      [2024-08-25 02:57:03] error: zh:zstack:znp: Failed to determine if path is valid: 'Error: ENOENT: no such file or directory, lstat '/dev/serial''
      [2024-08-25 02:57:03] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_2aa90ada7dfded11b9370b65024206e6-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
      On the other side, I've been running into issues just starting up Mosquitto. According to this video ua-cam.com/video/3elyzOzd2lc/v-deo.html, 26:55 'option 2'. I cannot start the container and get
      1724578236: Config loaded from /mosquitto-unraid/include_dir.conf.
      1724578236: Error: Unable to open pwfile "/mosquitto/config/passwd".
      1724578236: Error opening password file "/mosquitto/config/passwd".
      Apparently I am supposed to set the password through the container bash but I can't start it.
      I get Error response from daemon: Container (container #) is not running
      Not sure what I am supposed to do on either end.. any help or ideas would be greatly appreciated!

    • @RamonDuarteGarriz
      @RamonDuarteGarriz Місяць тому

      I got around it by first allowing insecure mode so container could run. Then I completed the passwd file set up and disabled insecure after.

  • @marcusone1
    @marcusone1 4 місяці тому +1

    Note: there are a few devices that do not work on channel 25, very few, but some.

    • @digiblurDIY
      @digiblurDIY  4 місяці тому

      Interesting, I haven't run into those yet. I know the channel 26 thing has a lot of device and power issues then there was a line of devices that would only work on 15, 20 or 25. Can't remember them off the top of head.

    • @KrispKiwi
      @KrispKiwi Місяць тому

      Do you have examples?

  • @guidobizzarri746
    @guidobizzarri746 2 місяці тому

    unraid install mqtt where do I find it

    • @digiblurDIY
      @digiblurDIY  2 місяці тому +1

      cmccambridge/mosquitto-unraid - github.com/cmccambridge/mosquitto-unraid

    • @guidobizzarri746
      @guidobizzarri746 2 місяці тому

      @@digiblurDIY what should I open

    • @guidobizzarri746
      @guidobizzarri746 2 місяці тому

      h
      I missed in this part what should I install

  • @VastardokKukiao
    @VastardokKukiao 4 місяці тому

    brodie when are you reviewing reolink cx810

    • @digiblurDIY
      @digiblurDIY  4 місяці тому +1

      Reolink doesn't have any yet they said. I must not be on the cool kids list anymore. Being real and telling it like it is must not fly well.

  • @bor6803
    @bor6803 3 місяці тому

    I was running HA as a docker container on the same Pi that I have been running Homebridge. I went ahead and got an HA Green and had already ordered the SLZB06 POE from Ali and it took a while to get here. Got everything up and running now, got Z2MQTT up and devices paired. I have the old deconz ConBee II USB stick that I have plugged into the Pi, can I connect that to my HA Green and use it as a router? The SLZB06 and the HA green are on opposite ends of the house and I wanted a stronger signal in that part of the property. If I can so this, how in the heck do I start?

    • @digiblurDIY
      @digiblurDIY  3 місяці тому

      No experience with the conbee myself. If you can find a router firmware for it then it should be fine.

  • @stuffandthat7
    @stuffandthat7 3 місяці тому

    Could you configure the channel of the device before you bring it in to HA? Would that eliminate needing to delete the folder?

    • @digiblurDIY
      @digiblurDIY  3 місяці тому

      You could put that yaml file there first before you start it. It's about the same work.

  • @7MBoosted
    @7MBoosted 4 місяці тому

    I need feedback from the community. I have been a 2+ year user of ZHA with a sonoff zigbee 3.0 plus coordinator (Texas Instruments with the firmware flashed for greater capacity on the network). Just recently my ZHA network of about 30 devices with plenty of routers seems to have crapped out, a week everything was very stable connections and functioning had been pretty stable for 6mo or more. Then seemingly over night everything dropped off the network, I reconnected everything and it worked for a few days then the same stuff happened again. I haven't added new devices or changed any configuration. Do coordinator dongles just go bad? I got a different coordinator a Loamlin SMlight coordinator that was recommended by Z2M. What should I do? Bite the bullet and set up Z2M and see how that goes, should I still try and run ZHA with my sonoff dongle with a z2m network too, or should I try and move my network from the sonoff to smlight in ZHA?

    • @digiblurDIY
      @digiblurDIY  4 місяці тому

      What ZStack firmware version?

    • @7MBoosted
      @7MBoosted 4 місяці тому

      I think my previous attempts to share my firmware version were flagged somehow and never got posted. The version my coordinator is on is 20220219

    • @7MBoosted
      @7MBoosted 3 місяці тому

      I guess it is probably safe to say I should update the firmware on my sonoff dongle.

  • @Plaasboerseun
    @Plaasboerseun 3 місяці тому

    Can you post a link to the conversation about why you pin to cmccambridge/mosquitto-unraid:2.0.15?

    • @digiblurDIY
      @digiblurDIY  3 місяці тому

      github.com/eclipse/mosquitto/issues/2887
      There was a fixed mentioned but it didn't seem to work in my case.