999LV / SmartVirtualThermostat

Smart Virtual Thermostat python plugin for Domoticz home automation system
MIT License
41 stars 31 forks source link

thermostat is on while roomtemp is higher then setpoint #3

Closed dinkelnaar closed 6 years ago

dinkelnaar commented 6 years ago

see this log:

2018-01-06 14:59:06.820 (smart thermostat) Calling message handler 'onCommand'. 2018-01-06 14:59:06.820 (smart thermostat) onCommand called for Unit 4: Command 'Set Level', Level: 19.0 2018-01-06 14:59:06.820 (smart thermostat - Setpoint Normal) Updating device from 1:'19.5' to have values 1:'19.0'. 2018-01-06 14:59:06.828 (smart thermostat) Next calculation time will be : 2018-01-06 15:29:06.828333 2018-01-06 14:59:06.865 (smart thermostat) device: 16-buitentemperatuur = 5.375 2018-01-06 14:59:06.866 (smart thermostat) device: 18-kamer temperatuur = 19.94 2018-01-06 14:59:06.867 (smart thermostat - Thermostat temp) Updating device from 0:'19.9' to have values 0:'19.9'. 2018-01-06 14:59:06.869 (smart thermostat) Inside Temperature = 19.9 2018-01-06 14:59:06.869 (smart thermostat) Outside Temperature = 5.4 2018-01-06 14:59:06.869 (smart thermostat) Temperature exceeds setpoint: no heating 2018-01-06 14:59:06.870 (smart thermostat) Calculation: Power = 100 -> heat duration = 30 minutes 2018-01-06 14:59:06.870 (smart thermostat) End Heat time = 2018-01-06 15:29:06.870073 2018-01-06 14:59:06.870 (smart thermostat) Heating On 2018-01-06 14:59:06.873 User: Admin initiated a switch command (59/thermostaat/On) 2018-01-06 14:59:06.881 (dummys) Light/Switch (thermostaat) 2018-01-06 14:59:06.885 (smart thermostat) End Heat time = 2018-01-06 15:29:06.87007

dinkelnaar commented 6 years ago

the room temp is 19.94, thermostat says temperature exceeds setpoint : no heating, after that heating is switched on

999LV commented 6 years ago

What is the value of the minimum heating parameter in the plugin parameters page ?

dinkelnaar commented 6 years ago

Calculation cycle, Minimum Heating time per cycle, Pause On delay, Pause Off delay, Forced mode duration (all in minutes) : 30,100,2,1,60

dinkelnaar commented 6 years ago

i have a floor heating wich takes some time to get on temperature. i also see that there is a kind of overshoot in temperature (still after two days). setpoint was first two days 19.5c and heating didnt stop at 19.5 degree room temperature. in fact the heating has to stop before 19.5 degree is reached. the floor will continue heating the room after stopping the burner circuit.

999LV commented 6 years ago

Ok, you indeed got the minimum heating parameter at 100, so whatever the thermostat may calculate you will always heat for 100% of each 30 mins cycle... try 30,0,2,1,60 for instance for zero minimum heating.

On your other comment about the heating not switching off when the setpoint is exactly reached... this is the whole idea behind the smart thermostat logic... it is not a hysterisis thermostat: check out the link provided in the documentation page to find out about the logic.

Last, with floor heating that usually has a very high thermal inertia, the calculation interval should be much higher than 30mins... try 60 minutes for starters...

Closing this thread as this is discussion is more fit to the domoticz.com user forum rather than github as not a about a bug or code improvement. Thanks