This REVISED GUIDE is compatible with the new Zigbee2MQTT version 1.25.0!!!
Next to the native ZHA integration, you can also use Zigbee2MQTT to control your Zigbee devices in Home Assistant. I will show you how to set this up in this video tutorial. This is the SECOND OF THE FOUR Zigbee integration videos that I am creating currently and that will come out in the next couple of days. The other videos are about how to set up Zigbee integration using ZHA and deCONZ. In the last video, I will compare these integrations and will let you know what my findings and conclusions are on these integrations and which one will fit your needs best in what scenarios. Please, subscribe to my channel so that you won't miss these valuable videos.
❗❗❗ NOTE: If you bought the new Sonoff stick (it's 5 cm in length) then you have to do the following to make it work in Zigbee2MQTT:
Add the following line to the serial field in the configuration of Zigbee2MQTT or in the configuration.yaml from Zigbee2MQTT:
adapter: ezsp ❗❗❗
❗❗❗ * If you get a 502: Bad Gateway error you can try the following steps: - Add the following lines to the mqtt section: user: mqtt-user password: your-password - Connect the dongle through a USB-extension cable - Update the Sonoff Dongle. This is an excellent video on how to do this: https://youtu.be/KBAGWBWBATg - Change the Zigbee Channel in the configuration of Zigbee2MQTT. See this link on how to do that: https://www.zigbee2mqtt.io/guide/configuration/zigbee-network.html#permit-join ❗❗❗
00:00 Introduction 00:28 Show list of supported devices by Zigbee2MQTT 00:54 Install Mosquitto broker 01:46 Install Zigbee2MQTT 05:15 Start Zigbee2MQTT 05:40 Connect a Zigbee lightbulb to Zigbee2MQTT 07:00 Add the Zigbee lightbulb to the dashboard 07:59 Connect a Zigbee Motion Sensor to Zigbee2MQTT 08:40 Add the Zigbee Motion Sensor to the dashboard 10:20 Connect a Zigbee Smart Plug including energy metering to Zigbee2MQTT 11:45 Add the Zigbee Smart Plug to the dashboard 12:42 Create a simple automation using a Zigbee Motion Sensor, a Zigbee Lightbulb, and a Zigbee Smart Plug 14:22 Outtro