EOS_connect
EOS_connect copied to clipboard
ERROR [BATTERY-IF] source currently not supported. Using default start SOC = 5%.
Mit Version 0.2.01.136-develop bekomme ich die oben genannte Fehlermeldung, dabei wird die Quelle erkannt.
2025-10-14 09:51:14 DEBUG [BATTERY-IF] getting SOC from openhab ...
2025-10-14 09:51:14 DEBUG [BATTERY-IF] Detected percentage format (0-100): 88.8%
2025-10-14 09:51:14 ERROR [BATTERY-IF] source currently not supported. Using default start SOC = 5%.
Mit Version 0.2.01.130-develop sieht es so aus.
2025-10-14 09:57:30 DEBUG [BATTERY-IF] getting SOC from openhab ...
2025-10-14 09:57:30 INFO [BATTERY-IF] Update service started.
2025-10-14 09:57:30 DEBUG [BATTERY-IF] Detected percentage format (0-100): 87.7%
2025-10-14 09:57:30 INFO [BATTERY-IF] successfully fetched SOC = 87.7 %
2025-10-14 09:57:30 INFO [BATTERY-IF] Max dynamic charge power changed to 2000 W
Das Problem ist in battery_interface .py dort inn __battery_request_current_soc()
if self.src == "openhab":
self.current_soc = self.__fetch_soc_data_from_openhab()
if self.src == "homeassistant":
self.current_soc = self.__fetch_soc_data_from_homeassistant()
----> bei openHAB laufe ich immer in den else Zweig
else:
self.current_soc = 5
default = True
logger.error(
"[BATTERY-IF] source currently not supported. Using default start SOC = 5%."
)
Thanks for the hint ... need tests ... aargh ;-) dumb mistake -> https://github.com/ohAnd/EOS_connect/commit/e7b9c13306fd8e523b89564b16fb26e29ff77e11
Problem fixed, thank you.