Edge/UI7 latest/Firefox 42.0/Win10
Using PLEG to control hall lighting : (motion OR doorswitch) AND (lux > 30)
Works fine, but i can’t work out what is controlling the minimum time between successful repeat uses. I am trying to fine tune the LUX trigger value, but am finding that the lights do not always trigger - is this system latency or does Vera (or PLEG?) limit the interval between re-running conditional code?
Regards, Pat
PLEG will re-run as often as any of the input changes …
With many of the battery powered devices … aux measurements like LUX only update Vera when the primary measurement (i.e. motion) changes.
Thanks for that Richard.
As I am using the lux value as a qualifier along with motion, that is fine. However, that doesn’t work if this is then OR’d with another trigger eg door opening…
How can I force a refresh of the lux say, every 20 minutes - I guess it’s in the wake-up time, poll time area…? As the lux changes, I take it from your comment that this initiate a PLEG run, however I manage it?
Regards, Pat
That’s a device specific question … So you will have to research the device options.
I have never used the lighting levels from devices … I use offsets from Sunrise/Sunset to handle my lighting needs.
I use the day or night plugin for this, so I can manually Override, but this can be done in PLEG directly as well.