qix67 / comfortzone_heatpump

Arduino library to monitor and control Comfortzone EX50 heatpump
GNU General Public License v3.0
8 stars 5 forks source link

PR: set TE sensor offset #3

Closed kalaws closed 1 year ago

kalaws commented 1 year ago

Could not post a PR, so I’m posting as an issue.

Request is to be able to set the offset of a TE sensor. The use case is to adjust outside temperature upwards temporarily when electricity price is high, or weather forecast suggests sun will be warming house in the immediate future.

qix67 commented 1 year ago

Do you know a way to do this using heatpump control panel ?

kalaws commented 1 year ago

Yes, in advanced settings this is possible for a whole range of TE sensors, at least in my firmware. I can confirm where, exactly, a little later this afternoon.

Edit: I mean in the advanced service menu accessed by holding button for 6 seconds.

qix67 commented 1 year ago

Ok. On my control panel, I can adjust TE0-TE7 and TE24.

I will take a look tomorrow to see what command the control panel send.

kalaws commented 1 year ago

Outside temperature is TE0, and correction can be up to + / - 10 C.

kalaws commented 1 year ago

Perhaps a better solution is to adjust input temp at the various outside temps (ie 10, 5, 0, -5, -10, -15)?

qix67 commented 1 year ago

I just push a new version of the library. A new function is added: set_sensor_offset.

Hopefully, most of the code was already in the library, it is a minor change.

I have compiled it without error but I have not tested it because I currently have no webserver to perform OTA update of my ESP8266.

kalaws commented 1 year ago

wow, great work!