I found these xiaomi sensor hacks you might be interested in.
To be clear, these are not allowing to change or subvert behaviour when using the xiaomi GW. You would need some other zigbee interface to make use of the hacked sensors. Still… interesting what people get up to…
As far as I noticed the gateway is able to play some (chinese) radio tunes via the MiHome-App.
Has anyone tried to teach the gateway some custom radio streams?
Lately HA hass been showing errors about it not being able to connect to the Gateway: “[custom_component.xiaomi] Cannot connect to Gateway”, and “[custom_component.xiaomi] No data in response from hub None”. My switches and sensors still work though. Should I be worried?
It’s only possible by some dns hackery to divert the gateways request to another server.
That server needs to sent the radio stream in some proprietary chunked format.
There is some Russian site that you can get server software from.
Imo not worth the effort
Ok, thanks for the info. Indeed not worth the effort… Maybe wait for an official integration.
On another subject:
Does anyone have working notifications regarding the Xiaomi humidity-/temperature-sensors? E.g. “notify me when room abc reaches a humidity level 123”?
For me the fork (xiaomi: check_ghost: true) does not eliminate the ghost problem. The polling retrieves wrong states from the gateway (https://github.com/louisZL/lumi-gateway-local-api/issues/11). May be also heartbeat messages should be ignored for the present.
hi @Danielhiversen where is the illumination sensors from? Is it in the gateway or?
Simple test seems that the value is not changing. I will test further when i come home…
Light sensor is located on left side of gateway in the middle. It behave a little bit strange. It can detect light increasing quick but decreasing goes slow.
It is not optimal, but since it takes very long time to add fixes to the main repo https://github.com/lazcad/homeassistant/pull/26
I had to start maintaining my own version to make sure it works for me.
This will hopefully be avoided if the component gets added to the official repo in the future.
What bothers me about the illumination is that it reports it in lumens, and never goes to 0, the lowest it goes is ~300 lm, on the other hand I have a z-wave sensor that measures luminance - reported in lux - that one shows 0 during the night.
Is someone actually clear whether the reported values for the sensor are in lumens or in lux, they are not the same unit of measure.