-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lifetime energy does not recover after Kiosk max retries. #155
Comments
Happened again last night, twice. And of course, I had no debug logging running at that time.
All entities seem to recover, except Lifetime energy: Turned on debug this morning to see what the data from Huawei looks like:
Cumulative Energy data from Huawei seems OK, but this integration returns nothing (or "not available" or "Unknown"). |
¯_(ツ)_/¯ |
Yeah, I understand your frustration. Same here. Giving up trying to hide the Huawei crap data is one way.....But please, give it one more chance. Maybe my initial "fix" using a global would work better? I could give that a try. |
Thnx. I increased access rate to once every minute, to provoke failure. Added some debug logging in energy_sensor.py to see what kind of state data we deal with when it fails.
Nothing in the log as yet. |
Been logging all day yesterday and all night at 60s rate and no problems seen. Will revert to 10min rate and keep logging. |
Any update? Or can this issue be closed? |
No incident has occurred since last report, even when trying to provoke. Close if you wish, I can re-open if and when it happens again. Actually, closing the issue may jinx it and provoke a failure ;-) |
Again last night:
|
Hi,
New (?) kiosk behaviour from Huawei at midnight. Max retries occurs. All entities recover after a while, except total_lifetime_energy. Need to restart HA to get things going again. Log cut out:
2024-03-05 00:02:59.892 ERROR (MainThread) [custom_components.fusion_solar.sensor] Error requesting FusionSolarKiosk data: HTTPSConnectionPool(host='uni002eu5.fusionsolar.huawei.com', port=443): Max retries exceeded with url: /rest/pvms/web/kiosk/v1/station-kiosk-file?kk=Jrlxxxxxxxxxxxxxxxxxxax (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f64a64e60>: Failed to establish a new connection: [Errno -3] Try again'))
All this seems to have starte 1:st of March. Did not notice until yesterday that there was no lifetime_energy data, restarted HA and it all came alive again. Same issue today, restart HA to get it going. Sorry, no debug log was running at those times
Will try to have a fresh debug log running at midnight tonight.
![total_lifetime_energy_fail](https://private-user-images.githubusercontent.com/15121917/310061738-2fab4c03-a512-41ec-a0f0-4a948ed1b45b.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0NDkxMDYsIm5iZiI6MTcyMjQ0ODgwNiwicGF0aCI6Ii8xNTEyMTkxNy8zMTAwNjE3MzgtMmZhYjRjMDMtYTUxMi00MWVjLWEwZjAtNGE5NDhlZDFiNDViLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMxVDE4MDAwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM4YzdjN2RhNzkzMDJkMjU0YWE1YjNkYTA1MDk1ODZjMTQxMGJlMDNjMmEwNTQ3OTgwYWZlODM1NmRlM2U2YzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.37TBiGNztauWFXHCwHsy1e_HoHAo3qmTHe4TD9uHvYg)
/A
The text was updated successfully, but these errors were encountered: