Closed RustyDust closed 1 year ago
Thanks for all that fixes! As i am not having an inverter i assume these values are now working correctly :)
Thanks for all that fixes! As i am not having an inverter i assume these values are now working correctly :)
Updated yesterday and everythings working as expected :)
@weltmeyer
Before I send another PR and to prevent you from a possible heart attack ... mind looking at this
That is something i wanted to do for a long time, moving the map out of the code. But my python knowledge is not that advanced xD.
Just looking for some things.. BackupBuffer is 0 for me, while usoc=0 and rsoc=700. That is where my 7% assumption came from. calc_restrictedcapacity would be zero for me...
Ok, then I'll fire off the PR and we can discuss things there ;)
After contemplating this a bit I think it makes sense to provide separate settings for the values under
battery_settings
andinverter['status']
. This makes it easier to cater for different setups of the whole system and gives the users more flexibility. Changes in this PR:split out 'battery_system' information (
ppv
,ipv
,upv
)into own sensors (thanks @TobyRh)ppv
,ipv
andupv
under the inverter settings, those values are lost and can now be found under new names:inverter_ipv
battery_system_ipv
inverter_ppv
battery_system_ppv
inverter_upv
battery_system_upv
You can check your system's settings using this gist
make GitHub actions work again
remove unused variable
measurements_status