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
Solaredge Local incorrect temperature conversion in dev branch #27065
Comments
Are those images taken at the same time? Do you think the optimizer temperature is off to? Would you mind changing the logger mode to debug and giving me the output or executing this python and giving me the output. And compare these values With HA and with the HTML page. from solaredge_local import SolarEdge
se_client = SolarEdge("http://[inverter_ip]")
status = se_client.get_status()
maintenance = se_client.get_maintenance()
print(f"optimizer data:\n {maintenance.diagnostics.inverters.primary.optimizer[0]}")
print(f"country code: {status.country}")
print(f"inverter data:\n {status.inverters}") possible fixes:
notes:My HA instance got corrupted so i can not test anything at this moment. |
@scheric I am not sure how to verify the optimizer temperature so it is hard to verify that. The previous images were taken at the same time. I have run the python script with results below. I have removed serial numbers. `optimizer data: country code: 12 My Observations: Inverter temperature has a flag for Fahrenheit, which may be useful but the optimizers seem to be celsius all the time. When the optimizers were all off last night, the system reported 32F which makes sense for 0C. Temperature information should not be omitted from the component IMO. Additional requests |
Hey there @drobtravels, mind taking a look at this issue as its been labeled with a integration ( |
Home Assistant release with the issue:
0.99.3
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component is installed in the custom component folder for testing. Stock install otherwise.
Component/platform:
Main Component - https://www.home-assistant.io/components/solaredge_local/
#26708 - Caused Issue
Description of problem:
@scheric Temperatures are being converted to Celsius when the inverter is providing temperatures in Fahrenheit. This is causing Home Assistant to convert the temperatures for display in Fahrenheit causing them to be off. Example. Inverter is reporting 78F, HA is displaying 172F (78C converts to 172F)
I change:
"inverter_temperature": [ "invertertemperature", "Inverter Temperature", TEMP_CELSIUS, "mdi:thermometer", ],
to:
"inverter_temperature": [ "invertertemperature", "Inverter Temperature", TEMP_FAHRENHEIT, "mdi:thermometer", ],
This proved my suspicions of double conversion of the temperature, but is not a fix as it would cause a similar issue with inverter reporting in Celsius.
See attached images of what the inverter is displaying and that HA is displaying.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
The text was updated successfully, but these errors were encountered: