Control Zigbee Devices Using Zigbee2MQTT with Home Assistant

Zigbee2mqtt acts as a gateway between a zigbee network and an MQTT network.

You can manage/view your Zigbee devices from home assistant via MQTT.

For this to work you will need to have installed and configured the MQTT integration



mqtt-integration

and enabled automatic discovery.

mqtt-discovery

When the devices joins the Zigbee network the device details will be sent via MQTT and discovered by Home assistant.

The Ziigbee2MQTT gateway creates a config message using the  device details and sends it to the broker as described in Adding an MQTT Device to Home Assistant

Below is an example config message created by the Ziigbee2MQTT gateway:

zigbeemqtt-config-payload

Notice the topic of the message.Home assistant will know from the payload what topics it needs to subscribe to to receive data from/about the device.

The Zigbee devices will appear as  devices in Devices

zigbee-devices

and can be added to the dashboard.

zigbee-devices-dashboard

Related Tutorials and resources.

Please Let me Know if you found it Useful
[Total: 2 Average: 5]

Leave a Reply

Your email address will not be published. Required fields are marked *