Piston start when shouldn't


#1

I’m trying to setup a piston where when I disarm home’s alarm and time is between a range, a couple of lights should turn on.
But it seems that the time parameter is not considered and the lights turn on whether time is between the range or not.


#2

i may be wrong but it looks like the “only when” is not in the correct location.

i believe it should be within the execute section and part of the IF block


#3

That is strange. I imported your piston and the times showed as 19:00:00 to 00:00:00. It was just before 22:00:00 here and so the lights turned on and off. When I changed it to 22:00:00 to 00:00:00 I got the message Piston execution aborted due to restrictions in effect in the logs. It still tested whether the button had been pressed but it didn’t turn the lights on and off. So it seems to work correctly for me.


#4

when I imported it earlier today… it showed as 7pm to 12pm (noon)


#5

I was wondering if 12am wasn’t being interpreted as the OP intended, certainly in the UK there is no ‘correct’ interpretation, but I was at least expecting it to be consistently interpreted by webCoRE.