Thermostat and humidity sensor


#1

1) Give a description of the problem
I am using a HeatIT thermostat (under floor heating termostat).
I tried with Webcore, but the thermostat doesn’t turn off the heating as I would like.

2) What is the expected behavior?
I want to do the following:
IF the humidity is over 80% THEN turn on the Thermostat and set it to 28 degrees THEN after 20min set the thermostat to 17 degrees.

3) What is happening/not happening?
The thermostat is set to 28 degrees, but is not turned off after 20minutes (I am trying with 5minutes in this example…)
I have tried both “Set quick heating point at 19” and “Set heating point at 19”

4) Post a Green Snapshot of the pistonimage

5) Attach any logs (From ST IDE and by turning logging level to Full)
2018-05-01 12:43:48 +344ms
+1ms ╔Received event [Badrum - Temp].humidity = 75 with a delay of 47ms
+76ms ║RunTime Analysis CS > 12ms > PS > 39ms > PE > 25ms > CE
+78ms ║Runtime (36693 bytes) successfully initialized in 39ms (v0.3.104.20180323) (76ms)
+79ms ║╔Execution stage started
+87ms ║║Comparison (integer) 75 is_greater_than_or_equal_to (integer) 80 = false (1ms)
+88ms ║║Condition #6 evaluated false (4ms)
+89ms ║║Condition group #1 evaluated false (state did not change) (6ms)
+91ms ║╚Execution stage complete. (12ms)
+92ms ╚Event processed successfully (92ms)
2018-05-01 12:43:15 +962ms
+1ms ╔Received event [Badrum - Temp].humidity = 70 with a delay of 60ms
+95ms ║RunTime Analysis CS > 14ms > PS > 53ms > PE > 28ms > CE
+97ms ║Runtime (36688 bytes) successfully initialized in 53ms (v0.3.104.20180323) (95ms)
+98ms ║╔Execution stage started
+108ms ║║Comparison (integer) 70 is_greater_than_or_equal_to (integer) 80 = false (2ms)
+110ms ║║Cancelling condition #6’s schedules…
+111ms ║║Condition #6 evaluated false (6ms)
+112ms ║║Cancelling condition #1’s schedules…
+113ms ║║Condition group #1 evaluated false (state changed) (10ms)
+115ms ║╚Execution stage complete. (17ms)
+117ms ╚Event processed successfully (117ms)
2018-05-01 12:42:30 +3ms
+0ms ╔Received event [Badrum - Temp].humidity = 81 with a delay of 59ms
+70ms ║RunTime Analysis CS > 11ms > PS > 38ms > PE > 22ms > CE
+72ms ║Runtime (36693 bytes) successfully initialized in 38ms (v0.3.104.20180323) (71ms)
+73ms ║╔Execution stage started
+81ms ║║Comparison (integer) 81 is_greater_than_or_equal_to (integer) 80 = true (2ms)
+82ms ║║Cancelling condition #6’s schedules…
+83ms ║║Condition #6 evaluated true (6ms)
+84ms ║║Cancelling condition #1’s schedules…
+84ms ║║Condition group #1 evaluated true (state changed) (7ms)
+86ms ║║Cancelling statement #2’s schedules…
+119ms ║║Executed physical command [Badrum - Termostat].setHeatingSetpoint([28.0]) (28ms)
+120ms ║║Executed [Badrum - Termostat].setHeatingSetpoint (30ms)
+123ms ║║Executed virtual command [Badrum - Termostat].wait (1ms)
+124ms ║║Requesting a wake up for Tue, May 1 2018 @ 12:47:30 PM CEST (in 300.0s)
+128ms ║╚Execution stage complete. (56ms)
+129ms ║Setting up scheduled job for Tue, May 1 2018 @ 12:47:30 PM CEST (in 299.995s)
+138ms ╚Event processed successfully (137ms)
2018-05-01 12:42:18 +826ms
+1ms ╔Received event [Badrum - Temp].humidity = 75 with a delay of 63ms
+75ms ║RunTime Analysis CS > 12ms > PS > 39ms > PE > 24ms > CE
+77ms ║Runtime (36688 bytes) successfully initialized in 39ms (v0.3.104.20180323) (75ms)
+78ms ║╔Execution stage started
+86ms ║║Comparison (integer) 75 is_greater_than_or_equal_to (integer) 80 = false (2ms)
+87ms ║║Cancelling condition #6’s schedules…
+88ms ║║Condition #6 evaluated false (6ms)
+89ms ║║Cancelling condition #1’s schedules…
+89ms ║║Condition group #1 evaluated false (state changed) (7ms)
+91ms ║╚Execution stage complete. (13ms)
+92ms ╚Event processed successfully (92ms)
2018-05-01 12:39:30 +828ms
+1ms ╔Received event [Badrum - Temp].humidity = 88 with a delay of 52ms
+79ms ║RunTime Analysis CS > 12ms > PS > 45ms > PE > 21ms > CE
+81ms ║Runtime (36693 bytes) successfully initialized in 45ms (v0.3.104.20180323) (79ms)
+82ms ║╔Execution stage started
+89ms ║║Comparison (integer) 88 is_greater_than_or_equal_to (integer) 80 = true (1ms)
+91ms ║║Cancelling condition #6’s schedules…
+91ms ║║Condition #6 evaluated true (5ms)
+92ms ║║Cancelling condition #1’s schedules…
+93ms ║║Condition group #1 evaluated true (state changed) (7ms)
+95ms ║║Cancelling statement #2’s schedules…
+129ms ║║Executed physical command [Badrum - Termostat].setHeatingSetpoint([28.0]) (30ms)
+130ms ║║Executed [Badrum - Termostat].setHeatingSetpoint (31ms)
+133ms ║║Executed virtual command [Badrum - Termostat].wait (0ms)
+133ms ║║Requesting a wake up for Tue, May 1 2018 @ 12:44:30 PM CEST (in 300.0s)
+137ms ║╚Execution stage complete. (56ms)
+139ms ║Setting up scheduled job for Tue, May 1 2018 @ 12:44:30 PM CEST (in 299.996s)
+149ms ╚Event processed successfully (149ms)
2018-05-01 12:39:08 +454ms
+1ms ╔Received event [Badrum - Temp].humidity = 78 with a delay of 57ms
+86ms ║RunTime Analysis CS > 15ms > PS > 50ms > PE > 21ms > CE
+88ms ║Runtime (36688 bytes) successfully initialized in 50ms (v0.3.104.20180323) (86ms)
+89ms ║╔Execution stage started
+96ms ║║Comparison (integer) 78 is_greater_than_or_equal_to (integer) 80 = false (1ms)
+98ms ║║Cancelling condition #6’s schedules…
+98ms ║║Condition #6 evaluated false (5ms)
+99ms ║║Cancelling condition #1’s schedules…
+100ms ║║Condition group #1 evaluated false (state changed) (7ms)
+102ms ║╚Execution stage complete. (14ms)
+103ms ╚Event processed successfully (103ms)
2018-05-01 12:38:46 +90ms
+1ms ╔Received event [Badrum - Temp].humidity = 92 with a delay of 59ms
+85ms ║RunTime Analysis CS > 14ms > PS > 51ms > PE > 20ms > CE
+87ms ║Runtime (36688 bytes) successfully initialized in 51ms (v0.3.104.20180323) (85ms)
+88ms ║╔Execution stage started
+97ms ║║Comparison (integer) 92 is_greater_than_or_equal_to (integer) 80 = true (1ms)
+98ms ║║Condition #6 evaluated true (5ms)
+99ms ║║Condition group #1 evaluated true (state did not change) (7ms)
+101ms ║║Cancelling statement #2’s schedules…
+127ms ║║Executed physical command [Badrum - Termostat].setHeatingSetpoint([28.0]) (21ms)
+128ms ║║Executed [Badrum - Termostat].setHeatingSetpoint (23ms)
+131ms ║║Executed virtual command [Badrum - Termostat].wait (0ms)
+132ms ║║Requesting a wake up for Tue, May 1 2018 @ 12:43:46 PM CEST (in 300.0s)
+136ms ║╚Execution stage complete. (48ms)
+137ms ║Setting up scheduled job for Tue, May 1 2018 @ 12:43:46 PM CEST (in 299.996s)
+146ms ╚Event processed successfully (146ms)
2018-05-01 12:38:23 +729ms
+2ms ╔Received event [Badrum - Temp].humidity = 95 with a delay of 55ms
+88ms ║RunTime Analysis CS > 15ms > PS > 55ms > PE > 17ms > CE
+90ms ║Runtime (36693 bytes) successfully initialized in 55ms (v0.3.104.20180323) (88ms)
+91ms ║╔Execution stage started
+99ms ║║Comparison (integer) 95 is_greater_than_or_equal_to (integer) 80 = true (2ms)
+100ms ║║Cancelling condition #6’s schedules…
+101ms ║║Condition #6 evaluated true (6ms)
+102ms ║║Cancelling condition #1’s schedules…
+102ms ║║Condition group #1 evaluated true (state changed) (7ms)
+104ms ║║Cancelling statement #2’s schedules…
+203ms ║║Executed physical command [Badrum - Termostat].setHeatingSetpoint([28.0]) (93ms)
+203ms ║║Executed [Badrum - Termostat].setHeatingSetpoint (94ms)
+206ms ║║Executed virtual command [Badrum - Termostat].wait (0ms)
+207ms ║║Requesting a wake up for Tue, May 1 2018 @ 12:43:23 PM CEST (in 300.0s)
+211ms ║╚Execution stage complete. (121ms)
+213ms ║Setting up scheduled job for Tue, May 1 2018 @ 12:43:23 PM CEST (in 299.996s)
+221ms ╚Event processed successfully (221ms)
2018-05-01 12:38:12 +569ms
+1ms ╔Received event [Badrum - Temp].humidity = 78 with a delay of 48ms
+70ms ║RunTime Analysis CS > 13ms > PS > 42ms > PE > 14ms > CE
+72ms ║Runtime (36693 bytes) successfully initialized in 42ms (v0.3.104.20180323) (70ms)
+73ms ║╔Execution stage started
+82ms ║║Comparison (integer) 78 is_greater_than_or_equal_to (integer) 80 = false (1ms)
+83ms ║║Condition #6 evaluated false (5ms)
+84ms ║║Condition group #1 evaluated false (state did not change) (7ms)
+86ms ║╚Execution stage complete. (14ms)
+87ms ╚Event processed successfully (87ms)


#2

Click on your WITH statement, then click on the gear cog at the bottom of the dialog box to expand the Settings options.

In the “Task Cancellation Policy” box, choose “never cancel tasks”.

I’ll post up in a few minutes why that’ll fix it - but that’ll solve your issue in the meantime.


#3

@michicago - thanks, it solved my problem!
Next question, how do I configure the piston to instead of setting a lower temperature, going back to previous state (as it was before rising the temperature)?


#4

This should do it, I think. I don’t have a thermostat so I can’t force my webCoRE UI to give me the options I need to write it all out. Any questions, let me know!