added estimated energy consumption
I added a function to estimate the energy consumption based on my experience.
See: https://github.com/coolchip/node-red-contrib-luxtronik2/issues/14.
I also included a rudimentary jest test.
Please have a look.
No feedback?
That is a cool function, I was looking for this. I saw that luxtronic is now providing the actual energy consumption in kW in "Anlagenstatus":
Would you be able to extract this directly?
Which heatpump/firmware version is this? My LWD70A with firmware V2.88.3 does not support that.
Based on a short test with this python script: https://github.com/Bouni/Luxtronik-2/blob/master/luxtronik-2.py I'd say the "Leistungsaufnahme" (currently used electrical power) is available via command 3004 parameter number 268. The value of that datapoint seems to be in W and not kW as shown in the web interface. "Heizleistung Ist" (currently provided heat energy) seems to be command 3004 parameter number 257. This value is also in W.
I'm running Software version V3.90.3. It would be nice if someone else can confirm that I matched/deduced the parameter number correctly, because these numbers are unfortunately not included in the 9 year old https://github.com/Bouni/Luxtronik-2/blob/master/documentation.md