Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offset Berechnung fehlerhaft #346

Open
firebowl opened this issue Dec 8, 2022 · 2 comments
Open

Offset Berechnung fehlerhaft #346

firebowl opened this issue Dec 8, 2022 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@firebowl
Copy link

firebowl commented Dec 8, 2022

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 firebowl added the bug Something isn't working label Dec 8, 2022
@firebowl
Copy link
Author

firebowl commented Dec 8, 2022

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

 


@rg-engineering
Copy link
Owner

rg-engineering commented Dec 8, 2022

25.8 - 24.5 = 1.3000000000000007

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

@rg-engineering rg-engineering added the question Further information is requested label Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants