Making something happen once


#1

1) Give a description of the problem
I want something to happen once and then not again.

2) What is the expected behavior?
My sonos plays but if turned off, it doesnt come on again.

3) What is happening/not happening?
Cant figure out how to make it a single event
4) Post a Green Snapshot of the pistonimage

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS THEN HIGHLIGHT ALL OF THE LOGS SND CLICK ON THE </> ICON TO FORMAT THEM)


#2

I have the same problem with my morning piston. I want the heating to turn up to 20 deg when there is motion outside my bedroom door between 06.30 & 10.00. But of course the piston re starts (and sets the heating back to 20deg!). Annoying if I’ve turned the heating back up or down once I’m up and about!


#3

How about something like this


#4

I suppose I could just tell he piston to wait till midnight to end…?


#5

Sorry to re-ignite this one… I tried the example as detailed above but no cigar.

Nick


#6

Your piston is not subscribed to anything.


#7

Which bit needs to subscribe? The if once? Or play?


#8

I would force Motion 1 to subscribe so that it will watch for events.