light sensor polling interval gateway xiaomi

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
remko2000
Posts: 182
Joined: Thursday 28 December 2017 14:38
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Broek op Langedijk
Contact:

light sensor polling interval gateway xiaomi

Post 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?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: light sensor polling interval gateway xiaomi

Post 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
lux.PNG (10.72 KiB) Viewed 1481 times
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
remko2000
Posts: 182
Joined: Thursday 28 December 2017 14:38
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Broek op Langedijk
Contact:

Re: light sensor polling interval gateway xiaomi

Post 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.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: light sensor polling interval gateway xiaomi

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
remko2000
Posts: 182
Joined: Thursday 28 December 2017 14:38
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Broek op Langedijk
Contact:

Re: light sensor polling interval gateway xiaomi

Post by remko2000 »

Ok thx. I will try that workaround.
DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

Re: light sensor polling interval gateway xiaomi

Post 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 :-)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest