1) Give a description of the problem
I can’t get the piston to fire based on the conditions.
2) What is the expected behavior?
I’m inputting two conditions in the if block. I realize this is inefficient, but I want the piston to fire if either a watched switch comes on or the watched switch’s level is different from the variable integer (which changes based on time of day…separate piston handles that variable).
3) What is happening/not happening?
When the piston is running, nothing happens. So if the reference integer is 10, and I have the light set to 100, I know that condition is met. Then, if I turn off, then on the switch, I know that condition is met. But the piston doesn’t fire, and so it doesn’t change the dimmer level. However, If I manually test it by pressing the test button, the piston does exactly what I want. It seems like maybe the “for each” is dorking up the piston’s ability to subscribe to the conditions I want it to subscribe to. Is this possible?
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
+1ms | ╔Starting piston… (v0.3.107.20180806) |
---|---|
+398ms | ║╔Subscribing to devices… |
+409ms | ║║Subscribing to Home.:8183ef827920214044f7df93ae2053aa:.@dimlevel… |
+424ms | ║║Subscribing to Home.:8183ef827920214044f7df93ae2053aa:.@SendSMS… |
+561ms | ║║Subscribing to Master Bedroom Lamp… |
+562ms | ║║Subscribing to Master Bedroom Overhead Light… |
+563ms | ║║Subscribing to Upstairs Hallway Light… |
+564ms | ║╚Finished subscribing (172ms) |
+616ms | ║Comparison (boolean) true is (boolean) true = true (1ms) |
+626ms | ╚Piston successfully started (625ms) |