Install Zigbee2MQTT THE RIGHT WAY with the Sonoff ZBDongle E in Home Assistant - Tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Hi!   Sonoff has released their new version of their  Zigbee 3.0 USB Dongle Plus, the ZBDongle-E.   In this video, I'll show you how to set it  up in Home Assistant and share some tips to   help you get the most out of this Zigbee  stick. Let's get started right away!   The new version of the popular Sonoff Zigbee Stick  differs from the previous Dongle-P version. You   can see these differences on this site here. You can recognize the stick by the text ZBDongle-E   on the box. In addition, this stick is about  5.1 cm long, which is a bit shorter than the   ZBDongle-P. This tutorial shows you how  to install both Sonoff Zigbee sticks with   Zigbee2MQTT in Home Assistant. Despite the fact that this stick is   currently still classified as experimental on  the Zigbee2MQTT site, I still took the plunge.   I've tested this stick extensively over the past  few days and even transferred my entire house to   the Sonoff Zigbee Dongle-E. For this, I linked  the stick to Zigbee2MQTT in Home Assistant.   I'll show you how you can do that  first. At the end of the video   I share my experiences and give tips to  make this stick work as good as possible.   To get this stick working in Home  Assistant you need to do the following:   We will first create a user that will  be used by the Mosquitto MQTT addon.   Go to Settings Go to People   Click on Add Person Name the person: MQTT-user   Click on Allow person to log in Enter a password   Enter the password again Click on Can only log in   from the local network and Click Create   Now we're going to find out what our Sonoff  Zigbee stick is called in our system   Go back to Settings Go to System   Go to Hardware Click on the three dots at the top right   Click on All Hardware Now search for your Sonoff stick in the list   and click on the arrow next to it to open it. At DEVLINKS, select the value that starts   with /dev/serial/by-id... and  copy it to your clipboard.   Now we are going to install the Mosquitto MQTT  add-on. This ensures that Zigbee2MQTT can send   the values ​​of your Zigbee devices  to Home Assistant and vice versa.   Go back to Settings Go to Add-ons   Click on Add-On Store   Search for MQTT and click on Mosquitto broker Click on install now   After the installation is complete,  you can click on Watchdog   Then click on start Now go back to Settings   Go to Devices & Services Click Configure in the MQTT card.   If you don't see the MQTT card, you can first  look it up at search integrations. Sometimes   it is necessary to refresh your browser's  cache before you can see this MQTT card.   Click submit now And click finish!   Superb! The Mosquiotto MQTT broker is now  installed. Now we are going to install   Zigbee2MQTT. Go to Settings   Go to Add-ons Go to Add-on store   We now need to add a custom  repository to install Zigbee2MQTT.   Click on the three dots at the top right Click on Repositories   Now enter the following repository url. The link can be found in the description   below the video Click on Add   and click Close Refresh your browser now.   You should now see two Zigbee2MQTT add-ons  in the list: The production version   and the development or Edge version. Click on the Zigbee2MQTT card   and click Install Zigbee2MQTT is now installed   Click on Watchdog and Show in Sidebar  after the installation is complete.   Now we need to configure Zigbee2MQTT. Go to Configuration   Put the following data in the mqtt field: The server is mqtt://core-mosquitto:1883   The user is the user we created  earlier, whicg is: mqtt-user   And the password is the password  you entered for that user   Then enter the following  information in the serial field:   The port is the value of the stick you put on  your clipboard, so you can paste it with ctrl-v   If you have the Sonoff Zigbee Dongle-E,  then please add adapter: ezsp.   You don't really have to do that if  you have the older Zigbee Dongle-P.   Now click on Save Now go to the Info tab and click start!   In the log tab you can see if  the startup is going well.   If you get error messages in the log,  it could be due to several things.   You can go to this site to check exactly  what the problem on your system is.   The link can be found in the  description below the video   If everything went well, you  can now open Zigbee2MQTT.   In the left menu, go to Zigbee2MQTT We are now going to pair some devices.   Click on Permit join (All) Now put your device into pairing mode.   In my case that is an IKEA lightbulb  and an Aqara Motion Sensor.   You will see that Zigbee2MQTT will  discover and configure the devices.   This can take a while and sometimes  it doesn't work in one go.   You might have to re-pair a device  several times before it is recognized.   If everything went well, you will  see your devices in the overview   of Zigbee2MQTT with a photo of each device. If you click on the device, under Exposes you see   what sensors have been detected by Zigbee2MQTT.  You can also control the device here.   Now first change the name of the devices so that  we can easily recognize them in Home Assistant.   Click on the blue icon next to the device Give the device a Friendly name.   Click Update Home Assistant entity ID Then click on Rename device   Do this for all the devices in the list   The devices now work in Zigbee2MQTT. Now we  will search the devices in Home Assistant to   see if they work there. Go back to Settings   Click on Devices & Services Click on the Devices tab   Find the devices in the list My Aqara Motion Sensor and Ikea light bulb are   listed, so Zigbee2MQTT was able to successfully  connect to the Mosquitto MQTT add-on.   When I open the Ikea lightbulb, you see  that I can control it in Home Assistant.   When I open the Aqara motion  sensor, you see that the values   ​​of the sensors are passed on neatly. So we managed to install Zigbee2MQTT and get   it working in Home Assistant with the Sonoff  Zigbee 3.0 USB Dongle Plus ZBDongle-E!   If you want to buy the Sonoff Zigbee 3.0  USB Dongle Plus ZBDongle-E, you can click   on the link in the description. There is also a  discount code with which you get a discount of 15%   on your purchase. I get a small affiliate fee  for your purchase, without it costing you extra   money and you support me a little bit for making  this video. The discount code is only available   for a limited time, so order it quickly. Then I have some tips with which you can get   the Sonoff Zigbee ZBDongle-E working as well  as possible in your home. I spent about a day   re-pairing all my devices in the house and I  discovered the following best practices.   First of all, disable the default Zigbee  integration ZHA in Home Assistant! You   cannot run ZHA and Zigbee2MQTT at  the same time using the same stick!   Second, use a USB-extension cable between your  Zigbee stick and your Home Assistant server.   Third, first pair all your powered devices such as  your lamps and then your battery powered devices.   My fourth tip is: Normally I pair all my devices  at the location where I'm going to use them,   but that turned out to be very difficult with this  stick. Somehow this stick struggled to quickly set   up the Zigbee mesh network. As a result,  Zigbee2MQTT was able to find the devices,   but interviewing the devices did not always  go well. In the end I paired all my devices   close to the stick and got everything paired. My fith tip is: If a device cannot be paired   properly the first time, try a few more times.  Usually it goes well the second or third time.   And then the pro tip: Use a smart plug and  this Home Assistant script to pair your IKEA   lightbulbs. This script ensures that the lamps are  switched on and off at the correct time interval,   so that they always immediately enter pairing  mode. Ikea lamps are very sensitive to the correct   interval to put them in pairing mode and this  script saves you a lot of time and frustration.   You can find the link to this script  in the description below the video.   Thanks Frenck from Home  Assistant for this script!   I hope this video helped you and I want to  thank everyone who has supported me so far   in making these videos and tutorials. I  could never have done this without you.   Thank you! If you also want to support me, see how  you can do that in the description of this video.   With that you make it possible that I can  continue to make these videos for you.   Oh, and don't forget to give this video a   thumbs up, subscribe to my channel  and hit the notification bell.   I will see you soon! Bye bye!
Info
Channel: Smart Home Junkie
Views: 38,437
Rating: undefined out of 5
Keywords: Home Assistant, Home Assistant teacher, Home assistant beginners guide, Home assistant tutorial, Howto, Set up home assistant, home assistant for beginners, home assistant guide, home assistant setup, home assistant tips, home assistant tips and tricks, home automation, homeassistant, how to, install home assistant, smart home, smart home automation, smart home tech, smarthome, zigbee, zigbee2mqtt, zb dongle-e, dongle-e, zb dongle-e zigbee2mqtt, Sonoff zigbee stick
Id: 4y_dDgo0i2g
Channel Id: undefined
Length: 10min 17sec (617 seconds)
Published: Sun Aug 28 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.