Piston stopped working when migrating


I have a simple piston that’s been running for a long time now it will not work. I think it failed around the time I migrated in Smartthings. The light switch still works and the motion sensor still works
Whats up


Can you provide a full log?


9/14/2020, 5:02:06 AM +192ms
+0ms ╔Received event [Home].time = 1600074127643 with a delay of -1452ms
+106ms ║RunTime Analysis CS > 25ms > PS > 48ms > PE > 33ms > CE
+108ms ║Runtime (37844 bytes) successfully initialized in 48ms (v0.3.110.20191009) (107ms)
+109ms ║╔Execution stage started
+125ms ║║Skipped execution of physical command [Entrance Light].off([]) because it would make no change to the device. (5ms)
+126ms ║║Executed [Entrance Light].off (7ms)
+137ms ║║Comparison (enum) off stays (string) on = false (1ms)
+139ms ║║Cancelling any timed trigger schedules for condition 13
+140ms ║║Cancelling statement #13’s schedules…
+141ms ║║Condition #13 evaluated false (12ms)
+142ms ║║Condition group #5 evaluated false (state did not change) (13ms)
+144ms ║╚Execution stage complete. (34ms)
+145ms ╚Event processed successfully (144ms)


for some reason If I clear the logs in WC then move infromt of the motion sensor then in WC click on test the light will go on


I am surprised that this piston has been working for you. Your trigger is not on the motion sensor. Your trigger is on the light switch. Is that how you designed it?


Thats how I set it up
I have changed first line to
Notion sensors motion changes to active
Well give that a try


You were right It seems to be working now. I dont know y it worked for over 18 months