Goodbye Zigbee2mqtt...Hello ZHA

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

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

  • @timtaylor8557
    @timtaylor8557 2 года назад +12

    I wish this had been mentioned more online before I bought my Sonoff Zigbee 3.0 dongle but apparently the latest 'E' version of the dongle does not work 'well' with ZHA and caused me a lot of headache. You can't flash it using the instructions here as it uses an entirely different chipset. I ended up having to install the Zigbee2mqtt to get my devices to work. ZHA would not see any of my devices. BTW, I am using Aqara temp/humidity and door/window sensors. I would imagine some other brands of sensors may work on ZHA but Aqara did not and my understanding is that these are pretty popular with Home Assistant.

    • @ukaszswiderski3907
      @ukaszswiderski3907 2 года назад +6

      Strange I just bought Sonoff Zigbee 3.0 in E version, I put it into Raspberry Pi 4 and in ZHA it worked out of the box. Same with "Aqara temperature, humidity and pressure sensor" connected to that dongle by ZHA without any problem

    • @TheJulianJES
      @TheJulianJES 2 года назад +3

      The Sonoff Zigbee 3.0 Dongle "E" version uses a Silicon Labs chip instead of a Texas Instruments chip. So yes, it uses different firmware. Both the "P" and the "E" version work really well with ZHA. They are both plug-and-play if you're using any somewhat recent HA version.
      Zigbee2MQTT's Silicon Labs support (for the E-Dongle) is still marked as "experimental" but has been updated recently and should be more stable now.

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

      @@TheJulianJES I tried to use the "experimental" one with mine, and I couldn't get it to sync up with HA, so, I just used it with ZHA and gave up trying to get Zigbee2MQTT working on it. :| I wanted the MQTT on it cause currently Zigbee2MQTT has much more compatibility, but with ZHA being the Home Assistant standard, I can see it making strides in expanding compatibility down the road (hopefully).

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

      I have a lot of Aqara, seems to work better than against Deconz/Conbee II. I have the P-version of the Sonoff dongle that have Texas Instruments chip flashed with Z-Stack 3.x.0 coordinator firmware.

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

      @@ejoh1801 Since this post, I started having all kinds of problems with devices dropping and trying to add a repeater with no luck. I switched back to ZHA and everything has been working fine since.

  • @andor421
    @andor421 2 года назад +39

    I just migrated the other way around 😂. My experience comparing ZHA to Z2MQTT is that there are more device supported in Z2MQTT (for example the aqare mini button, it works with ZHA but you have to listen to custom events for single click, double click or long press.) Also more options of device are configurable like power outage memory in the TS011F plugs, you cannot set this option through ZHA. Also the map in Z2MQTT is a very powerful tool to build a reliable Zigbee mesh network.

    • @santaclaus1291
      @santaclaus1291 2 года назад +4

      same here. went through the valley of tears to migrate vom ZHA to Z2MQTT. The european stuff like Silvercrest LIDL devices etc. were lacking support in ZHA. Wonder, if I will ever go through the valley again and migrate back.

    • @KenGuest_IE
      @KenGuest_IE 2 года назад

      @@santaclaus1291 you're lucky re lidl silvercrest devices, if I guess right and are on the "main land"? Here in Ireland the only zigbee devices they occasionally sell are the light bulbs, plugs, and extension leads. I think you have a wider selection to choose from, if I'm not mistaken.

    • @TheJulianJES
      @TheJulianJES 2 года назад +2

      For the Aqara Mini Button, you don't have to listen for custom events. You should use "device automation triggers".
      So for anybody else that needs help with this: create a new automation, select "Device" as a trigger and then choose the button in the drop-down. You'll automatically presented with "single click", "double click", "long press" option with no need to listen for custom events.
      Using events instead of entities for button presses is the correct way of doing it, since the device is stateless and also only send events.

    • @TheJulianJES
      @TheJulianJES 2 года назад +2

      @@santaclaus1291 If you're ever switching back and have issues with device support, create an issue on the zha-device-handlers repo (that's where zha-quirks are located).
      But yes, supporting Tuya (Silvercrest is just rebranded Tuya Zigbee stuff) is horrible because they explicitly make it very hard to support and do not follow the Zigbee spec whatsoever.

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

      How did you migrate ? Any tutorial to do it and keep its automation/blueprints ... ?

  • @berkansezer
    @berkansezer Год назад +4

    I have moved from ZHA to Mqtt. What a relief!!! All of the dropouts have now disappeared. A more solid network. With the mqtt more entities have also appeared and paring procedures have also shortned. I remember spending more then a half hour on zha to pair aqara temperature sensor but with the mqtt it took only 10 seconds.

    • @SlackerLabs
      @SlackerLabs  Год назад +2

      Yea. I’ll be talking about this is an upcoming video….

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

    Thanks very much, super clear and easy to follow. I have 2 Sonoff dongles on the way which I don't think I need to flash but now I know how if I do, this method is much cleaner than the Windows method using Texas Instruments updater and needing to install a hardware driver.

  • @dr.curious5136
    @dr.curious5136 2 года назад +5

    ZHA is so much easier and faster to set up , I use the SONOFF Dongle 3.0 with a 6 foot extender usb cable , works flawlessly and i have around 40 Devices attached to it . Really stable when used with a extension cable , i find anyways

  • @hrithickmurugan8674
    @hrithickmurugan8674 2 года назад +1

    TNice tutorials helped sooo much!

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

    ZHA to Z2M for me. More stable and better device support. Using a Neo alarm I get more control over parameters. Also no drop outs with Ikea sensors. Took a few extra steps to set up but for me worth the effort.

  • @santaclaus1291
    @santaclaus1291 2 года назад +4

    Zigbee2MQTT used to have faster "integration" of newer devices types. The MQTT feature was secondary. Howver, the Z2MQTT Map is impressive!

  • @jasondahmen4545
    @jasondahmen4545 2 года назад +5

    I think you can adjust the setting for the P1, after you change the motion sensitivity within the device settings you then have to hit the pairing button. Keep in mind I had to try mine between 10-15 times before it actually took.

    • @MangustaMG20
      @MangustaMG20 2 года назад

      Chatting about the P1, are you having issues with the sensor distance? Mine are ok upto about 1.5 metres, nothing beyond. I did however notice they tend to be more sensitive with side to side motion, rather than direct head-on

  • @makeitworktech
    @makeitworktech 2 года назад +2

    Yesss, remove that plastic!! I started running both Z2M and ZHA

    • @peligon1
      @peligon1 2 года назад +2

      Thank you for the tutorial on adding the Amcrest AD410 to HA.. after watching your tutorial I ditched my Logitech Circle View Doorbell and got the AD410 it’s only been a few days with it but I’m happy so far.. thank you again

    • @makeitworktech
      @makeitworktech 2 года назад

      @@peligon1 haha no problem! Mine is still going strong!

  • @byronpoland6154
    @byronpoland6154 2 года назад +2

    Good Video! Bulbs more often than not are zigbee routers the outlier is Sengled bulbs which are not.

    • @SlackerLabs
      @SlackerLabs  2 года назад

      Oh. Good to know! Most of the bulbs I have used have not been.

  • @herantd
    @herantd 2 года назад +11

    I don’t know about sonoff stick but I’ve tried ZHA with conbee 2 stick and it was absolutely dreadful experience.. aqara sensors were getting fired after few hours on the network, even with loads of ikea switches working as routers network was unable to heal. Also setting up groups and device binding was very unintuitive with no confirmation whether it’s worked or not. Last but not least, updating device firmware, oh man, I never going back to that shiat again

    • @SlackerLabs
      @SlackerLabs  2 года назад +2

      Yeah, I have avoided the conbee stick because I always hear stories like that. I have been using this sonoff one for over a year with both zigbee2mqtt and now ZHA and it is pretty stable.

    • @joeryvandevloet2169
      @joeryvandevloet2169 2 года назад +6

      been using conbee2 for years with zha. never had any problem

    • @antoniodecrisci2369
      @antoniodecrisci2369 2 года назад +3

      @@joeryvandevloet2169 same here.

    • @JasonGabler
      @JasonGabler 2 года назад +1

      Huh, my experience has been the complete opposite. I have Conbee II + ZHA + Aqara, Linkind, and other no-name brands in a 2-floor home with 800 sqft / floor. I haven't had a single issue since I was first getting into HA ~2 years ago. When I hear stories like yours I cannot help but wonder if you did not have enough well placed, mains powered devices to bolster route your Zigbee mesh. I have at least one per room, usually a light switch.

    • @PeritusGamingTV
      @PeritusGamingTV 2 года назад

      Running sonoff usb plus and its working perfectly with ZHA... Ikea switches are battery powered and does not work as routers as far as i know, they are all end point devices. You need some bulbs or something on constant power for routers in most cases.

  • @ManfredBartz
    @ManfredBartz 2 года назад +8

    As you said, there are reasons to have separation between Home Assistant and Zigbee. One year after adopting HA, I am still not convinced that HA is mature enough to fully commit to it. One of my problems with HA is that "phantom entities" keep breeding like vermin, are always greyed out, are unavailable and cannot be deleted - maybe that would be worth a video?
    My experience suggests that anything based on RPi is just an under-powered, flaky toy - but maybe with the RPi Compute Module more reliable systems can be realised.

    • @ailivac
      @ailivac 2 года назад +1

      you mean the horribly stupid bug that happens when you're constructing an MQTT discovery message, but don't include a unique_id because the documentation never points out how important this is, then you can't even delete it from HA's database?

    • @ManfredBartz
      @ManfredBartz 2 года назад +1

      Thanks for pointing out what the underlying problem may be. Fundamentally, HA needs to have a means of cleaning phantom entities up. And why not auto-generate a UID?

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

    Heads up I was so excited about going Z2MQTT I bought the Sonoff coordinator (Plus E) wrong one on Amazon. Well lots of headaches and no port found. . Just got tired and did not want to Flash, In my mess of adjustments I lost all contevity with my old ZHA. Unitil I can find the reset of the wishkey bottle. I will be sitting here eating cookies and milk. Back up a running, FYI the the old Osram light bulbs now working on ZHA,

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

      The E version is actually the one to buy. It's using the EFR32MG21 chip... same as the SkyConnect made by HA... so it's future proof and thread/matter capable

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

    Hi, congrats for your new apartment and good luck with these new series of videos, always following you with a close attention to your contents...
    I have a question... how good it is the integrated zigbee antenna in home assistant yellow? Does it worth it? Or better continuing with sonoff zigbee and zigbee2mqtt? Thanks

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

      I haven't got to fully test it the yellow. I am still using it to making my getting started with home assistant yellow series. But I have tested the skyconnect which is the same radio. And in terms of device connectivity, I was able to move all of my zigbee devices from the sonoff usb 3.0 dongle plus to the skyconnect in ZHA without issue. For context I am running about 50 zigbee devices spread over about 2600 sqft and my house is longer than wide, with the radiio on one end.
      I think it should do well. Although I am hearing stories of people having issues with aqara devices and the radio. But I think that is more to do with Aqara not following zigbee standards. But something to be aware of. I personally didn't have any issues with my aqara devices, but I have less than 10.

  • @alexandrosnaoum1318
    @alexandrosnaoum1318 2 года назад +1

    I have two different types of light bulbs, Philips and Immax and they are working just fine as routers. Also these Ikea bulbs are also a good choice if you have Aquara or sometimes Sonoff sensors. So typically they are behave as routers

  • @MaxGoddur
    @MaxGoddur 2 года назад +1

    Picture my head exploding only because I am new to HA and the number of times you mentioned yellow, Zigbee, and all the other foreign-sounding verbiage well my eyes popped out of my head. Guessing this is not ready for the casual user yet?

    • @SlackerLabs
      @SlackerLabs  2 года назад

      Yellow would be the only thing exclusive to Home Assistant. The rest of it is pretty common across smart home space and other platforms. For as much as the smart home world has gotten better I think its still pretty intimidating for casual users. Any of the platforms are going to require some understanding of the technologies like Zigbee/Zwave/wifi and so on just to know which devices will work with each platform. But outside of definitions and basics you dont really need to know the technical ins and outs. Just enough to know which devices will work with your platform of choice. Home Assistant requires a bit more just because it is a bit more DIY and Customizable than say smartthings.

    • @MaxGoddur
      @MaxGoddur 2 года назад

      @@SlackerLabs, thank you, kind sir, appreciate you responding and helping with my very low-level attempt at getting HA to function in my home. So far the only item which is fool prof is the ESPhome YAML loaded Athom plugs(they were purchase this way). I have failed to see them stop working since purchased and added to my HA/ESPhome. No upgrade to date has broken these devices and love that trait of this hardware. Took an extra long leap and opened the Treatlife switches (x4) of them and loaded ESPhome Ymal found online. The downside to this last trip is I don't remember where I got the yaml for the treatlife switches which is one reason I shy away from using anything that requires me to load SW. The reasoning behind that last statement is a year from now I don't have to remember how I got the Athom plugs working and fingers crossed the same is true for the Treatlife switches. Again thank you for your time.

  • @EsotericArctos
    @EsotericArctos 2 года назад +1

    You know the Home Assistant Yellow is a SI labs ZigBee radio that works absolutely perfectly with Z2M as well. That said, ZHA is really darn good now and I am actually considering moving to it myself. I started with DeConz as when I started on Home Assistant ZHA was really quite bad and unreliable. These days I feel ZHA is likely the most reliable one of the 3 with DeConz actually being in third place.
    I know everyone will have there own opinions on it, but when I move (in about 4 or 5 months) I will likely go ZHA as well.

    • @SlackerLabs
      @SlackerLabs  2 года назад +1

      I haven't tried to get it to work with Zigbee2mqtt yet. It doesn't have an easily identifiable device id in the hardware list, so I haven't figured out how to link it to zigbee2mqtt. But as soon as I do I will be sure to do a video.

    • @TheJulianJES
      @TheJulianJES 2 года назад +1

      @Brendan White If you're having issues with your Conbee again, I'd recommend to switch to any CC2652 based radio or the upcoming Home Assistant SkyConnect.
      Most (connection) issues in the HA Discord/Forum/GitHub are from users with Conbee sticks, heh. But if it now works for you, that's great! (Also always use a USB extension)

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

      @@TheJulianJES I ordered a SkyConnect, but I also have a Yellow on the way also. Yeah, I seem to buy stuff to help support the Nabu Casa team lol.
      What I'd like to do now is to work out if I can run a Zigbee stick on a remote device and connect to ZHA or if that would be limited to Zigbee2MQTT only. I've been following Quindors Home Assistant - High Availability (HA-HA) project, and it looks like a great way to make sure Home Assistant is always available, even if a device fails. Unfortunately USB devices like our Zigbee and Zwave sticks can't automatically fail over.

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

      I feel like nobody is happy with what they have, zha users want to migrate to z2m and vis versa.

  • @RahulParmar1978
    @RahulParmar1978 2 года назад +1

    Hi Jeff, you mentioned the yellow has on board zigbee so why did you choose to setup the sonoff dongle, any advantages to it that are worth considering? Thanks!

    • @SlackerLabs
      @SlackerLabs  2 года назад

      I’m still using the home assistant blue for my setup. Haven’t moved to the yellow. And the blue doesn’t have on board zigbee. But I think I may move to the yellow in the future. We will see.

  • @John-vk1ij
    @John-vk1ij 2 года назад +7

    You probably want to hide some of your personal information, like the home longitude and latitude in the integration page. The same goes to your personal email.

  • @m.romaithi6217
    @m.romaithi6217 2 года назад +5

    Z2M all the way

    • @SlackerLabs
      @SlackerLabs  2 года назад

      It is a really good integration. I may be back. Lol

  • @Dante_Rubens
    @Dante_Rubens 2 года назад

    Thank you very much for the video!
    I really like it, perhaps just one thing you could change :)
    Instead of spelling the commands you could only paste the commands in the text under the video. Saves your spelling (e.g. 6:18-7:00), the viewers typing and so needless comments like mine 🙂

  • @rmjjanssen2645
    @rmjjanssen2645 2 года назад +1

    Hi Jeff, is there a way to migrate all your zigbee device from old coordinator to the new one. E.g move your devices from the Sonoff zigbee bridge flashed with tasmota (zha) without need to pair again!

    • @SlackerLabs
      @SlackerLabs  2 года назад

      Maybe. In most cases I think you are going to be pairing again. I know home Assistant keeps the devices in a file or database. So it might be possible as long as you can still use that same database or file and just tell the integration to use the new radio. But honestly I have never tried it.

    • @henningklages861
      @henningklages861 2 года назад +2

      From everything smart home there is a tutorial. Search for "Backup and Migrate Your Home Assistant Zigbee Network"

  • @arriewarrie
    @arriewarrie 2 года назад +1

    So are you happy with zha vs zigbee2mqtt?
    Ive found myself wanting to switch! Because its been 4months plus since buying ikea purifiers and still no update.

    • @SlackerLabs
      @SlackerLabs  2 года назад

      So far it seems pretty solid. I haven’t noticed any weirdness that would make me run back to zigbee2mqtt although I suspect the first time I need to support an unsupported device I’ll be back on zigbee2mqtt. 🤦‍♂️

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

    My dongle won't auto setup and get asked to specify some technical stuff...

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

      Update it worked after choosing the right radio manufacturer

  • @peligon1
    @peligon1 2 года назад

    Thank you so much great video and tutorial.. I have searched RUclips looking for a tutorial on how to flash my Sonoff usb 3.0 using macOS and you delivered once again! Is it possible to share the command lines to Flash the same coordinator to use a router please? I purchased the latest Sonoff 3.0 usb plus-E it’s a bit smaller than the current one and I would like to use that one as a router. My family and I just bought a new home also and it’s 2 stories so I am preparing to have zigbee coverage throughout. Thank you again!

    • @SlackerLabs
      @SlackerLabs  2 года назад +1

      I need to work up a written guide, but the command for the router should be the same, only thing is download the router firmware from that zigbe2mqtt site and use that hex file with the same script.

    • @peligon1
      @peligon1 2 года назад

      Thank you Sir!!

  • @Joseph-ko2kl
    @Joseph-ko2kl 2 года назад +2

    Noooo! Where I am going to get my Z2M answers now... I am waiting on my Yellow, you can still run Z2M on though correct?

    • @SlackerLabs
      @SlackerLabs  2 года назад +1

      As far as I know. I was just planning on seeing how well the Yellow will work stock. And who knows. Zigbee2mqtt may work with the on board radio.

  • @PeterHellmich
    @PeterHellmich 2 года назад +1

    I think there is a new way to import zigbee2mqtt networks into zha with Home Assistant from its September release. Maybe a good idea for you to try that?

    • @SlackerLabs
      @SlackerLabs  2 года назад +1

      Yeah, as of 2022.9 you can restore your zigbee2mqtt backup to ZHA. Good for anyone with a good backup that wants to move to ZHA.

  • @MrMechaMatt
    @MrMechaMatt 2 года назад +1

    If I'm using the Sonoff stick as the coordinator, can I flash my Conbee as a router?

    • @SlackerLabs
      @SlackerLabs  2 года назад

      Not sure on that one. But I suspect no. But I’m not familiar with the conbee stick. They may have a specific process for flashing it.

  • @mustycom-tech5463
    @mustycom-tech5463 2 года назад +1

    Thanks.

  • @YKSGuy
    @YKSGuy 2 года назад +1

    I use Zigbee2MQTT for the wider device support AND that it doesn't restart when HA does so devices are available faster after a HA update / re-configuration etc.. HA needs lots of reboots ZHA restarts the whole network and thus some device can take a long time to check in.. Zibee2MQTT devices are available as soon as HA starts up and checks MQTT.

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

      How are you keeping Zigbee2MQTT separate from HA?

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

      @@anonimo_surfeador I run HA as a Docker, and Zigbee2MQTT as a docker. I don't run HASSOS.
      even on HASS OS using Zigbee2MQTT as an addon, only a supervisor / HassOS update would cause it to restart

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

      Yep. Like already mentioned. Zigbee2mqtt runs as a addon separate of ha. So it’s up unless you reboot the host.

  • @ArbitragedHB
    @ArbitragedHB 2 года назад +1

    does ZHA natively pair to smartwings shades?

  • @janusz1178
    @janusz1178 11 месяцев назад

    Nie dodawałem mosquitto a integrację wykryło na świeżej instalacji HA. Do czego to potrzebne?

  • @fred7flinstone
    @fred7flinstone 7 месяцев назад

    Do we need to remove the devices from z2m BEFORE pairing with ZHA?

    • @SlackerLabs
      @SlackerLabs  7 месяцев назад +2

      Not really. Zigbee doesn't have any loyalty to a coordinator. Just put the device in pairing mode and set ZHA to look for devices.

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

    Sonoff sensors are more reliable on Z2M they often go unavailable on ZHA

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

    Why are you switching from HA Blue to Yellow?

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

      It comes down to upgradeability. Not sure if we will ever see a Pi5 compute board, but the idea that I can upgrade storage and potentially the compute module make me think I have a better chance at keeping up as the smart home space changes with the Yellow. I ran quite a lot of stuff on a Pi4 without issue so I think it will be enough for everything I have going. Of course who knows. I tend to make big decisions and then weeks later change back. haha

  • @mrxmry3264
    @mrxmry3264 2 года назад

    i have some sonoff temperature and humidity sensors. what bothers me about them is that sometimes they update like every minute and sometimes it takes hours. is there anything that i can do about that?

    • @ManfredBartz
      @ManfredBartz 2 года назад +2

      I think that is because the sensors are designed so that they only update when one of the sensed parameters *changes* by a certain, minimum amount. I see this behaviour on some Aquara sensors too.

    • @SlackerLabs
      @SlackerLabs  2 года назад

      Yea. I think this is it as well. I think it will only update if values change. And in some cases like aqara motion the Lux values only update on motion.

  • @blazeafeef
    @blazeafeef 2 года назад

    Hey I'm really new to tNice tutorials, my GMS doesn't soft the sa, more like a continuous buzzing soft, does anyone know what I do? I

  • @jarongebhardt
    @jarongebhardt 2 года назад +3

    Names jeff

  • @ah-nv7mw
    @ah-nv7mw 2 года назад +1

    Why zha and not z2m

    • @SlackerLabs
      @SlackerLabs  2 года назад +1

      Wanted to try something different. I may eventually move back to zigbee2mqtt. But for now. We will see how well this works.

    • @RolandG-y3w
      @RolandG-y3w 2 года назад +2

      I just moved away from zha and moved to z2m... Zha was unstable and i was missing a lot of entities that are now available on z2m

    • @TheJulianJES
      @TheJulianJES 2 года назад +1

      @@ZenoGotWet ESPresense is completely unrelated to Zigbee. You'll likely need to setup MQTT but that doesn't mean you have to use Zigbee2MQTT. You can continue using ZHA just fine.

  • @JohnSmith-b6q
    @JohnSmith-b6q Месяц назад

    Bruen Greens

  • @chicroyal3057
    @chicroyal3057 2 года назад

    tNice tutorials doesn't seem to work.

    • @SlackerLabs
      @SlackerLabs  2 года назад

      Sounds more like tNaugty tutorials to me.

  • @doma5262
    @doma5262 2 года назад

    I can't get my head around this video. Other than the initial simplicity of zha its a backwards step.

    • @SlackerLabs
      @SlackerLabs  2 года назад

      I think the simplicity of setup is a big draw for a lot of people. And I wouldn't say its a backward step. It is different for sure. And there are somethings about it I don't like. But it also does some things better. But if you area tinker-er then Zigbee2mqtt is going to more to your liking.

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

    ZHA is rubbish .. Zigbee2mqtt is far more interesting, just for the fact that it recognise FAR more devices.