1) Give a description of the problem
Somehow this is turning my lights on every 3 hours
2) What is the expected behavior?
Lights on 45min before sunlight if cloudy, lights on 30mins before sunset if clear.
3) What is happening/not happening?
Explained in question 1, plus, this piston is “true” for some reason.
**4) Post a Green Snapshot of the piston!
5) Attach any logs (From ST IDE and by turning logging level to Full)
webCoRE
All Lights First On
Status
This piston is currently active and humming happily.
Piston category
Quick facts
Piston state: true
Last executed: 2/20/2018, 1:33:06 PM
Next scheduled: 2/20/2018, 7:31:00 PM
Subscriptions: 1 event, 3 controls
Devices used: 4
Memory used: 33% (32692 bytes)
External URL: (click to open/execute)
Automatic backup
Automatic backup is enabled for this piston.
Touch the box below to reveal your backup bin code. You should make a note of this code as you may use it later to restore a piston that you “mistakenly” deleted.
iap9j
Please do NOT share this code with anyone.
Script (hide)
//
/* All Lights First On */
//
/* Author : Me /
/ Created : 2/18/2018, 10:05:05 PM /
/ Modified : 2/20/2018, 4:25:53 PM /
/ Build : 16 /
/ UI version : v0.2.102.20180116 */
/**************************************************************/
execute
end execute;
Logs
2/20/2018, 4:25:54 PM +138ms
+6ms ╔Starting piston… (v0.2.102.20180116)
+190ms ║╔Subscribing to devices…
+207ms ║║Subscribing to Mesa Weather.illuminance…
+288ms ║║Subscribing to Living Room Soffit…
+289ms ║║Subscribing to Living Room Lamp…
+290ms ║║Subscribing to Porch Light…
+291ms ║╚Finished subscribing (114ms)
+368ms ║Comparison (time) 51954447 is_between (time) 1519175760000 … (time) 1519175760000 = false (16ms)
+370ms ║Cancelling statement #29’s schedules…
+382ms ║Requesting time schedule wake up at Tue, Feb 20 2018 @ 5:46:00 PM MST
+393ms ║Comparison (integer) 10000 is_greater_than (integer) 7500 = true (4ms)
+395ms ║Cancelling condition #30’s schedules…
+412ms ║Comparison (time) 51954540 is_between (time) 1519175760000 … (time) 1519175760000 = false (7ms)
+415ms ║Cancelling statement #19’s schedules…
+421ms ║Requesting time schedule wake up at Tue, Feb 20 2018 @ 5:31:00 PM MST
+430ms ║Comparison (integer) 10000 is_less_than (integer) 7500 = false (3ms)
+439ms ║Setting up scheduled job for Tue, Feb 20 2018 @ 5:31:00 PM MST (in 11105.424s), with 1 more job pending
+452ms ╚Piston successfully started (450ms)