The march of the progress of time :) I'll add it to the list to get a revised video out, thanks for pointing this out. I'll pin your comment so that others can follow.
hi @villarudera452 , Glad you like them! They do take abit of time to put together but I remember when I was starting out and how confusing Home Assistant seemed. In the videos I try and give you want you need to get a specific feature up and running, and without too much fluff, so that you get a specific outcome but also learn the concept so you can deploy elsewhere in your Smart Home.
Thanks @laviniaracovita3758, yes that pesky adapter line is so often missed in setups, so glad you managed to get everything up and running. Are you running just Z2MQTT or dual adaptors with ZHA?
Thanks for a great video. Got me further than I had previously. My question is around the serial / adapter: value. I am using a Conbee II USB stick. How do I find out the adapter value to enter for this model? it's not obvious in the attributes.
When using a ConBee II USB Zigbee stick with Zigbee2MQTT, the `adapter` variable in the configuration should be set to `deconz`. Additionally, you need to specify the correct serial port for the ConBee II, which is typically `/dev/ttyACM0` or can be identified using `/dev/serial/by-id/` path. Check out this article for more details community.home-assistant.io/t/how-to-add-devices-using-conbee-ii/639447/8?t=true
@smart_home_australia Yes, it's a Sonoff dongle. I just followed the configuration as you did and worked perfectly, I tested it with a Sonoff ZBmini extreme.
@@smart_home_australia I'll second this sentiment. I'm currently migrating from a HA docker instance to a Pi5, and switching to zigbee2mqtt. FYI I'm using an SBLight SLZB-07 myself. (I have a Sonoff ZBDongle-P currently connected to my docker instance, not sure if I want to switch back to that. I bought a second coordinator to make migration easier). Thanks again for the great walk through!
Wow, i was trying to install MQTT since 2 days. Saw many tutorials and every has been finished by an error in my HA. Your way to install it, was a bit different, but worked. I don't get it how, but I'm really grateful. Maybe now another tutorial for update it to ember because when i tried it by myself i've got error.
Simple answer NO. Longer answer, in Home Assistant is not directly available when running Home Assistant in Docker. This is because Docker containers have limited access to the host system's hardware information. However, there are alternative ways to view connected hardware in a Docker-based Home Assistant setup. You can add the following to your configuration.yaml file: hardware: This will enable the Hardware integration, which provides some basic hardware information within Home Assistant. Check out the following link for more details (Ref: community.home-assistant.io/t/all-hardware-menu-not-appearing/494528) Alternatively, for more detailed hardware information, you may need to run commands on the host system. For example, to list serial devices ls /dev/serial/by-id This command can help identify USB devices like Zigbee dongles. I'm sure there are other methods but those are the ones I'm aware of. Hopefully that helps.
@@smart_home_australia thanks for the info and I take the initial no as a soft one and a challenge. I know it's hard to cover all the different installation kinds without constantly adding caveat remarks in the video. Your style of talking (far from the fast paced, stripping all natural pauses etc), the clarity and pedagogical structure etc is very appreciated.
@@smart_home_australia you should enjoy a discussion with philosophers/mathematicians like Kurt Gödel and Alan Turning regarding the statement that "anything is possible" 🙂
Thx for the Video. Can pls enlighten me why we need to create new user for the mqtt broker ? mine run without needing to create new user ? is there any harm running so ?
Technically no, you don't need a separate userid/password. The reason one is recommended is security. This password will only be used within your network, it is shared between two add-ons, and if compromised it can only be used within the network. If you use your main password and this is compromised then externally it could be used.
Sure can, but there are a few reported issues with it. I don't own a skyconnect, but I found these instructions if you want to try, www.jrbconsulting.au/home-automation/home-assistant/configuring-skyconnect-with-zigbee2mqtt/
When you say running in parallel, do you mean ZHA and Zigbee2MQTT? Is so then not as far as I’m aware. I run a deConz for ZHA and Sonoff for my Z2MQTT, no flashing required.
Yes that is correct. I'm using a ZigBee 3 Dongle P version for zha. The label has eeMQTT printed on the box so I may be good to go buying another one for Zigbee2MQTT. I run VB on a mini PC so that might be a challenge to punch through the USB to the dongle.
Hi @drumslapper, you should be fine. I run HA within a VM running on VB and have 3 dongles attached and patched to the VM. No issues. Good luck and let us know how you go.
This is very detail and helpful. However, I keep hitting the error "Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby" I am using SLZB-06 connecting it to ethernet. Grateful if you can advise how to fix this error. Thank you!
Are you running multiple zigbee networks (ie. ZHA also) or are you in close proximity to another zigbee network? This is caused by zigbee networks interfering with each other. Its a simple fix, watch this video and it discussed panid's (ruclips.net/video/ZBbl0I-Zpuk/видео.html)
Hi @johnscott8271, my advice would be to stick with ZHA at least for the moment and explore the other facets of Home Assistant, work through my Home Assistant playlist and refine your setup. Them once you are comfortable with how Home Assistant works buy another adaptor, checkout the deals on the Zonoff ZB Dongle I put in the links with the discount codes) and try in parallel and see which you prefer. Zigbee2MQTT offers alot of advantages but also has some quirks that make it not as user friendly. I hope that helps.
Awesome and easy to follow video. Been using ZHA since I started HA a year ago and am now ready to add Z2M in parallel to get the best of both worlds. What pushed me over the edge is the limited support for the Philips Hue Tap dial in ZHA.
Could you point me in the direction of where to find how to change the configuration when using a remote (wifi connected) tasmota flashed ZBBridge pro? I have tried tcp: and socket: using the correct port that I use with the network path to my bridge but I always get connection errors in the log. I was using ZHA but disabled this whilst trying to change to MQTT but it still will not connect. I cannot use a usb connected device in my setup. Thanks.
there are many videos showing the process of configuration zb2mqtt but all are incomplete (do not mention the installation of mosquito broker). Your guide worked for me after many, many failed attempts using others tutorials. Thank You! (sorry my bad english) .
Thx. As regards the use or both zha and z2m, i guess we should use different chanels ... Which ones and what is the best way to avoid interference between the two networks ?
Thanks @theattorney6072, thanks and what a great question. In my experience Zigbee is very good at differentiating between traffic and you should not have much of an issue. That said, never say never. Check out shorturl.ac/7cesk, for how to change the channel on ZHA (introduced in 2023.06). To change the channel in Zigbee2MQTT, check out shorturl.ac/7cesl. An if you need to analyse the channels for congestion, check out shorturl.ac/7cesm. Hopefully that should put your mind at rest.
Hi, great videos! I'm wondering if someone could help me identifying the information for the serial port and adapter in the HA yellow as I'm not using a dongle but the built in zigbee that the yellow already has. Tks in advance!
Sure. Check out the following link. community.home-assistant.io/t/how-to-configure-built-in-zigbee-radio-home-assitant-yellow/569029?ssp=1&darkschemeovr=1&setlang=en-AU&safesearch=moderate
I have read that the dongle P would be more stable than dongle E for Z2M. Indeed, Dongle E is still considered as experimental on Z2M website. What do you think of the above ?
Hi again @theattorney6072, yes this specific dongle is classified as "experimental" but if you read on it also mentions that this is the future of Zigbee dongles. It's been around for some time now and I'm surprised its still got that its got that classification, that said I have NOT had any issues with this dongle, in fact it has stellar range and is quick. I use it for my Z2MQTT but if I was following a more cautious rounte then I should probably switch it to my ZHA (which is fully supported) and use my deconz for Z2MQTT. But THANK YOU ofr raising this point.
Thank you for this - great tutorial. Would have loved to see how you setup Zigbee2mqtt in parallel with ZHA. I am running ZHA, but i am afraid to mess up my existing network. So should you run Z2M on a separate channel, and if so, how do you force Z2M to go to channel 25 for instance, during the setup?
You shouldn’t have an issue. In Z2MQTT go to SETTINGS > ADVANCED and set your channel. Since ZHA defaults to channel 15 and Z2MQTT to channel 20 there should be no issue.
@@smart_home_australia Thank you for the grear video, I'm using SNZB-06P as well but it always shows Occupied even when I'm in another rooms for hours. Do I have to tweak some settings in Z2M?
@@fabiocopani8311 I run mine of low occupancy sensitivity as they are so sensitive they literally see through stud walls !! This is a standard control when installing through Z2MQTT. When set this this my occupancy does go to clear. If yours' still does not then make sure the firmware is up to date and reinstall through Z2MQTT. Outside of that its a tech support question with Sonoff.
I couldn't get mine to start with the port ID copied from the location in the video, after 4 hours of banging my head against the wall I tried the short version /dev/ttyUSB0/ and it worked, I had tried that about half an hour into banging my head against the wall but I didn't realise it would be case sensitive... Classic. Great video very easy to follow, no missing steps and no time wasted. Legend
Isnt it always the small things and that one step or space or indentation that catches you out.... well done on figuring it out !! Now onto your next challenge.
Glad you enjoyed it and got it working... nothing worse than putting all that effort in and just having to give up and is just wont work... I've hit this many times before and although YT is great on some more specific issues there are just no videos to cover the problem, hence why I started the channel.
Probably best if you watch this video (ruclips.net/video/ZBbl0I-Zpuk/видео.html) as it shows you how to install for multiple Z2MQTT coordiantors but one of these is a POE coordiantor that you can follow those instructions. Or this video does similar (ruclips.net/video/APUXE2485Ng/видео.html)
I'm lost: At @4:10 I don't have the 3 dots in the upper right corner. Please advise. ***EDIT*** The 3 dots are in the "Add on Store", which is a step either edited out, or not covered for my fellow noobies.
Nope, time and versions have moved on, so the screens have changed slightly. Try ADD-ON>Press ADD-ON STORE>Press 3 DOTS top right > Select REPSOSITORIES and away you go. Thats said remember you must be on a version that supports Add-Ons, which you can find in the "advanced Installation method" of www.home-assistant.io/installation/.
Thank you for the excellent detailed instructions. i ran into a problem with the configuration. I get this message: Failed to save add-on configuration, Missing option 'mqtt' in root in Zigbee2MQTT (45df7312_zigbee2mqtt) Can you tell me how to fix this please?
Thanks for your kind words. Your error relates to probably a mis-spelling or missing space in the MQTT section in the Zigbee2MQTT configuration. 1) SETTINGS 2) Add-Ons 3) Search for and Select Zigbee2MQTT 4) Configuration 5) MQTT section 6) Verify Configuration Typical Configuration server: mqtt://core-mosquitto:1883 user: mqtt_your_username password: mqtt_your_password Make sure you have spaces after the colons. I hope that helps.
Thank you for the video, it is verry clear and easy to understand! i followed all the steps but ceep running into to same error. Zigbee2MQTT:error 2024-02-16 18:23:43: Error while starting zigbee-herdsman Zigbee2MQTT:error 2024-02-16 18:23:43: Failed to start zigbee I have changed the port and adapter, but no succes. Could you (ore someone els) help me out on this one?
Make sure your coordinator is recognised in the hardware section. And that the path is correct in the yaml. Check the z2mqtt to see if you need to specifically mention your type of coordinator. Ie. deconz need to be mentioned in the yaml. Make sure your firmware on your usb dongle is up to date. Check these and you should be fine.
@@smart_home_australia Thank you for the quick respons! i flashed my dongle and now it works. Thanks again i hope to see more of your videos in the futere.
Sounds like your issue is not with Z2MQTT but with your MQTT server. Make sure that you setup a separate username and password for you MQTT broker, and that MQTT broker running (make sure to check the logs). Once you have confirmed this, restart HA and try to change the Z2MQTT configuration again.
I'm still getting the bad gateway message, and I tried to access the link you put in the description but none of them are working for me. Maybe it's because I'm on mobile... Thanks for the video though, I saw some very important steps I was missing
502 gateway? check out this thread community.home-assistant.io/t/zigbee2mqtt-502-bad-gateway-solved/447571/12 Although in my experience its hardware related. Recheck your Zigbee2MQTT config for SERIAL, I use the absolute reference and make sure the adaptor is referenced correctly: port: >- /dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_XXXXX adapter: ezsp As opposed to the relative address of /dev/ttyACM0 I hope that helps.
Have the same Sonoff coordinator and followed the tutorial to the tee (I hope) but it fails on a MQTT authorization error. No specifics. If I refresh Zigbee2MQTT is see a 502 Bad Gateway error. Have copied the user name and passwords between all three pieces - MQTT User, MQTT and Zigbee2MQTT but to no avail. Any permissions I might have missed or anything change of subsequent release? I'm currently on 2024.4.2
502 is an error that occurs a lot until you get everything setup correctly and there are a few different reasons that can cause this. Here are a few official reasons: MQTT Broker Issues: The MQTT broker might not be running correctly. Ensure that the MQTT broker is properly installed and configured. Zigbee Dongle Issues: The Zigbee dongle might not be correctly recognized by the system. Check if the dongle is properly connected and the correct port is specified in the Zigbee2MQTT configuration. Configuration Issues: Incorrect settings in the Zigbee2MQTT configuration can also lead to this error. Make sure that the configuration.yaml file of Zigbee2MQTT is correctly set up. However, one thing that alot of people forget is that you need to define the adapter (set in the configuration of the Add-on), cehck out the documentation, bit.ly/4aRVw6f, for instance I run a Sonoff adapter (amazing adapter, I'd highly recommend picking one up from the affiliate links) and you need to insert the addition line in the SERIAL section of the configuration for "adapter: ezsp", no quotes. Hopefully that helps :)
A little light on details and context there :) You could check: 1) Credentials: Ensure that the username and password provided in the MQTT connect method are correct. 2) Authorization: Check if the MQTT client has the necessary permissions to connect to the MQTT broker. 3) Configuration: If you’re using Mosquitto, you might need to edit the Mosquitto configuration file to allow anonymous connections.
Qual è stato l'errore che hai ricevuto? Questo video è abbastanza vecchio ormai, probabilmente avrai bisogno del firmware Ember adesso. ruclips.net/video/r0ihC8Dx3NM/видео.html
That means that you are not running an installation of Home Assistant that supports Add-Ons. Check www.home-assistant.io/installation/#advanced-installation-methods, this shows you the installations that do support Add-Ons. What platform are you running on?
@@smart_home_australia Thanks for your answer. Yeah, I spent some time looking around. I'm not the only one with this issue; some have asked for it to be added. I'm not running the OS, and that's why it's missing. I'm running an MQTT broker and HA in Docker on Synology. It's a first step to test things with no commitment, as I'm able to roll back if something goes wrong. I have Fibaro HC2, HC2Light, and now HC3 that support Zigbee (to some extent) and opened my eyes to Zigbee as being able to meter my house. But with lots of hit and miss on the devices, some work only on HC3 (Zigbee) and not on HA, and some don't work at all. I'm able to move all my Fibaro HC3 using MQTT to HA, so I'm running both systems, and both systems work. So I'm able to turn on a light with any of them. I will add Zigbee2MQTT in Docker and run it that way to see what it brings. For now, all Z-Wave and other things run just fine, and my HC3 handles it all. But I have taken the first step in the door to leave Fibaro, as their fans are toxic and close-minded. There are no real good power meters as Z-Wave and no real support, so why not enjoy Zigbee, which is more friendly and has better exchange of ideas?
I previously ran HA on Synology, and had a great experience, but as my needs expended I found that I needed more power so I moved over to a VM on my Lab Server. It sounds like you have the solution for your Zigbee issue with Docker, which should work perfectly. As for Fibaro, I have no experience with that eco-system, but what you describe is typical for such environments. Regardless, WELCOME to the Home Assistant club :)
Sorry looks like you are going to be out of luck. Check out www.home-assistant.io/installation/, you don't have supervisor, or add-ons. Which is a long way of saying you can't run Z2MQTT as you need Add-ons and integrations. sorry.
There are afew reasons you get this error message from outdated firmware, to USB path incorrect or if using VM then the dongle not mapped through to the Home Assistant instance. Check this thread for other issues you should make sure you have confirmed are working shorturl.ac/7d3gu
The video is very well explained, but the implementation does not work. A period of 10 minutes turned into a period of 2 hours. All steps were followed exactly and the hardware is identical. The Zigbee2MQTT log shows that the firmware is faulty and the stick cannot be found. However, the stick knows that the firmware is faulty. So I wanted to update the firmware. Then I learnd, that I still needed half a basic Python course to perform such a simple action. This is not a satisfactory solution for me. So I've decided to say goodbye to the smarthome stuff. My goal is to connect four devices. I've studied numerous tutorials over the last two weeks, but to no avail. No amount of automation can make up for the time wasted.
Hi Buzz, I assume you have a ZBDongle-P? And yes you are right, its a pain to upgrade the firmware, or upload a new version if the original is corrupted. However, the tech's at SMLight tell me that their new Web flasher can now also flash none ZMLight coordinators, which if true (not tested yet) will be a huge deal !! Check out ruclips.net/video/T7LIk2PB0yw/видео.html, in conjunction with the Sonoff instructions for the location of the firmware, and try using this and hopefully it will work!! Pls let us know :)
OK checking the logs there are are things you need to check. 1) ZBDongle is connected secure and if via a VM then it can be seen in ALL HARDWARE in SYSTEM. 2) Try a different USB socket 3) Make sure your configuration has an adaptor of EZSP (or ember EMBER for E Dongles) 4) Make sure that no other software is using the Dongle. 5) Check the firmware of the adaptor. Hopefully that resolves the issues.
@@smart_home_australia thanks for checking - I think the same dongle is previously used on zha- do I delete it on the zha? Or can i use the same dongle for zha and mqtt running at the same time.
Yes. You’ll need to delete from ZHA before using in Z2MQTT and no, you can’t use ZHA and Z2MQTT on the same single as they both can’t use the zigbee radio at the same time. You’ll need two zigbee coordinators for that.
i follow all ur steps, but end up cannot save in the zigbee2mqtt part 6:21 it show this Failed to save add-on configuration, Missing option 'mqtt' in root in Zigbee2MQTT (45df7312_zigbee2mqtt). Got {'data_path': '/config/zigbee2mqtt', 'socat': {'enabled': False, 'master': 'pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777', 'slave': 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5', 'options': '-d -d', 'log': False}, 'serial': {'port': '/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0', 'adapter': 'ezsp'}} hopefully get some help from you, i have zero knowledge in programing thanks
From that error message it looks like you have not sucessfully setup the new userid for mqtt and/or have not sucessfully setup the mqtt broker. Hence when you are trying to save the MQTT section in the options it is failing as the mqtt broker or userid is not configured. I'd recommend going back over the steps and making sure that you have created the mqtt userid and that the mqtt broker installs sucessfully.
The error message "Failed to start EZSP layer with status=HOST_FATAL_ERROR" indicates a critical issue with the EZSP (EmberZNet Serial Protocol) layer, which is used for communication with Zigbee devices. This error can occur due to various reasons, such as firmware issues, hardware incompatibility, or configuration problems. I found some further related topics at github.com/Koenkk/zigbee2mqtt/issues/22469 It suggests if you have trouble starting Z2M: - make sure you are using the proper firmware, proper baudrate, and corresponding baudrate in Z2M configuration. - unplug the adapter for 30+ seconds, then plug it back in and start Z2M again - re-flash the same firmware I hope that helps.
i get this error: Failed to save add-on configuration, Missing option 'mqtt' in root in Zigbee2MQTT (45df7312_zigbee2mqtt). Got {'data_path': '/config/zigbee2mqtt', 'socat': {'enabled': False, 'master': 'pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777', 'slave': 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5', 'options': '-d -d', 'log': False}, 'serial': {'port': '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2692281-if00'}}
Looks like you are trying to setup a ConBee II stick to run Z2MQTT. However, it would see that you have not entered the Z2MQTT section that refers to MQTT correctly. It should read something like: server: mqtt://core-mosquitto:1883 #this is your MQTT server user: mqtt_user #enter your MQTT username password: mqtt_password #enter your MQTT password here Remember to save the configuration for the section you modify as there are multiple saves options on the screen.
For Sonoff Dongle P with most recent firmware (07.2024), this tutorial won't work anymore. Need to modify 'serial' value to:
adapter: zstack
The march of the progress of time :)
I'll add it to the list to get a revised video out, thanks for pointing this out. I'll pin your comment so that others can follow.
Thank you
thank you so much
Thank you!
Your guides are so substantive that they are the only ones I need to watch in slow motion! Very good job!
hi @villarudera452 , Glad you like them! They do take abit of time to put together but I remember when I was starting out and how confusing Home Assistant seemed. In the videos I try and give you want you need to get a specific feature up and running, and without too much fluff, so that you get a specific outcome but also learn the concept so you can deploy elsewhere in your Smart Home.
@@smart_home_australia fluff level = 0 👌
@@smart_home_australiaUsing link shorteners in the description wasn't a great idea. Just a few months have passed and none of them work anymore.
This was so helpful! I was missing the adapter line and ran around it for a million years before finding this video. Thank you
Thanks @laviniaracovita3758, yes that pesky adapter line is so often missed in setups, so glad you managed to get everything up and running. Are you running just Z2MQTT or dual adaptors with ZHA?
I struggled all day to make a Zigbee sensor work, but following your guide I got it going ! Thank you.
Glad it helped!
i had a lot of problems with the installation of zigbee2mqtt. i wasted many hours. your are my hero. thanks a lot.
I know that feeling, Zigbee2MQTT can be a pain! But once you get it working its amazing.
This is a great tutorial. I've been having some issues installing Z2M, but watching your explanations worked like a charm. Many thanks!!! :)
Thanks and welcome to the channel.
Thanks for a great video. Got me further than I had previously. My question is around the serial / adapter: value. I am using a Conbee II USB stick. How do I find out the adapter value to enter for this model? it's not obvious in the attributes.
When using a ConBee II USB Zigbee stick with Zigbee2MQTT, the `adapter` variable in the configuration should be set to `deconz`. Additionally, you need to specify the correct serial port for the ConBee II, which is typically `/dev/ttyACM0` or can be identified using `/dev/serial/by-id/` path.
Check out this article for more details community.home-assistant.io/t/how-to-add-devices-using-conbee-ii/639447/8?t=true
Your tutorial was the most concisous and precise that I found, thank for sharing, help me a lot.
You're welcome. I hope you got up and running super quick. BTW are you running the Sonoff ZBDongle or another manufacturer?
@smart_home_australia Yes, it's a Sonoff dongle. I just followed the configuration as you did and worked perfectly, I tested it with a Sonoff ZBmini extreme.
@@smart_home_australia I'll second this sentiment. I'm currently migrating from a HA docker instance to a Pi5, and switching to zigbee2mqtt. FYI I'm using an SBLight SLZB-07 myself. (I have a Sonoff ZBDongle-P currently connected to my docker instance, not sure if I want to switch back to that. I bought a second coordinator to make migration easier). Thanks again for the great walk through!
Wow, i was trying to install MQTT since 2 days. Saw many tutorials and every has been finished by an error in my HA. Your way to install it, was a bit different, but worked. I don't get it how, but I'm really grateful. Maybe now another tutorial for update it to ember because when i tried it by myself i've got error.
Thanks.
You mean like this one ruclips.net/video/r0ihC8Dx3NM/видео.html
:)
5:15 is adding hardware as shown possible if you run Home Assistant in a docker container too?
Simple answer NO.
Longer answer, in Home Assistant is not directly available when running Home Assistant in Docker. This is because Docker containers have limited access to the host system's hardware information. However, there are alternative ways to view connected hardware in a Docker-based Home Assistant setup.
You can add the following to your configuration.yaml file:
hardware:
This will enable the Hardware integration, which provides some basic hardware information within Home Assistant. Check out the following link for more details (Ref: community.home-assistant.io/t/all-hardware-menu-not-appearing/494528)
Alternatively, for more detailed hardware information, you may need to run commands on the host system. For example, to list serial devices
ls /dev/serial/by-id
This command can help identify USB devices like Zigbee dongles.
I'm sure there are other methods but those are the ones I'm aware of. Hopefully that helps.
@@smart_home_australia thanks for the info and I take the initial no as a soft one and a challenge.
I know it's hard to cover all the different installation kinds without constantly adding caveat remarks in the video.
Your style of talking (far from the fast paced, stripping all natural pauses etc), the clarity and pedagogical structure etc is very appreciated.
LOL... anything is possible. Thats just a "non" that its not as easy as pressing the ALL HARDWARE as you would with a VM.
@@smart_home_australia you should enjoy a discussion with philosophers/mathematicians like Kurt Gödel and Alan Turning regarding the statement that "anything is possible" 🙂
"It always seems impossible until it's done." - Nelson Mandela
Thx for the Video. Can pls enlighten me why we need to create new user for the mqtt broker ? mine run without needing to create new user ? is there any harm running so ?
Technically no, you don't need a separate userid/password. The reason one is recommended is security. This password will only be used within your network, it is shared between two add-ons, and if compromised it can only be used within the network. If you use your main password and this is compromised then externally it could be used.
thx
Amazing video! It was really helpful, thanks a ton!
Glad it was helpful!
Can I do this with a skyconnect dongle?
Sure can, but there are a few reported issues with it. I don't own a skyconnect, but I found these instructions if you want to try, www.jrbconsulting.au/home-automation/home-assistant/configuring-skyconnect-with-zigbee2mqtt/
Thanks for the video. Looking at running parallel, my understanding is you are required to flash new firmware for the Sonoff dongle?
When you say running in parallel, do you mean ZHA and Zigbee2MQTT? Is so then not as far as I’m aware. I run a deConz for ZHA and Sonoff for my Z2MQTT, no flashing required.
Yes that is correct. I'm using a ZigBee 3 Dongle P version for zha. The label has eeMQTT printed on the box so I may be good to go buying another one for Zigbee2MQTT. I run VB on a mini PC so that might be a challenge to punch through the USB to the dongle.
Hi @drumslapper, you should be fine. I run HA within a VM running on VB and have 3 dongles attached and patched to the VM. No issues. Good luck and let us know how you go.
this video deserve way more views
Thanks. 🙏
I’m going to be updating this shortly to improve on the video and audio quality.
This is very detail and helpful. However, I keep hitting the error "Error: network commissioning timed out - most likely network with the same panId or extendedPanId already exists nearby" I am using SLZB-06 connecting it to ethernet. Grateful if you can advise how to fix this error. Thank you!
Are you running multiple zigbee networks (ie. ZHA also) or are you in close proximity to another zigbee network? This is caused by zigbee networks interfering with each other. Its a simple fix, watch this video and it discussed panid's (ruclips.net/video/ZBbl0I-Zpuk/видео.html)
@@smart_home_australia I'm using the same device... How do we connect it?
I now use ZHA with mostly Aquara devices with no problems. But I’ve only been running for 3 months.
Should I switch now?
Hi @johnscott8271, my advice would be to stick with ZHA at least for the moment and explore the other facets of Home Assistant, work through my Home Assistant playlist and refine your setup. Them once you are comfortable with how Home Assistant works buy another adaptor, checkout the deals on the Zonoff ZB Dongle I put in the links with the discount codes) and try in parallel and see which you prefer. Zigbee2MQTT offers alot of advantages but also has some quirks that make it not as user friendly. I hope that helps.
Awesome and easy to follow video. Been using ZHA since I started HA a year ago and am now ready to add Z2M in parallel to get the best of both worlds. What pushed me over the edge is the limited support for the Philips Hue Tap dial in ZHA.
Could you point me in the direction of where to find how to change the configuration when using a remote (wifi connected) tasmota flashed ZBBridge pro? I have tried tcp: and socket: using the correct port that I use with the network path to my bridge but I always get connection errors in the log. I was using ZHA but disabled this whilst trying to change to MQTT but it still will not connect. I cannot use a usb connected device in my setup. Thanks.
Try this guide by Digiblur, digiblur.com/2020/07/25/how-to-use-the-sonoff-zigbee-bridge-with-home-assistant-tasmota/
Great video! Exactly what I was looking for! Thank you!!!
Glad it was of help. Check out the up and coming multi Z2MQTT video that allow you to run 6 discrete Z2MQTT networks.
Glad it was helpful!
there are many videos showing the process of configuration zb2mqtt but all are incomplete (do not mention the installation of mosquito broker). Your guide worked for me after many, many failed attempts using others tutorials. Thank You! (sorry my bad english) .
Glad it worked for you. I try to put as much detail into them so that the viewers succeed. 👍
Thx. As regards the use or both zha and z2m, i guess we should use different chanels ... Which ones and what is the best way to avoid interference between the two networks ?
Thanks @theattorney6072, thanks and what a great question. In my experience Zigbee is very good at differentiating between traffic and you should not have much of an issue. That said, never say never.
Check out shorturl.ac/7cesk, for how to change the channel on ZHA (introduced in 2023.06). To change the channel in Zigbee2MQTT, check out shorturl.ac/7cesl. An if you need to analyse the channels for congestion, check out shorturl.ac/7cesm.
Hopefully that should put your mind at rest.
Hi, great videos!
I'm wondering if someone could help me identifying the information for the serial port and adapter in the HA yellow as I'm not using a dongle but the built in zigbee that the yellow already has.
Tks in advance!
Sure. Check out the following link. community.home-assistant.io/t/how-to-configure-built-in-zigbee-radio-home-assitant-yellow/569029?ssp=1&darkschemeovr=1&setlang=en-AU&safesearch=moderate
Many thx and keep up the great work in your channel!
@@smart_home_australia
Thanks @vascovpt, for your support.
I have read that the dongle P would be more stable than dongle E for Z2M. Indeed, Dongle E is still considered as experimental on Z2M website. What do you think of the above ?
Hi again @theattorney6072, yes this specific dongle is classified as "experimental" but if you read on it also mentions that this is the future of Zigbee dongles. It's been around for some time now and I'm surprised its still got that its got that classification, that said I have NOT had any issues with this dongle, in fact it has stellar range and is quick. I use it for my Z2MQTT but if I was following a more cautious rounte then I should probably switch it to my ZHA (which is fully supported) and use my deconz for Z2MQTT.
But THANK YOU ofr raising this point.
Thank you for this - great tutorial.
Would have loved to see how you setup Zigbee2mqtt in parallel with ZHA. I am running ZHA, but i am afraid to mess up my existing network. So should you run Z2M on a separate channel, and if so, how do you force Z2M to go to channel 25 for instance, during the setup?
You shouldn’t have an issue. In Z2MQTT go to SETTINGS > ADVANCED and set your channel. Since ZHA defaults to channel 15 and Z2MQTT to channel 20 there should be no issue.
@@smart_home_australia Thank you for the grear video, I'm using SNZB-06P as well but it always shows Occupied even when I'm in another rooms for hours. Do I have to tweak some settings in Z2M?
@@fabiocopani8311 I run mine of low occupancy sensitivity as they are so sensitive they literally see through stud walls !! This is a standard control when installing through Z2MQTT. When set this this my occupancy does go to clear. If yours' still does not then make sure the firmware is up to date and reinstall through Z2MQTT. Outside of that its a tech support question with Sonoff.
I couldn't get mine to start with the port ID copied from the location in the video, after 4 hours of banging my head against the wall I tried the short version /dev/ttyUSB0/ and it worked, I had tried that about half an hour into banging my head against the wall but I didn't realise it would be case sensitive... Classic. Great video very easy to follow, no missing steps and no time wasted. Legend
Isnt it always the small things and that one step or space or indentation that catches you out.... well done on figuring it out !! Now onto your next challenge.
Glad you enjoyed it and got it working... nothing worse than putting all that effort in and just having to give up and is just wont work... I've hit this many times before and although YT is great on some more specific issues there are just no videos to cover the problem, hence why I started the channel.
Mine is a POE coordinator... How doe we connect to this? Mine isn't USB.
Probably best if you watch this video (ruclips.net/video/ZBbl0I-Zpuk/видео.html) as it shows you how to install for multiple Z2MQTT coordiantors but one of these is a POE coordiantor that you can follow those instructions. Or this video does similar (ruclips.net/video/APUXE2485Ng/видео.html)
@@smart_home_australia thank you
I'm lost: At @4:10 I don't have the 3 dots in the upper right corner. Please advise.
***EDIT***
The 3 dots are in the "Add on Store", which is a step either edited out, or not covered for my fellow noobies.
Nope, time and versions have moved on, so the screens have changed slightly.
Try ADD-ON>Press ADD-ON STORE>Press 3 DOTS top right > Select REPSOSITORIES and away you go.
Thats said remember you must be on a version that supports Add-Ons, which you can find in the "advanced Installation method" of www.home-assistant.io/installation/.
Thank you for the excellent detailed instructions. i ran into a problem with the configuration. I get this message: Failed to save add-on configuration, Missing option 'mqtt' in root in Zigbee2MQTT (45df7312_zigbee2mqtt) Can you tell me how to fix this please?
Thanks for your kind words.
Your error relates to probably a mis-spelling or missing space in the MQTT section in the Zigbee2MQTT configuration.
1) SETTINGS
2) Add-Ons
3) Search for and Select Zigbee2MQTT
4) Configuration
5) MQTT section
6) Verify Configuration
Typical Configuration
server: mqtt://core-mosquitto:1883
user: mqtt_your_username
password: mqtt_your_password
Make sure you have spaces after the colons.
I hope that helps.
@@smart_home_australia Thank you for your prompt reply. Much appreciated.
Thank you for the video, it is verry clear and easy to understand!
i followed all the steps but ceep running into to same error.
Zigbee2MQTT:error 2024-02-16 18:23:43: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-02-16 18:23:43: Failed to start zigbee
I have changed the port and adapter, but no succes.
Could you (ore someone els) help me out on this one?
Make sure your coordinator is recognised in the hardware section. And that the path is correct in the yaml.
Check the z2mqtt to see if you need to specifically mention your type of coordinator. Ie. deconz need to be mentioned in the yaml.
Make sure your firmware on your usb dongle is up to date.
Check these and you should be fine.
@@smart_home_australia Thank you for the quick respons! i flashed my dongle and now it works. Thanks again i hope to see more of your videos in the futere.
at the mqtt setup i keys exactly the uiser and password. it says fail to connect
Sounds like your issue is not with Z2MQTT but with your MQTT server. Make sure that you setup a separate username and password for you MQTT broker, and that MQTT broker running (make sure to check the logs).
Once you have confirmed this, restart HA and try to change the Z2MQTT configuration again.
I'm still getting the bad gateway message, and I tried to access the link you put in the description but none of them are working for me. Maybe it's because I'm on mobile... Thanks for the video though, I saw some very important steps I was missing
502 gateway? check out this thread community.home-assistant.io/t/zigbee2mqtt-502-bad-gateway-solved/447571/12
Although in my experience its hardware related. Recheck your Zigbee2MQTT config for SERIAL, I use the absolute reference and make sure the adaptor is referenced correctly:
port: >-
/dev/serial/by-id/usb-ITEAD_SONOFF_Zigbee_3.0_USB_Dongle_Plus_V2_XXXXX
adapter: ezsp
As opposed to the relative address of
/dev/ttyACM0
I hope that helps.
Have the same Sonoff coordinator and followed the tutorial to the tee (I hope) but it fails on a MQTT authorization error. No specifics. If I refresh Zigbee2MQTT is see a 502 Bad Gateway error. Have copied the user name and passwords between all three pieces - MQTT User, MQTT and Zigbee2MQTT but to no avail. Any permissions I might have missed or anything change of subsequent release? I'm currently on 2024.4.2
502 is an error that occurs a lot until you get everything setup correctly and there are a few different reasons that can cause this. Here are a few official reasons:
MQTT Broker Issues: The MQTT broker might not be running correctly. Ensure that the MQTT broker is properly installed and configured.
Zigbee Dongle Issues: The Zigbee dongle might not be correctly recognized by the system. Check if the dongle is properly connected and the correct port is specified in the Zigbee2MQTT configuration.
Configuration Issues: Incorrect settings in the Zigbee2MQTT configuration can also lead to this error. Make sure that the configuration.yaml file of Zigbee2MQTT is correctly set up.
However, one thing that alot of people forget is that you need to define the adapter (set in the configuration of the Add-on), cehck out the documentation, bit.ly/4aRVw6f, for instance I run a Sonoff adapter (amazing adapter, I'd highly recommend picking one up from the affiliate links) and you need to insert the addition line in the SERIAL section of the configuration for "adapter: ezsp", no quotes.
Hopefully that helps :)
Zigbee2MQTT:error 2024-02-17 12:06:57: MQTT error: Connection refused: Not authorized
Zigbee2MQTT:error 2024-02-17 12:06:57: MQTT failed to connect, exiting...
A little light on details and context there :)
You could check:
1) Credentials: Ensure that the username and password provided in the MQTT connect method are correct.
2) Authorization: Check if the MQTT client has the necessary permissions to connect to the MQTT broker.
3) Configuration: If you’re using Mosquitto, you might need to edit the Mosquitto configuration file to allow anonymous connections.
ho fatto tutta la guida uguale mi porta errori
Qual è stato l'errore che hai ricevuto? Questo video è abbastanza vecchio ormai, probabilmente avrai bisogno del firmware Ember adesso. ruclips.net/video/r0ihC8Dx3NM/видео.html
I dont have any " Addons" ?
That means that you are not running an installation of Home Assistant that supports Add-Ons. Check www.home-assistant.io/installation/#advanced-installation-methods, this shows you the installations that do support Add-Ons. What platform are you running on?
@@smart_home_australia Thanks for your answer. Yeah, I spent some time looking around. I'm not the only one with this issue; some have asked for it to be added.
I'm not running the OS, and that's why it's missing. I'm running an MQTT broker and HA in Docker on Synology. It's a first step to test things with no commitment, as I'm able to roll back if something goes wrong. I have Fibaro HC2, HC2Light, and now HC3 that support Zigbee (to some extent) and opened my eyes to Zigbee as being able to meter my house. But with lots of hit and miss on the devices, some work only on HC3 (Zigbee) and not on HA, and some don't work at all. I'm able to move all my Fibaro HC3 using MQTT to HA, so I'm running both systems, and both systems work. So I'm able to turn on a light with any of them.
I will add Zigbee2MQTT in Docker and run it that way to see what it brings. For now, all Z-Wave and other things run just fine, and my HC3 handles it all. But I have taken the first step in the door to leave Fibaro, as their fans are toxic and close-minded. There are no real good power meters as Z-Wave and no real support, so why not enjoy Zigbee, which is more friendly and has better exchange of ideas?
I previously ran HA on Synology, and had a great experience, but as my needs expended I found that I needed more power so I moved over to a VM on my Lab Server. It sounds like you have the solution for your Zigbee issue with Docker, which should work perfectly.
As for Fibaro, I have no experience with that eco-system, but what you describe is typical for such environments. Regardless, WELCOME to the Home Assistant club :)
I have core -2024.4.4 and there is no user option in people
Sorry looks like you are going to be out of luck. Check out www.home-assistant.io/installation/, you don't have supervisor, or add-ons. Which is a long way of saying you can't run Z2MQTT as you need Add-ons and integrations. sorry.
thx you!🙂
You're welcome! I'm glad it helped.
You absolute legend!
Thanks @Eurisko__78, you are most welcome.
502: Bad Gateway ???
There are afew reasons you get this error message from outdated firmware, to USB path incorrect or if using VM then the dongle not mapped through to the Home Assistant instance.
Check this thread for other issues you should make sure you have confirmed are working shorturl.ac/7d3gu
Good content, but very hard to hear.
That was when I started a year ago. Now with a professional mic so the new content is x100 better 😊👍🙏
The video is very well explained, but the implementation does not work. A period of 10 minutes turned into a period of 2 hours. All steps were followed exactly and the hardware is identical. The Zigbee2MQTT log shows that the firmware is faulty and the stick cannot be found. However, the stick knows that the firmware is faulty.
So I wanted to update the firmware. Then I learnd, that I still needed half a basic Python course to perform such a simple action. This is not a satisfactory solution for me. So I've decided to say goodbye to the smarthome stuff.
My goal is to connect four devices. I've studied numerous tutorials over the last two weeks, but to no avail. No amount of automation can make up for the time wasted.
Hi Buzz, I assume you have a ZBDongle-P? And yes you are right, its a pain to upgrade the firmware, or upload a new version if the original is corrupted. However, the tech's at SMLight tell me that their new Web flasher can now also flash none ZMLight coordinators, which if true (not tested yet) will be a huge deal !! Check out ruclips.net/video/T7LIk2PB0yw/видео.html, in conjunction with the Sonoff instructions for the location of the firmware, and try using this and hopefully it will work!! Pls let us know :)
followed the isntructions, but zigbee2MQTT not starting... looks like it can't find the adapter --- [15:55:51] INFO: Preparing to start...
[15:55:53] INFO: Socat not enabled
[15:55:58] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-09-15 15:56:07] info: z2m: Logging to console, file (filename: log.log)
[2024-09-15 15:56:08] info: z2m: Starting Zigbee2MQTT version 1.40.1 (commit #unknown)
[2024-09-15 15:56:08] info: z2m: Starting zigbee-herdsman (0.57.3)
[2024-09-15 15:56:08] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_beb8767be3a5ed11bbafe9a32981d5c7-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-09-15 15:56:08] info: zh:zstack:znp: Serialport opened
[2024-09-15 15:56:09] info: zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2024-09-15 15:56:10] info: zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2024-09-15 15:56:28] error: z2m: Error while starting zigbee-herdsman
[2024-09-15 15:56:28] error: z2m: Failed to start zigbee
[2024-09-15 15:56:28] error: z2m: Check www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-09-15 15:56:28] error: z2m: Exiting...
[2024-09-15 15:56:29] error: z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:123:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:138:29)
at Zigbee.start (/app/lib/zigbee.ts:64:27)
at Controller.start (/app/lib/controller.ts:140:27)
at start (/app/index.js:154:5)
OK checking the logs there are are things you need to check.
1) ZBDongle is connected secure and if via a VM then it can be seen in ALL HARDWARE in SYSTEM.
2) Try a different USB socket
3) Make sure your configuration has an adaptor of EZSP (or ember EMBER for E Dongles)
4) Make sure that no other software is using the Dongle.
5) Check the firmware of the adaptor.
Hopefully that resolves the issues.
@@smart_home_australia thanks for checking - I think the same dongle is previously used on zha- do I delete it on the zha? Or can i use the same dongle for zha and mqtt running at the same time.
Yes. You’ll need to delete from ZHA before using in Z2MQTT and no, you can’t use ZHA and Z2MQTT on the same single as they both can’t use the zigbee radio at the same time. You’ll need two zigbee coordinators for that.
i follow all ur steps, but end up cannot save in the zigbee2mqtt part 6:21
it show this
Failed to save add-on configuration, Missing option 'mqtt' in root in Zigbee2MQTT (45df7312_zigbee2mqtt). Got {'data_path': '/config/zigbee2mqtt', 'socat': {'enabled': False, 'master': 'pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777', 'slave': 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5', 'options': '-d -d', 'log': False}, 'serial': {'port': '/dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0', 'adapter': 'ezsp'}}
hopefully get some help from you, i have zero knowledge in programing
thanks
From that error message it looks like you have not sucessfully setup the new userid for mqtt and/or have not sucessfully setup the mqtt broker. Hence when you are trying to save the MQTT section in the options it is failing as the mqtt broker or userid is not configured.
I'd recommend going back over the steps and making sure that you have created the mqtt userid and that the mqtt broker installs sucessfully.
@@smart_home_australia really appreciate your reply, i will go look into it again. thanks
Not work for me...............this is the error:
20:40:51] INFO: Preparing to start...
[20:40:52] INFO: Socat not enabled
[20:40:53] INFO: Starting Zigbee2MQTT...
[2024-05-14 20:40:59] info: z2m: Logging to console, file (filename: log.log)
[2024-05-14 20:40:59] info: z2m: Starting Zigbee2MQTT version 1.37.1 (commit #unknown)
[2024-05-14 20:40:59] info: z2m: Starting zigbee-herdsman (0.46.6)
[2024-05-14 20:40:59] info: zh:ember: ======== Ember Adapter Starting ========
[2024-05-14 20:40:59] info: zh:ember:ezsp: ======== EZSP starting ========
[2024-05-14 20:40:59] info: zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-14 20:40:59] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2024-05-14 20:40:59] info: zh:ember:uart:ash: Serial port opened
[2024-05-14 20:40:59] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-05-14 20:41:02] info: zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-14 20:41:02] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-05-14 20:41:04] info: zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-14 20:41:04] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-05-14 20:41:07] info: zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-14 20:41:07] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-05-14 20:41:09] info: zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-14 20:41:09] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-05-14 20:41:12] error: z2m: Error while starting zigbee-herdsman
[2024-05-14 20:41:12] error: z2m: Failed to start zigbee
[2024-05-14 20:41:12] error: z2m: Check www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-05-14 20:41:12] error: z2m: Exiting...
[2024-05-14 20:41:12] error: z2m: Error: Failed to start EZSP layer with status=HOST_FATAL_ERROR.
at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:780:19)
at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:2642:24)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:124:29)
at Zigbee.start (/app/lib/zigbee.ts:62:27)
at Controller.start (/app/lib/controller.ts:109:27)
at start (/app/index.js:107:5)
What adapter are you using and what configuration? Can you copy the yaml here (minus password) so I can check it.
Sonoff Zigbee_3.0 USB Dongle Plus
@@smart_home_australia homeassistant: true
advanced:
network_key:
- 126
- 208
- 34
- 100
- 83
- 27
- 112
- 74
- 96
- 77
- 58
- 66
- 180
- 190
- 179
- 44
pan_id: 63322
ext_pan_id:
- 242
- 147
- 193
- 230
- 184
- 229
- 244
- 162
mqtt:
server: mqtt://core-mosquitto:1883
user: @@@@@
password: @@@@
serial:
port: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_56894d91b719ec11a2dc7fe5f01c6278-if00-port0
adapter: ember
frontend:
port: 8099
homeassistant: true
advanced:
network_key:
- 126
- 208
- 34
- 100
- 83
- 27
- 112
- 74
- 96
- 77
- 58
- 66
- 180
- 190
- 179
- 44
pan_id: 63322
ext_pan_id:
- 242
- 147
- 193
- 230
- 184
- 229
- 244
- 162
mqtt:
server: mqtt://core-mosquitto:1883
user: @@@@@
password: @@@@
serial:
port: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_56894d91b719ec11a2dc7fe5f01c6278-if00-port0
adapter: ember
frontend:
port: 8099
The error message "Failed to start EZSP layer with status=HOST_FATAL_ERROR" indicates a critical issue with the EZSP (EmberZNet Serial Protocol) layer, which is used for communication with Zigbee devices. This error can occur due to various reasons, such as firmware issues, hardware incompatibility, or configuration problems.
I found some further related topics at github.com/Koenkk/zigbee2mqtt/issues/22469
It suggests if you have trouble starting Z2M:
- make sure you are using the proper firmware, proper baudrate, and corresponding baudrate in Z2M configuration.
- unplug the adapter for 30+ seconds, then plug it back in and start Z2M again
- re-flash the same firmware
I hope that helps.
i get this error: Failed to save add-on configuration, Missing option 'mqtt' in root in Zigbee2MQTT (45df7312_zigbee2mqtt). Got {'data_path': '/config/zigbee2mqtt', 'socat': {'enabled': False, 'master': 'pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777', 'slave': 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5', 'options': '-d -d', 'log': False}, 'serial': {'port': '/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2692281-if00'}}
Looks like you are trying to setup a ConBee II stick to run Z2MQTT.
However, it would see that you have not entered the Z2MQTT section that refers to MQTT correctly. It should read something like:
server: mqtt://core-mosquitto:1883 #this is your MQTT server
user: mqtt_user #enter your MQTT username
password: mqtt_password #enter your MQTT password here
Remember to save the configuration for the section you modify as there are multiple saves options on the screen.