Open mojo2012 opened 1 year ago
Would be nice but I have an older pump. Unfortunatelly I cannot use the newer firmware.
Hello, I would also be very happy about this extension.
I understand the problem that your pump can't do that. How could we support this development?
I found a nice way to estimate the used energy by multiplying the hot gas temperature with a factor, depending on the mode the pump is running in:
// this factor is estimated by observation
const factor = hotWaterProductionRunning
? 44 // hot water
: 37; // heating
const estimatedHeatPumpEnergyUsage = (hotGasTemperature ?? 0) * factor;
This works surprisingly well!
I'm determining the state of the pump with this code:
const heatPumpRunning =
msg.payload?.values?.heatpump_state3 == 0 || // heizbetrieb
msg.payload?.values?.heatpump_state3 == 8 || // pumpenvorlauf
msg.payload?.values?.heatpump_state3 == 17 || // elek. zusatzheizung
msg.payload?.values?.heatpump_state3 == 18; // elek. zusatzheizung
const hotWaterProductionRunning =
msg.payload?.values?.heatpump_state3 == 5 || // brauchwasser
msg.payload?.values?.heatpump_state3 == 9 || // thermische desinfektion
msg.payload?.values?.heatpump_state3 == 19; // warmwasser nachheizung
I know it is not always correct, but worked good enough for me. There is also the possibility of interpreting the german status text though.
@mojo2012 Thats better than nothing. Looks good. Do you want to send me a pull request?
I don't know if I have enough time in the next weeks, but I can try.
I added a PR in the luxtronik2 repo: https://github.com/coolchip/luxtronik2/pull/53
With the new firmware 2.88, the luxtronik device logs the consumed electricity. It would be nice to have those values available as well. I don't know if that is even possible - but it would be nice to actually reset them. That doesn't seem to be possible via the device though.