-
Notifications
You must be signed in to change notification settings - Fork 7
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
Powerpanel "State of Charge" is no longer being provided by the anker_solix integration #183
Comments
@BillyFKidney pls provide a system export for your integration entry to see the responses from the Api. |
I checked meanwhile with a powerpanel system where I have shared access. The SOC and Power values of the integration can just be extracted from the last valid data point of the daily statistic charts. So if they are not reliable, the integration will show garbage. Furthermore there is NO timestamp in the cloud Api to identifiy the time offset between the Api client and the last valid data point in the cloud statistics. The Api library needs to find the last valid statistics time and calculate the offset based on that. I have to change that algorithm, since it never considered that SOC might be 0% before the last valid SOC entry. The algorithm will now need to look from future back in time, to find the first time stamp that is not 0% and use this for offset calculation. |
@BillyFKidney , I found a new statistics type of 'diesel'. Here is the structure of a single day query in the weekly format, there is also an indicator whether it
|
@BillyFKidney, can you confirm whether the 0% values in you app history are now gone? |
@thomluther State of charge has also gone missing for me. I reloaded the configuration and it removed my two F3800's in HA, I think this is because I changed the email/pass to a second member of the home that is not the main. These are the values that are loaded after reconfiguring |
I only have the main grid and solar, no idea what diesel would be. We have 2x F3800s coupled with 2x BP3800s each. |
This is nothing that can be fixed in the integration. What will be fixed is that the library finds the last data point properly when the Api is started (or Integration reloaded). An if those was not the last point at time of start, it should adjust the offset into the future once later data points are found on next queries. So it will also adjust automatically to the last available data points if started during such a SOC gap. |
I assume there have been cloud issues when you reloaded the integration. You will have to wait and retry another time. Here is the proove from the hes energy data containing the SOC's: |
This is fixed in 2.5.0. The 2.5.0 beta is available in the main branch. |
System Health details
System Information
Home Assistant Community Store
AccuWeather
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Integration version
2.4.1
Checklist
Describe the issue
The state of charge is no longer being reported after updating the Home Power Panel to version v1.4.4.
Anker SOLIX Firmware Versions:
![image](https://private-user-images.githubusercontent.com/65253277/402194142-d6f6ada9-8711-4ec6-b383-271b7fcf9801.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMDc0OTIsIm5iZiI6MTczOTIwNzE5MiwicGF0aCI6Ii82NTI1MzI3Ny80MDIxOTQxNDItZDZmNmFkYTktODcxMS00ZWM2LWIzODMtMjcxYjdmY2Y5ODAxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDE3MDYzMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI2MTQwOGIyMmE3NjkxNDA2Y2UzNDA3MDkzOWI0MmU5NmI5MmE3ZDU2NjdhMDFiYjdhMjljMTA4M2JiNzZkYWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.z1053wkddyQ_HPE3DtK-_WRJVucs6QpCwKing-TLPp4)
State of Charge Entity:
![image](https://private-user-images.githubusercontent.com/65253277/402194161-5c8ccc4f-cf27-4589-af7b-ef730457401a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMDc0OTIsIm5iZiI6MTczOTIwNzE5MiwicGF0aCI6Ii82NTI1MzI3Ny80MDIxOTQxNjEtNWM4Y2NjNGYtY2YyNy00NTg5LWFmN2ItZWY3MzA0NTc0MDFhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYL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h9j5wrhpu22eU5fuKtuH1PFeM)
sensor.solix_home_power_panel_state_of_charge
Reproduction steps
Debug logs
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered: