1) Give a description of the problem
( Motion turns on lights, off after 5 minutes unless virtual switch on 15 minutes)
2) What is the expected behavior?
(If Motion is active turn on kitchen lights, if no Motion for 5 minutes turn off, but if virtual switch is on for 15 minutes then check if no Motion in last 5 minutes then turn off Kichen lights and virtual switch. )
3) What is happening/not happening?
(Motion works to turn on and off lights after 5 minutes but when Virtual Switch is on the Piston does not follow up with motion sensors to see if motion has been inactive for 5 minutes so lights do not turn off.)
4) Post a Green Snapshot of the piston
(
5) Attach any logs (From ST IDE and by turning logging level to Full)
`( webCoRE
Logs
1/3/2018, 3:44:52 PM +292ms+3ms╔Received event [Home].time = 1515012293002 with a delay of -711ms+176ms║RunTime Analysis CS > 19ms > PS > 100ms > PE > 55ms > CE+180ms║Runtime (40872 bytes) successfully initialized in 100ms (v0.2.100.20171211) (176ms)+182ms║╔Execution stage started+193ms║║Cancelling condition #5’s schedules…+194ms║║Condition #5 evaluated true (3ms)+204ms║║Comparison (enum) on is (string) off = false (1ms)+205ms║║Cancelling condition #13’s schedules…+206ms║║Condition #13 evaluated false (12ms)+207ms║║)`
REMOVE BELOW AFTER READING