Closed Lordfritz closed 4 months ago
can you please active the debug logging and send me the log file after the problem reappeared?
E-Mail can be found here: https://littleyoda.github.io/
I found the error.
The new version (0.3.8.1) should be available in HACS within the next 30 min.
Updated the code and kept it running overnight. The measurements are coming in continuously, so it seems to be fixed. Thanks.
Still get the followimg message once or twice per hour:
Request to https://192.168.x.x/api/v1/measurements/live did not return a valid json. Code 401
For now this message is ok.
After login, the Token is only valid for 60(?) minutes. After this time the requests are falling (see your debug message). The libary uses the 401 code as an indicator that a new login is required.
Used Version of Home Assistant: 2024.7.3 Used Version of ha-pysmaplus: 0.3.8
Connecting to the inverter works fine, but after a while (couple of hours) no new data is retrieved from inverter. The following log messages appear (refresh time is set to 10 seconds). Restarting the integration fixes the problem for a while.
Speedwire: [ ] Webconnect: [ ] EnnexOS-based: [x] Energymeter/SHM2: [ ]
Inverter: Sunny Boy Smart Energy 3.6 (firmware v03.08.03.R) Energymeter: Sunny Home Manager 2:
I couldn't find the actual received json message in the debug logs. Can you help?