10-25-2016, 08:26 PM
(This post was last modified: 10-26-2016, 03:22 PM by wexfordman.)
Hi
Okay I seem to be having some success, in that I can now get comfort to turn on the heating, and turn it off when the temp gets to a set value (based on a counter). I have done this by using the below response which is triggered by the change in scs temp value.
My aim here is
1) A counter LivingTempSetting, is used to set the required temp for the living area. It can be adjusted via the comfort APP.2)Get the Hall scs sensor value, convert to deg celcius3)Load it back in to the sensor register.4)Then take the new sensor value (which is now in celcius), convert it to a negative value, and load it into a new counter called setback temp. 5) The setback temp is then is then added to the living temp setting6) I then add the lastactionvlaue to my setback hysteresis value (set to -2) and load back into my setbacktmp counter. I should at this point have the setbacktmp counter as a negative or positive value depending on if the hall scs sensor was lower or higher that the livingtemp setting counter.

From these sums, I expect either a negative or positive value in setback temp and a
7) I then run response living temp allign
[img]
[/img]
However, the heating does not appear to be coming back on after it drops below the setback temp ?
Okay I seem to be having some success, in that I can now get comfort to turn on the heating, and turn it off when the temp gets to a set value (based on a counter). I have done this by using the below response which is triggered by the change in scs temp value.
My aim here is
1) A counter LivingTempSetting, is used to set the required temp for the living area. It can be adjusted via the comfort APP.2)Get the Hall scs sensor value, convert to deg celcius3)Load it back in to the sensor register.4)Then take the new sensor value (which is now in celcius), convert it to a negative value, and load it into a new counter called setback temp. 5) The setback temp is then is then added to the living temp setting6) I then add the lastactionvlaue to my setback hysteresis value (set to -2) and load back into my setbacktmp counter. I should at this point have the setbacktmp counter as a negative or positive value depending on if the hall scs sensor was lower or higher that the livingtemp setting counter.

From these sums, I expect either a negative or positive value in setback temp and a
7) I then run response living temp allign
[img]
[/img]However, the heating does not appear to be coming back on after it drops below the setback temp ?
