I can break the variables up in the rooms but all I’m trying to do is just save my Philips hue light seems on to webcore I’ve tried multiple different ways of doing it and I just can’t get it if anyone could please help me I would really appreciate it I’ve spent way too much time doing this it’s extremely frustrating now all I wanted to do is just work and it’s seemed practically impossible
Running a string of data
share a green snapshot of the piston. from the define section only its not clear what you are doing and how you doing it.
+4ms | ╔Received event [Home].test = 1531290902798 with a delay of 1ms |
---|---|
+319ms | ║RunTime Analysis CS > 35ms > PS > 105ms > PE > 176ms > CE |
+325ms | ║Runtime (131680 bytes) successfully initialized in 105ms (v0.3.105.20180628) (320ms) |
+329ms | ║╔Execution stage started |
+367ms | ║║Cancelling statement #3’s schedules… |
+404ms | ║║Executed virtual command [Corner Go].setVariable (9ms) |
+416ms | ║║Executed virtual command [Corner Go].setVariable (4ms) |
+425ms | ║║Executed virtual command [Corner Go].setVariable (3ms) |
+435ms | ║║Executed virtual command [Corner Go].setVariable (3ms) |
+448ms | ║║Comparison (decimal) 0.0 is_equal_to (integer) 0 = true (4ms) |
+452ms | ║║Cancelling condition #19’s schedules… |
+453ms | ║║Condition #19 evaluated true (15ms) |
+454ms | ║║Cancelling condition #14’s schedules… |
+455ms | ║║Condition group #14 evaluated true (state changed) (17ms) |
+458ms | ║║Cancelling statement #17’s schedules… |
+475ms | ║║Calculating (string) Corner Go + (string) , >> (string) Corner Go, |
+479ms | ║║Calculating (string) Corner Go, + (string) on >> (string) Corner Go,on |
+482ms | ║║Calculating (string) Corner Go,on + (string) , >> (string) Corner Go,on, |
+485ms | ║║Calculating (string) Corner Go,on, + (string) 68 >> (string) Corner Go,on,68 |
+489ms | ║║Calculating (string) Corner Go,on,68 + (string) , >> (string) Corner Go,on,68, |
+492ms | ║║Calculating (string) Corner Go,on,68, + (string) 259 >> (string) Corner Go,on,68,259 |
+495ms | ║║Calculating (string) Corner Go,on,68,259 + (string) , >> (string) Corner Go,on,68,259, |
+498ms | ║║Calculating (string) Corner Go,on,68,259, + (string) 100 >> (string) Corner Go,on,68,259,100 |
+503ms | ║║Executed virtual command setVariable (3ms) |
+512ms | ║║Cancelling statement #3’s schedules… |
+523ms | ║║Executed virtual command [Couch Lightstrip 1].setVariable (3ms) |
+534ms | ║║Executed virtual command [Couch Lightstrip 1].setVariable (4ms) |
+543ms | ║║Executed virtual command [Couch Lightstrip 1].setVariable (3ms) |
+553ms | ║║Executed virtual command [Couch Lightstrip 1].setVariable (3ms) |
+560ms | ║║Comparison (decimal) 1.0 is_equal_to (integer) 0 = false (2ms) |
+561ms | ║║Cancelling condition #19’s schedules… |
+562ms | ║║Condition #19 evaluated false (6ms) |
+563ms | ║║Cancelling condition #14’s schedules… |
+564ms | ║║Condition group #14 evaluated false (state changed) (8ms) |
+566ms | ║║Cancelling statement #15’s schedules… |
+580ms | ║║Calculating (string) Corner Go,on,68,259,100 + (string) , >> (string) Corner Go,on,68,259,100, |
+584ms | ║║Calculating (string) Corner Go,on,68,259,100, + (string) Couch Lightstrip 1 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1 |
+588ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1, |
+591ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1, + (string) on >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on |
+595ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on, |
+598ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on, + (string) 68 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68 |
+601ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68, |
+603ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68, + (string) 266 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266 |
+606ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266, |
+608ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266, + (string) 86 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86 |
+614ms | ║║Executed virtual command setVariable (3ms) |
+624ms | ║║Cancelling statement #3’s schedules… |
+636ms | ║║Executed virtual command [Couch Lightstrip 2].setVariable (3ms) |
+646ms | ║║Executed virtual command [Couch Lightstrip 2].setVariable (3ms) |
+655ms | ║║Executed virtual command [Couch Lightstrip 2].setVariable (3ms) |
+664ms | ║║Executed virtual command [Couch Lightstrip 2].setVariable (3ms) |
+670ms | ║║Comparison (decimal) 2.0 is_equal_to (integer) 0 = false (1ms) |
+672ms | ║║Condition #19 evaluated false (5ms) |
+673ms | ║║Condition group #14 evaluated false (state did not change) (5ms) |
+675ms | ║║Cancelling statement #15’s schedules… |
+687ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86, |
+691ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86, + (string) Couch Lightstrip 2 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2 |
+695ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2, |
+698ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2, + (string) on >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on |
+701ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on, |
+704ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on, + (string) 68 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68 |
+707ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68, |
+710ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68, + (string) 334 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334 |
+713ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334, |
+715ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334, + (string) 100 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100 |
+721ms | ║║Executed virtual command setVariable (3ms) |
+730ms | ║║Cancelling statement #3’s schedules… |
+745ms | ║║Executed virtual command [Lamp 1].setVariable (4ms) |
+756ms | ║║Executed virtual command [Lamp 1].setVariable (5ms) |
+766ms | ║║Executed virtual command [Lamp 1].setVariable (3ms) |
+776ms | ║║Executed virtual command [Lamp 1].setVariable (3ms) |
+782ms | ║║Comparison (decimal) 3.0 is_equal_to (integer) 0 = false (1ms) |
+784ms | ║║Condition #19 evaluated false (5ms) |
+785ms | ║║Condition group #14 evaluated false (state did not change) (5ms) |
+787ms | ║║Cancelling statement #15’s schedules… |
+799ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100, |
+803ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100, + (string) Lamp 1 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1 |
+807ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1, |
+810ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1, + (string) on >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on |
+814ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on, |
+817ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on, + (string) 68 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68 |
+820ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68, |
+823ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68, + (string) 259 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259 |
+825ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259, |
+827ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259, + (string) 100 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100 |
+833ms | ║║Executed virtual command setVariable (3ms) |
+842ms | ║║Cancelling statement #3’s schedules… |
+854ms | ║║Executed virtual command [Lamp 2].setVariable (3ms) |
+863ms | ║║Executed virtual command [Lamp 2].setVariable (4ms) |
+872ms | ║║Executed virtual command [Lamp 2].setVariable (3ms) |
+880ms | ║║Executed virtual command [Lamp 2].setVariable (2ms) |
+887ms | ║║Comparison (decimal) 4.0 is_equal_to (integer) 0 = false (2ms) |
+888ms | ║║Condition #19 evaluated false (5ms) |
+889ms | ║║Condition group #14 evaluated false (state did not change) (6ms) |
+892ms | ║║Cancelling statement #15’s schedules… |
+905ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100, |
+909ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100, + (string) Lamp 2 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2 |
+913ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2, |
+916ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2, + (string) on >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on |
+920ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on, |
+923ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on, + (string) 68 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68 |
+926ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68, |
+928ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68, + (string) 259 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259 |
+931ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259, |
+933ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259, + (string) 100 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100 |
+940ms | ║║Executed virtual command setVariable (4ms) |
+949ms | ║║Cancelling statement #3’s schedules… |
+961ms | ║║Executed virtual command [Shelf].setVariable (4ms) |
+971ms | ║║Executed virtual command [Shelf].setVariable (3ms) |
+982ms | ║║Executed virtual command [Shelf].setVariable (3ms) |
+990ms | ║║Executed virtual command [Shelf].setVariable (3ms) |
+996ms | ║║Comparison (decimal) 5.0 is_equal_to (integer) 0 = false (1ms) |
+998ms | ║║Condition #19 evaluated false (5ms) |
+999ms | ║║Condition group #14 evaluated false (state did not change) (5ms) |
+1001ms | ║║Cancelling statement #15’s schedules… |
+1012ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100, |
+1016ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100, + (string) Shelf >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf |
+1020ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf, |
+1024ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf, + (string) on >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on |
+1027ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on, |
+1030ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on, + (string) 68 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68 |
+1033ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68, |
+1036ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68, + (string) 198 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198 |
+1038ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198, |
+1040ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198, + (string) 85 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85 |
+1045ms | ║║Executed virtual command setVariable (3ms) |
+1054ms | ║║Cancelling statement #3’s schedules… |
+1064ms | ║║Executed virtual command [TV Lightstrip].setVariable (2ms) |
+1073ms | ║║Executed virtual command [TV Lightstrip].setVariable (4ms) |
+1082ms | ║║Executed virtual command [TV Lightstrip].setVariable (3ms) |
+1090ms | ║║Executed virtual command [TV Lightstrip].setVariable (3ms) |
+1096ms | ║║Comparison (decimal) 6.0 is_equal_to (integer) 0 = false (2ms) |
+1097ms | ║║Condition #19 evaluated false (5ms) |
+1098ms | ║║Condition group #14 evaluated false (state did not change) (6ms) |
+1100ms | ║║Cancelling statement #15’s schedules… |
+1111ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85, |
+1116ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85, + (string) TV Lightstrip >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip |
+1119ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip, |
+1123ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip, + (string) on >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip,on |
+1126ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip,on + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip,on, |
+1129ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip,on, + (string) 68 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip,on,68 |
+1132ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip,on,68 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip,on,68, |
+1135ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip,on,68, + (string) 334 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip,on,68,334 |
+1137ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip,on,68,334 + (string) , >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip,on,68,334, |
+1139ms | ║║Calculating (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip,on,68,334, + (string) 87 >> (string) Corner Go,on,68,259,100,Couch Lightstrip 1,on,68,266,86,Couch Lightstrip 2,on,68,334,100,Lamp 1,on,68,259,100,Lamp 2,on,68,259,100,Shelf,on,68,198,85,TV Lightstrip,on,68,334,87 |
+1144ms | ║║Executed virtual command setVariable (3ms) |
+1148ms | ║║Cancelling statement #12’s schedules… |
+1160ms | ║║Executed virtual command setVariable (3ms) |
+1165ms | ║║Executed virtual command setVariable (3ms) |
+1190ms | ║║Sending internal web request to: MY WEBSERVER |
+1199ms | ║║Executed virtual command httpRequest (27ms) |
+1203ms | ║║Requesting a wake up for Tue, Jul 10 2018 @ 11:35:23 PM PDT (in 20.0s) |
+1247ms | ║╚Execution stage complete. (921ms) |
+1270ms | ║Setting up scheduled job for Tue, Jul 10 2018 @ 11:35:24 PM PDT (in 19.938s) |
+1278ms | ╚Event processed successfully (1277ms) |
+0ms | ╔Received event [Home].test = 1531291529834 with a delay of 0ms |
---|---|
+134ms | ║RunTime Analysis CS > 25ms > PS > 82ms > PE > 28ms > CE |
+137ms | ║Runtime (128055 bytes) successfully initialized in 82ms (v0.3.105.20180628) (136ms) |
+138ms | ║╔Execution stage started |
+147ms | ║║Cancelling statement #2’s schedules… |
+154ms | ║║Executed virtual command setVariable (1ms) |
+162ms | ║║Executed virtual command setVariable (2ms) |
+170ms | ║║Executed virtual command setVariable (2ms) |
+179ms | ║║Executed virtual command setVariable (3ms) |
+187ms | ║║Executed virtual command setVariable (2ms) |
+193ms | ║║Comparison (integer) 0 is (string) on = false (1ms) |
+194ms | ║║Condition #13 evaluated false (5ms) |
+195ms | ║║Condition group #7 evaluated false (state did not change) (6ms) |
+197ms | ║║Cancelling statement #8’s schedules… |
+998ms | ║║An error occurred while executing the event: java.lang.NullPointerException: Cannot invoke method hasCommand() on null object |
+1000ms | ║╚Execution stage complete. (862ms) |
+1001ms | ╚Event processed successfully (1001ms) |
thanks. tell me a little about how these pistons are triggered and what args are being passed in to each.
also see this:
syntactically the following piston will do the same thing as your first piston. i havent reviewed the second piston yet. once i know how these are executed and what is the intended functionality will look at it.
Ideally with the first piston I press a shortcut link on my ActionTiles, that then it tells webcore to run the first piston. which is suppose to capture the current light settings (on/off, hue, saturation, and level.).
With the second piston I am trying to run the the captured scene setting from the first piston. I think that the second piston is total overkill I just don’t know how to run the previously saved light settings.
I have tried capture attributes from global store, local store, set hue, set level, set saturation, changing the saved settings to dynamic, variable, string, and ect. I have literally tried everything and have spent about 2 weeks trying to figure this out.
If you know of a way that is way easier than this I’d greatly appreciate it. But all I am trying to do is save my current philips hue light scenes onto webcore so that I can then use them for other pistons. I didn’t think it be would be so hard but I’m totally at a wall.
Also I should add I don’t want to use Hue b Smart. I have already tried the smartapp and it took an extremely long time for any lights to do anything whatsoever
so the following is what you want?
- when piston 1 is run you want to save the light settings of a bunch of lights. these lights could all have different switch, hue, saturation and level settings which need to be saved individually.
- when piston 2 is run you want to restore the light settings of the same lights to the values as they were when last saved by piston 1.
if the above is not correct … please correct.
That is totally what I am trying to do! And it’s been a total nightmare trying to figure it out. haha
i remembered something from last time i did something similar … in webcore there is no easy way to distinguish if the light was last set using hue / saturation / level or color temperature / level. so this piston would default to always saving and restoring hue / saturation / level which means these lights would all have to be RGB+ bulbs and their current settings were set using hue / saturation / level.
does that work for you?
give this a try. you will need to make 2 copies of this piston. top half of this piston is the save and the bottom half is the restore. see comments in piston for more.
the way color vs color temperature bulbs are handled may not be foolproof but it should work 99% of the time.
you are welcome.
after making 2 copies of this piston remember to delete the second for loop from one piston … this will be your save piston.
from the other copy delete the set
and the first for
loop … this will be your restore piston.
then call each of them respectively when you want settings saved or restored.
With some trial and error I was able to get it running! Thank you again for helping me with this! I have another question though is there a way to save the lights state for every room as a global variable and then call the variable for specific rooms?
ok. if you dont mind please post the piston green snapshots here so others can find it if they are searching for it.
it should be possible. i wouldnt save all rooms in one variable. i would have 2 global variables per room one for the room lights and the other for the saved values for the lights in the room. then call these save and restore pistons as needed for each room and save the resulting value to the room specific global variable.
there might
be a challenge here in that global variables scope is local while a piston is running. so need to test that a bit to make sure the saved values are right.
if thats not clear and you share the 2 pistons i will try and modify them to give an example.