Search found 3 matches

by ReWiG
Wednesday 17 October 2018 9:28
Forum: dzVents
Topic: The light stays on while there is movement.
Replies: 5
Views: 968

Re: The light stays on while there is movement.

I use this sensor https://www.gearbest.com/alarm-systems/pp_659226.html It shows this behavior https://yadi.sk/i/_scN-UYlXlaGDw https://yadi.sk/i/VU-6Zcxbi7sxfg That is, it turns on, turns off and on again after a minute. At the same time, in the sensor settings, I have this https://yadi.sk/i/Aq ...
by ReWiG
Wednesday 17 October 2018 8:03
Forum: dzVents
Topic: The light stays on while there is movement.
Replies: 5
Views: 968

Re: The light stays on while there is movement.

I do not have the opportunity to check now, but I think that it does not work. I used the condition "if (device.state == 'Off') then devices.switchOn ()" end instead of checkFirst () and it did not work. The fact is that the xiaomi sensor regains its state at least once a minute. That is, what ...
by ReWiG
Tuesday 16 October 2018 23:16
Forum: dzVents
Topic: The light stays on while there is movement.
Replies: 5
Views: 968

The light stays on while there is movement.

I have a xiaomi motion sensor and a lamp. I want to turn on the lamp when motion is detected and turn it off only when the movement stops. But I can not. Can you help me write a script dzvents?