1) Give a description of the problem
I am trying to get a light to change colour when a ST sensor exceeds a temperature threshold
2) What is the expected behaviour?
When threshold is exceeded a light flashes and changes colour
3) What is happening/not happening?
The piston is not responding to the temperature threshold being exceeded.
If I click TEST the expected light change sequence executes
Sensor increment is 0.1C. Piston increment appears limited to integer. Piston doesn’t initiate whether I wait for 0.1 or 1increment.
I can trigger a light change from a motion sensor. Problem appears specific to temperature threshold.
Thanks for any ideas/guidance
Log (from pressing TEST
04/11/2020, 17:36:05 +71ms
+0ms ╔Received event [Home].time = 1604511366370 with a delay of -1299ms
+71ms ║RunTime Analysis CS > 17ms > PS > 38ms > PE > 16ms > CE
+73ms ║Runtime (37088 bytes) successfully initialized in 38ms (v0.3.110.20191009) (72ms)
+74ms ║╔Execution stage started
+101ms ║║Executed physical command [mango Light].setColor([[hex: #000000, hue:0, level:0, saturation:0]]) (23ms)
+103ms ║║Fast executing schedules, waiting for 1296ms to sync up
+1414ms ║║Executed physical command [mango Light].on() (13ms)
+1423ms ║║Cancelling statement #5’s schedules…
+1448ms ║║Executed physical command [mango Light].setColor([[hex: #FF0000, hue:0, saturation:100, level:50]]) (22ms)
+1449ms ║║Executed [mango Light].setColor (24ms)
+1451ms ║╚Execution stage complete. (1376ms)
+1452ms ╚Event processed successfully (1451ms)
04/11/2020, 17:36:00 +92ms
+0ms ╔Received event [Home].time = 1604511361370 with a delay of -1279ms
+83ms ║RunTime Analysis CS > 19ms > PS > 47ms > PE > 18ms > CE
+85ms ║Runtime (37088 bytes) successfully initialized in 47ms (v0.3.110.20191009) (84ms)
+86ms ║╔Execution stage started
+225ms ║║Executed physical command [mango Light].setColor([[hex: #000000, hue:0, level:0, saturation:0]]) (135ms)
+227ms ║║Fast executing schedules, waiting for 1052ms to sync up
+1294ms ║║Executed physical command [mango Light].setColor([[hex: #DC143C, hue:97, level:58, saturation:83]]) (12ms)
+1296ms ║╚Execution stage complete. (1209ms)
+1297ms ║Setting up scheduled job for Wed, Nov 4 2020 @ 5:36:06 PM GMT (in 4.981s), with 2 more jobs pending
+1304ms ╚Event processed successfully (1304ms)
04/11/2020, 17:35:55 +31ms
+1ms ╔Received event [Home].time = 1604511356369 with a delay of -1338ms
+62ms ║RunTime Analysis CS > 15ms > PS > 33ms > PE > 14ms > CE
+65ms ║Runtime (37088 bytes) successfully initialized in 33ms (v0.3.110.20191009) (64ms)
+66ms ║╔Execution stage started
+86ms ║║Executed physical command [mango Light].setColor([[hex: #000000, hue:0, level:0, saturation:0]]) (15ms)
+88ms ║║Fast executing schedules, waiting for 1251ms to sync up
+1364ms ║║Executed physical command [mango Light].setColor([[hex: #DC143C, hue:97, level:58, saturation:83]]) (21ms)
+1365ms ║╚Execution stage complete. (1299ms)
+1368ms ║Setting up scheduled job for Wed, Nov 4 2020 @ 5:36:01 PM GMT (in 4.972s), with 4 more jobs pending
+1374ms ╚Event processed successfully (1374ms)
04/11/2020, 17:35:51 +214ms
+2ms ╔Received event [Home].test = 1604511351213 with a delay of 1ms
+73ms ║RunTime Analysis CS > 18ms > PS > 31ms > PE > 23ms > CE
+79ms ║Runtime (37089 bytes) successfully initialized in 31ms (v0.3.110.20191009) (74ms)
+80ms ║╔Execution stage started
+92ms ║║Comparison (decimal) 22.1 is_greater_than (integer) 21 = true (1ms)
+94ms ║║Cancelling condition #2’s schedules…
+95ms ║║Condition #2 evaluated true (10ms)
+96ms ║║Cancelling condition #1’s schedules…
+97ms ║║Condition group #1 evaluated true (state changed) (12ms)
+99ms ║║Cancelling statement #3’s schedules…
+147ms ║║Executed physical command [mango Light].setColor([[hex: #DC143C, hue:97, saturation:83, level:58]]) (17ms)
+157ms ║║Executed virtual command [mango Light].flashColor (50ms)
+159ms ║║Requesting a wake up for Wed, Nov 4 2020 @ 5:36:06 PM GMT (in 15.1s)
+181ms ║╚Execution stage complete. (101ms)
+195ms ║Setting up scheduled job for Wed, Nov 4 2020 @ 5:35:56 PM GMT (in 4.961s), with 6 more jobs pending
+205ms ╚Event processed successfully (205ms)