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

The battery status is send after some time, on most of the devices you can trigger it by pressing the pairing button.

Yes please!

This is a great solution, but not the best. But i thank you for the effort. The best is develop lib like like zigpy/bellows and use directly CC2531 usb dongle. I want to try but have limit to python

Not sure I agree.
With mqtt zigbee2mqtt can support hass and also other home automation platforms. Hence wider adoption and dev contribution.
Since hass has mqtt autodiscovery the integration is close to native.

It is not native, ZHA component also official support, the dev from zigpy/bellows just not interest in CC2531.
It is best with this setting, must code the lib for cc2531 first

zha:
usb_path: /dev/ttyUSB0
database_path: /config/zigbee.db
radio_type: cc2531
device_config:
Also have some lib from java to adapt like GitHub - zsmartsystems/com.zsmartsystems.zigbee: ZigBee Cluster Library Java framework supporting multiple dongles

I just verified that with routers in the network (e.g. Xiaomi Smart power plug) you can connect more devices.

2 Likes

Could you share the step youā€™ve taken? And what if I ran zigbee2mqtt within docker? Will it work in there also?

Same here, looks like Home Assistant doesnā€™t support json_attributes for MQTT binary sensors.

Thank you for this project, mine is working great with my Tradfri bulbs, running zigbee2mqtt in Docker. Will be adding some Xiaomi stuff soon, great to eliminate all these hubs.

Iā€™d be happy to do this as well, I am in the US (CA). I was going to flash a few sticks for friends, and went ahead and ordered some extras. Anyone interested PM me

Finally got everything in the mail from China and ready to beginā€¦but first problem right off the bat. I am unable to create a TI account to download SmartRF Flash programmer from TI. No matter what I do, the account will not create and I just hang on a page after entering in information. Is there any other source to get the flash program?

Same problem for me. Seems a problem on the TI site.

Working now :slight_smile:

Thanks @Koenkk, this is truly amazing!

If anyone in NL needs their firmware flashed, send me a message.

1 Like

Blockquote
Is there any other source to get the flash program?

Yes there is. I will try to update a MacOS setup for the Zigbee2Mqtt repo that works off the linux setup mentioned here: GitHub - Frans-Willem/AqaraHub: AqaraHub is an open-source Zigbee hub for Xiaomi Aqara devices. It aims to be a replacement to the Xiaomi Gateway that does not require communication to outside servers, and uses a saner communication option (e.g. MQTT).

The repo for the flash tool I used is GitHub - dashesy/cc-tool: Mirror of cc-tool from SourceForge that was also mentioned earlier by @airdrummingfool

For MacOS I was able to install the mentioned dependencies: libusb, boost, pkgconfig using homebrew. Example:

brew install libusb

Got this up and running with my Hive light, thanks @Koenkk for your support and for adding transition timing!

Iā€™m interested too! Let me know

EDIT: Already bought one.

Depending on the price, I might also be interested. Keep me posted.

Does your cube stay connected? It seems like it drops off the grid for me after some time.

With pairing, I also get:
No converter available for 'MFKZQ01LM' with cid 'genBasic' and type 'devChange'

How do you know it drops off the grid? I think it stays connected for me, although it was once a little unresponsive at first (dunno if it was just a general connectivity issue). But I also get the error with the no converter once in a while but have ignored it since it works anyway / has a converter.

It stops responding to motions. Now testing the usb stick on a different box, to see if itā€™s maybe just my crap serverā€¦ (seems like it)