1) Give a description of the problem
Custom piston used to set location mode.
So after the time for the piston to run is triggered. based on time of day and presence. Either the piston doesnt run on its own or the location mode does not change based on said conditions.
2) What is the expected behaviour?
-if both presence sensors are home and it’s after sunset (6:50PM). automatically set location to night home. This applies if one of the two presence sensors is home too. (So day home to night home);
-or if both presence sensors are away and it’s after sunset. automatically set location mode to night away. (So day away to night away, or day home to night away).
3) What is happening/not happening?
after sunset the piston does not change location mode to night home from day home (if both presence sensors are home – everyone is working from home due to COVID). So this causes my other piston (which turns on sets light level for outside lights based on civil twilight) not to function because location mode is neither night home or night away. So automatically the piston does not run.
One interesting note. If I manually click the ‘test’ button within the piston itself. The piston runs and the location mode is changed as expected.
I’d appreciate your help. Thanks.
**4) Post a Green Snapshot of the piston![image|45x37]
Piston snapshot as is with NO ‘test’ button pressed:
Piston snapshot after clicking ‘test’ button and trace enabled:
5) Attach logs after turning logging level to Full
Piston logs as is with NO ‘test’ button pressed:
6:44PM
7:33PM
Log for piston running after clicking the ‘test’ button: