Page 1 of 1
light sensor polling interval gateway xiaomi
Posted: Friday 25 May 2018 20:34
by remko2000
there is a possibility to set somewhere an interval where every 10 minutes the lux value from the sensor inside the xiaomi gateway (v2) is forwarded to domoticz?
Re: light sensor polling interval gateway xiaomi
Posted: Friday 25 May 2018 21:47
by waaren
on my system the xiaomi Lux is a device. I am not 100% sure but if I remember correctly it was automatically created when adding the hardware to domoticz. Could you check if it is not already on your system (maybe in the unused devices area ) ?

- lux.PNG (10.72 KiB) Viewed 1488 times
Re: light sensor polling interval gateway xiaomi
Posted: Saturday 26 May 2018 8:26
by remko2000
Yes it is a device and I see now that the luxvalue get updated but sometimes 1 time in an hour and sometimes 6 times. I don' t understand the logical behind this and would like to control it by myself.
Re: light sensor polling interval gateway xiaomi
Posted: Saturday 26 May 2018 8:55
by waaren
remko2000 wrote: Saturday 26 May 2018 8:26
Yes it is a device and I see now that the luxvalue get updated but sometimes 1 time in an hour and sometimes 6 times. I don' t understand the logical behind this and would like to control it by myself.
It's a known gateway problem and cannot be solved by domoticz. (dirty) Workaround is to send an on/off to the internal gateway light, forcing the Lux sensor to measure the light and update it's value.
Re: light sensor polling interval gateway xiaomi
Posted: Saturday 26 May 2018 9:39
by remko2000
Ok thx. I will try that workaround.
Re: light sensor polling interval gateway xiaomi
Posted: Friday 01 June 2018 13:08
by DAVIZINHO
hello.
The light must be on any time? or if i set lighton and lightoff this works?
Becasue if the script set one after the other, the light not turn on and maybe is a good woorkaround
