Bin:
https://github.com/arendst/Tasmota/releases/download/v9.5.0/tasmota-zbbridge.bin
Wiring:
Flash Zigbee Chip
https://zigbee.blakadder.com/Sonoff_ZBBridge.html
Homebridge Integration
MQTT
Configure your bridge device for MQTT:
After configuring you will have messages being sent to MQTT on various topics:
- tele/zigbee/SENSOR
- tele/zigbee/RESULT
Homebridge
Message
tele/zigbee/SENSOR { "ZbReceived":{ "0x6373":{ "Device":"0x6373", "0500<00":"000000010000", "ZoneStatusChange":0, "ZoneStatusChangeZone":1, "Occupancy":0, "Endpoint":1, "LinkQuality":136 } } }
MQTTTHING
{ "accessory": "mqttthing", "type": "occupancySensor", "name": "sonoff-occupancy", "url": "http://192.168.1.50:1883", "topics": { "getOccupancyDetected": { "topic": "tele/zigbee/SENSOR", "apply": "return JSON.parse(message).ZbReceived['0x6373'].Occupancy;" } }, "integerValue": "true" },
References
Reference | URL |
---|---|
Sonoff Zigbee Bridge | How to flash with Tasmota and setup in Home Assistant with ZHA | https://www.youtube.com/watch?v=SDynPbCGvS0 |
Tasmota Releases | https://github.com/arendst/Tasmota/releases |
Tasmota Zigbee | https://tasmota.github.io/docs/Zigbee/ |