openlumi / openlumi.github.io

OpenWrt for Xiaomi Zigbee gateway with imx6 SoC DGNWG05LM, ZHWG11LM
https://openlumi.github.io
154 stars 26 forks source link

Alarm mode support #30

Closed giltabibian closed 2 years ago

giltabibian commented 2 years ago

Hi! Thanks for this great guide! I was able to connect to uart and flash the firmware on my DGNWG05LM gateway. Still wondering witch firmware to install. Cant find any mention of alarm mode support? Is it possible to use it? I understand that i cant use both xiaomi mi account and ZHA/z2mqtt. My purpose is to use both the zigbee sensors and the hub alarm and light. (using home assistant on raspberry pi 4)

devbis commented 2 years ago

Alarm mode is not implemented. You can use https://github.com/openlumi/lumimqtt to flash light through MQTT and MPD HA integration to play sounds. Also, you can implement a custom shell command with MQTT events.

giltabibian commented 2 years ago

@devbis thanks for the comment. Eventually i flashed the backup stock fw and used the xiaomi hub as is. I also bought a conbee zigbee stick and connected it to my rpi4 running home assistant. I wonder does my current xiaomi gateway 2 running xiaomi fw stock can act as a zigbee repeater to my conbee stick. Or should i configure something for it to work?

devbis commented 2 years ago

I don't think that stock firmware is customizable in any way

giltabibian commented 2 years ago

Ok. And does the stock fw serving as a repeater to all zegbee messages it receives?

devbis commented 2 years ago

I don't know, doubt it :)