Closed KalleRau closed 1 month ago
UPDATE - please ignore my initial reply - I was able to reproduce the problem locally and was able to fix the root cause of the issue - just update to the new Version - TIA
initial post:
ok - for now please be so kind and disable the following sensors (of the webAPI integration):
*_gridexport_limit
*_peakshaving_mode
*_peakshaving_capacitylimit
*_peakshaving_enddate
and then restart HA... this should TEMP fix the issue (till I found the root cause)
First of all sorry - for the "auto-close" (caused by my commit) - my normal procedure is, to release the fix and get the confirmation by the reporter, that the issue is solved before closing the issue - might be that it is just TOO LATE (and I should had gone to bed already)...
Thanks for reporting this issue. It is related to #95.
Unfortunately my update (to fix #95) was not tested enough (in all conditions) - There was still parts that failed (after the update of the aiohttp lib (that was done with the HA 2024.8.x update)). So when one of the peak-shaving sensors have been enabled, then the issue (you have reported) occur.
The reason for that is, that cause of a earlier bug in the aiohttp-lib my SENEC integration contains a aiohttp-lib patch - this patch should be (of course) only applied when the lib version is below 3.9 - this version comparison failed (cause I am a Python noob). All that is fixed with the release of 2024.8.3.
Please let me know, if the update will solve the issue also for you - TIA
Thanks for the quick response.
The update to version 8.3 did fix the issue.
The intergration works again like expected.
Thanks again for the your help. Keep up the good work.
👍 😄 👍
With which version of the integration you have an issue?
SENEC.Home V3 hybrid/SENEC.Home V3 hybrid duo/SENEC.Home V2.1 (or older)
Multiple Systems Environment?
Checklist
Add a description
Today I updated home assistant to the newest version 2024.8.1.
After restarting HA the integration senec_WEBAPI throws an error on initialization.
I am using the newest integration of the senec Integration( see Screenshot) .
I am using the same incredentials like in the Mein-Senec.de portal.
In the debug output there are several division by zero errors because HA doesn't know the sensors from the WebAPI, but that doesn't really matter.
For the same reason there is also no information in the energy dashboard.
I have to mention that the system is in remote shutdown and therefore no values for storage are available, because I'm waiting for the new LFP Modules.
Before the update to HA 2024.8.1 everything worked fine.
Please find the Debug output log attached.
Currently I'm switching back to the former Version of HA (2024.7.4x).
Good evening.
If you have any questions , please ask.
Add your DEBUG log output