Zigbee2mqtt: getting rid of your proprietary Zigbee bridges (Xiaomi, Hue, TRADFRI)

Can developers do a video tutorial?

Demonstrate how the hardware is connected

Thanks, but unfortunately I am pretty clueless about that side of things

When the bits I ordered arrive from China I will have a go at this (I already created a few addons and provided repo to the community).

3 Likes

I found hardware cheapier on ebay than aliexpress. So be sure to check all the usual places if you want the best price. Also, some sellers sell a bundle of USB sniffer and downloader cable so you can save on that. And it seems that there is a cheapier version of CC debugger without the case.

I went with eBay, too.

https://rover.ebay.com/rover/0/0/0?mpre=https%3A%2F%2Fwww.ebay.co.uk%2Fulk%2Fitm%2F142243984141

2 Likes

Iā€™m having trouble getting this running on a raspberry pi with fresh flash of latest Raspbian. With the stock node and npm packages it can get through the npm install with warnings but then wonā€™t start.

If I pull down the nodejs 10 packages the npm install fails with node-gyp build errors.

Any tips appreciated. Thanks!

Can you provide a log?

I retried with nodejs 9 (not 10) and it worked.

got an Xiamo Aqara water leak detector connected for testing. Not sure if this is the device or the zigbee2mqtt but I only get updates if I push the button on the device. Dropped it in a plate of water and got no update, but pushing the button tell me itā€™s detecting water.

Never mind I let it sit in water for a while and it eventually reported. - But something is up, as it should report immediately when it detects water - saw it working on a youtube video.

1 Like

I have checked this but mine doesnā€™t report anything immediately

this with the native app but:

Thanks, Iā€™ve created an issue for it: https://github.com/Koenkk/zigbee2mqtt/issues/17

Koenkk excellent project!! Had a look through the wiki and code its awesome that people can just extend it by configuring convertors :))

Also many zigbee devices are already supported!!!

Great work!!!

1 Like

Excellent project!
before giving it a goā€¦
Could somebody confirm Aqara PIR sensors and door sensors reports open and close states, as opposed to generic rf sensors.
These states also translates to mqtt messages?

Thanks!

Yes! Both the Aqara door and the PIR sensor report the closed/open, presence/no presence state via MQTT. Because the PIR sensor does not report the no presemce state, zigbee2mqtt generates this event after 3 minutes of no presence.

There are other similar projects for multi-vendor zigbee gateways - ZiGate, deconz (maybe more that I am not aware of). It looks like all are taking slightly different approach, but I assume there must be some common concepts.
What is the possibility to pool support of new devices with these projects?
Currently both ZiGate and deconz are closed source (commercial) I think, so nothing available to reuse on github yet, but ZiGate is promising to go open ā€œsoonā€.
I have a number of Philips hue bulbs that are not supported but are in other projectsā€¦

1 Like

Support for more Hue bulbs can be added very easily to zigbee2mqtt. Just follow https://github.com/Koenkk/zigbee2mqtt/wiki/How-to-support-new-devices , most of the things can be copied from the Hue Go (which is currently supported).

Whatā€™s the range on the CC2531? That looks like a pretty small embedded antenna.

Iā€™m hoping it should be ok because powered zigbee devices (bulbs, switches etc) create a mesh network

possible stupid question: can a different zigbee dongle be used after setup or does it have to be the CC2531?