1) Give a description of the problem
The piston log and devices are not acting as expected.
2) What is the expected behavior?
The simple piston should watch two smart switches, when either of the buttons of the switches are turned on it will turn number 2 on for 30 minutes, it will then make sure that number 1 is off for 15 and then on for 15 minutes.
3) What is happening/not happening?
The piston activates when either switch but does not follow the designed flow.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
12/30/2017, 8:49:42 PM +749ms +1ms âReceived event [Wemo2].switch = on with a delay of 73ms +70ms âRunTime Analysis CS > 9ms > PS > 30ms > PE > 31ms > CE +72ms âRuntime (37219 bytes) successfully initialized in 30ms (v0.2.101.20171227) (71ms) +73ms ââExecution stage started +85ms ââComparison (enum) on changes_to (string) on = true (1ms) +87ms ââCancelling condition #5's schedules... +88ms ââCondition #5 evaluated true (9ms) +89ms ââCancelling condition #1's schedules... +89ms ââCondition group #1 evaluated true (state changed) (11ms) +91ms ââCancelling statement #6's schedules... +94ms ââSkipped execution of physical command [Wemo2].on([]) because it would make no change to the device. (0ms) +95ms ââExecuted [Wemo2].on (2ms) +98ms ââExecuted virtual command [Wemo2].wait (1ms) +99ms ââRequesting a wake up for Sat, Dec 30 2017 @ 9:19:42 PM EST (in 1800.0s) +103ms ââExecution stage complete. (30ms) +104ms âSetting up scheduled job for Sat, Dec 30 2017 @ 9:19:42 PM EST (in 1799.995s) +114ms âEvent processed successfully (114ms) 12/30/2017, 8:49:38 PM +592ms +2ms âReceived event [Wemo1].switch = on with a delay of 101ms +91ms âRunTime Analysis CS > 13ms > PS > 45ms > PE > 33ms > CE +93ms âRuntime (37221 bytes) successfully initialized in 45ms (v0.2.101.20171227) (91ms) +94ms ââExecution stage started +107ms ââComparison (enum) on changes_to (string) on = true (1ms) +109ms ââCancelling condition #5's schedules... +109ms ââCondition #5 evaluated true (10ms) +110ms ââCancelling condition #1's schedules... +111ms ââCondition group #1 evaluated true (state changed) (12ms) +113ms ââCancelling statement #6's schedules... +139ms ââExecuted physical command [Wemo2].on() (24ms) +140ms ââExecuted [Wemo2].on (26ms) +143ms ââExecuted virtual command [Wemo2].wait (0ms) +144ms ââRequesting a wake up for Sat, Dec 30 2017 @ 9:19:38 PM EST (in 1800.0s) +148ms ââExecution stage complete. (54ms) +149ms âSetting up scheduled job for Sat, Dec 30 2017 @ 9:19:38 PM EST (in 1799.995s) +160ms âEvent processed successfully (160ms) 12/30/2017, 8:48:52 PM +326ms +4ms âStarting piston... (v0.2.101.20171227) +230ms ââSubscribing to devices... +253ms ââSubscribing to Wemo1.switch... +264ms ââSubscribing to Wemo2.switch... +326ms ââFinished subscribing (109ms) +386ms âPiston successfully started (385ms) 12/30/2017, 8:44:46 PM +55ms +1ms âReceived event [Wemo1].switch = off with a delay of 103ms +94ms âRunTime Analysis CS > 25ms > PS > 45ms > PE > 24ms > CE +97ms âRuntime (37220 bytes) successfully initialized in 45ms (v0.2.101.20171227) (94ms) +97ms ââExecution stage started +111ms ââComparison (enum) off changes_to (string) on = false (0ms) +113ms ââCondition #5 evaluated false (11ms) +114ms ââCondition group #1 evaluated false (state did not change) (12ms) +116ms ââExecution stage complete. (18ms) +117ms âEvent processed successfully (116ms) 12/30/2017, 8:40:35 PM +975ms +2ms âReceived event [Wemo2].switch = off with a delay of 86ms +88ms âRunTime Analysis CS > 24ms > PS > 40ms > PE > 24ms > CE +91ms âRuntime (37213 bytes) successfully initialized in 40ms (v0.2.101.20171227) (88ms) +91ms ââExecution stage started +103ms ââComparison (enum) off changes_to (string) on = false (1ms) +104ms ââCancelling condition #5's schedules... +105ms ââCondition #5 evaluated false (9ms) +106ms ââCancelling condition #1's schedules... +107ms ââCondition group #1 evaluated false (state changed) (11ms) +109ms ââExecution stage complete. (18ms) +110ms âEvent processed successfully (110ms) 12/30/2017, 8:40:34 PM +297ms +2ms âReceived event [Home].time = 1514684435047 with a delay of -750ms +61ms âRunTime Analysis CS > 13ms > PS > 29ms > PE > 18ms > CE +65ms âRuntime (37222 bytes) successfully initialized in 29ms (v0.2.101.20171227) (62ms) +67ms ââExecution stage started +97ms ââExecuted physical command [Wemo2].off() (21ms) +97ms ââExecuted [Wemo2].off (24ms) +99ms ââCancelling statement #10's schedules... +126ms ââExecuted physical command [Wemo1].off() (25ms) +127ms ââExecuted [Wemo1].off (27ms) +132ms ââExecuted virtual command [Wemo1].wait (2ms) +137ms ââRequesting a wake up for Sat, Dec 30 2017 @ 8:55:34 PM EST (in 900.0s) +139ms ââExecution stage complete. (74ms) +142ms âSetting up scheduled job for Sat, Dec 30 2017 @ 8:55:34 PM EST (in 899.997s) +218ms âEvent processed successfully (218ms) 12/30/2017, 8:10:34 PM +926ms +2ms âReceived event [Wemo2].switch = on with a delay of 80ms +89ms âRunTime Analysis CS > 15ms > PS > 51ms > PE > 22ms > CE +91ms âRuntime (37218 bytes) successfully initialized in 51ms (v0.2.101.20171227) (88ms) +92ms ââExecution stage started +106ms ââComparison (enum) on changes_to (string) on = true (0ms) +107ms ââCancelling condition #5's schedules... +108ms ââCondition #5 evaluated true (12ms) +109ms ââCancelling condition #1's schedules... +110ms ââCondition group #1 evaluated true (state changed) (14ms) +112ms ââCancelling statement #6's schedules... +116ms ââSkipped execution of physical command [Wemo2].on([]) because it would make no change to the device. (1ms) +116ms ââExecuted [Wemo2].on (1ms) +119ms ââExecuted virtual command [Wemo2].wait (0ms) +120ms ââRequesting a wake up for Sat, Dec 30 2017 @ 8:40:35 PM EST (in 1800.0s) +125ms ââExecution stage complete. (33ms) +126ms âSetting up scheduled job for Sat, Dec 30 2017 @ 8:40:35 PM EST (in 1799.996s) +136ms âEvent processed successfully (136ms) 12/30/2017, 8:10:31 PM +761ms +2ms âReceived event [Wemo2].switch = off with a delay of 313ms +92ms âRunTime Analysis CS > 15ms > PS > 51ms > PE > 26ms > CE +94ms âRuntime (37216 bytes) successfully initialized in 51ms (v0.2.101.20171227) (92ms) +95ms ââExecution stage started +116ms ââComparison (enum) off changes_to (string) on = false (1ms) +117ms ââCondition #5 evaluated false (17ms) +118ms ââCondition group #1 evaluated false (state did not change) (19ms) +120ms ââExecution stage complete. (25ms) +121ms âEvent processed successfully (121ms) Clear Full