ioBroker.heatingcontrol icon indicating copy to clipboard operation
ioBroker.heatingcontrol copied to clipboard

Offset Berechnung fehlerhaft

Open firebowl opened this issue 2 years ago • 2 comments

Hatte mich zwar an das Issue 344 gehängt aber danach gesehen das es schon closed war. Deshalb hier ein neues.

Entweder ich versteh nicht wie die Offsetberechnung aus externen Sensoren funktioniert oder die Funktion hat nen großen Bug.

Gemessene Temperaturen:

Thermostat 26,1 °C Sensor 1 23,8 °C Sensor 2 24,6 °C heatingcontroll stellt 24,5 °C ein Zieltemperatur ist eigentlich 23 °C


heatingcontrol.0
2022-12-08 12:30:53.501	debug	AddStatusToLog skip Wohnzimmer auto 24.5°C

heatingcontrol.0
2022-12-08 12:30:53.443	debug	UpdateDPs for Wohnzimmer auto

heatingcontrol.0
2022-12-08 12:30:53.443	debug	new temp offset for Wohnzimmer is 1.5

heatingcontrol.0
2022-12-08 12:30:53.400	debug	### handle state change acked heatingcontrol.0.Rooms.Wohnzimmer.TemperatureOffset {"val":1.5,"ack":true,"ts":1670499053399,"q":0,"from":"system.adapter.heatingcontrol.0","user":"system.user.admin","lc":1670490267007}

heatingcontrol.0
2022-12-08 12:30:53.344	debug	(avg) TempOffset 1.5

heatingcontrol.0
2022-12-08 12:30:53.344	debug	tempDiff 1.4000000000000021

heatingcontrol.0
2022-12-08 12:30:53.344	debug	Ist-Temperatur am zusätzl. Sensor 24.7

heatingcontrol.0
2022-12-08 12:30:53.344	debug	(avg) Ist-Temperatur am Thermostat 26.1

heatingcontrol.0
2022-12-08 12:30:53.344	debug	TempOffset Wohnzimmer

heatingcontrol.0
2022-12-08 12:30:53.344	debug	TempOffset calc 63.10000000000001 / 39 = 1.5

heatingcontrol.0
2022-12-08 12:30:53.344	debug	tempdiff: 26.1 - 24.7 = 1.4000000000000021

heatingcontrol.0
2022-12-08 12:30:53.344	debug	use value

heatingcontrol.0
2022-12-08 12:30:53.344	debug	time diff 3.584683333333333

heatingcontrol.0
2022-12-08 12:30:53.343	debug	got 26.1 from bshb.0.roomClimateControl_hz_4.TemperatureLevel.temperature LastUpdate 08.12.2022 12:27:18

heatingcontrol.0
2022-12-08 12:30:53.338	debug	got 24.7 from ext_Sensor LastUpdate 08.12.2022 12:30:53

heatingcontrol.0
2022-12-08 12:30:53.338	debug	calculate temp offset for Wohnzimmer old value is 1.5, got value {"val":24.7,"ack":true,"ts":1670499053100,"q":0,"from":"system.adapter.bshb.0","user":"system.user.admin","lc":1670499053100} in auto

heatingcontrol.0
2022-12-08 12:30:53.337	debug	Wohnzimmer ### ChangeStatus AddTempSensor to {"val":24.7,"ack":true,"ts":1670499053100,"q":0,"from":"system.adapter.bshb.0","user":"system.user.admin","lc":1670499053100} in auto

firebowl avatar Dec 08 '22 12:12 firebowl

Noch ein aktuelles Log, ich versteh nicht wie man bei den Werten auf einen positiven Offset kommen kann. ;)

heatingcontrol.0 | 2022-12-08 13:16:39.959 | debug | UpdateDPs for Wohnzimmer auto
-- | -- | -- | --
heatingcontrol.0 | 2022-12-08 13:16:39.959 | debug | new temp offset for Wohnzimmer is 1.5
heatingcontrol.0 | 2022-12-08 13:16:39.917 | debug | ### handle state change acked heatingcontrol.0.Rooms.Wohnzimmer.TemperatureOffset {"val":1.5,"ack":true,"ts":1670501799915,"q":0,"from":"system.adapter.heatingcontrol.0","user":"system.user.admin","lc":1670490267007}
heatingcontrol.0 | 2022-12-08 13:16:39.860 | debug | (avg) TempOffset 1.5
heatingcontrol.0 | 2022-12-08 13:16:39.860 | debug | tempDiff 1.3000000000000007
heatingcontrol.0 | 2022-12-08 13:16:39.860 | debug | Ist-Temperatur am zusätzl. Sensor 24.5
heatingcontrol.0 | 2022-12-08 13:16:39.860 | debug | (avg) Ist-Temperatur am Thermostat 25.8
heatingcontrol.0 | 2022-12-08 13:16:39.860 | debug | TempOffset Wohnzimmer
heatingcontrol.0 | 2022-12-08 13:16:39.859 | debug | TempOffset calc 76.89999999999999 / 46 = 1.5
heatingcontrol.0 | 2022-12-08 13:16:39.859 | debug | tempdiff: 25.8 - 24.5 = 1.3000000000000007
heatingcontrol.0 | 2022-12-08 13:16:39.859 | debug | use value
heatingcontrol.0 | 2022-12-08 13:16:39.859 | debug | time diff 3.8048333333333333
heatingcontrol.0 | 2022-12-08 13:16:39.859 | debug | got 25.8 from bshb.0.roomClimateControl_hz_4.TemperatureLevel.temperature LastUpdate 08.12.2022 13:12:51
heatingcontrol.0 | 2022-12-08 13:16:39.853 | debug | got 24.5 from ext_Sensor LastUpdate 08.12.2022 13:16:39
heatingcontrol.0 | 2022-12-08 13:16:39.853 | debug | calculate temp offset for Wohnzimmer old value is 1.5, got value {"val":24.5,"ack":true,"ts":1670501799623,"q":0,"from":"system.adapter.bshb.0","user":"system.user.admin","lc":1670501799623} in auto
heatingcontrol.0 | 2022-12-08 13:16:39.853 | debug | Wohnzimmer ### ChangeStatus AddTempSensor to {"val":24.5,"ack":true,"ts":1670501799623,"q":0,"from":"system.adapter.bshb.0","user":"system.user.admin","lc":1670501799623} in auto

 


firebowl avatar Dec 08 '22 12:12 firebowl

25.8 - 24.5 = 1.3000000000000007

wir müssen das nicht an zwei Stellen diskutieren, siehe Forum

rg-engineering avatar Dec 08 '22 18:12 rg-engineering