Skip to content
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

Incorrect negative temperatures with AEH-W4E1 #246

Closed
togume opened this issue Jul 26, 2023 · 7 comments
Closed

Incorrect negative temperatures with AEH-W4E1 #246

togume opened this issue Jul 26, 2023 · 7 comments

Comments

@togume
Copy link

togume commented Jul 26, 2023

First, thanks for this solution!!!

New install of HA, AirCon does control the ACs, but the temperature is incorrect:
image

Other ACs and devices with temperature do correctly show up in Celsius.

The LED display on the AC changes to F when controlled via HA.

The AI-Home app on iOS does show the controls in C, but interestingly enough, when controlled via HA, it shows current temperature in F.

Here is the config for the Add On:

log_level: INFO
mqtt_host: 192.168.86.25
mqtt_user: mqtt_user
mqtt_pass: PASS
port: 8888
app:
  - username: email
    password: PASS
    code: hismart-us
local_ip: 192.168.86.25

How can this be fixed?

@togume
Copy link
Author

togume commented Jul 26, 2023

Update: after trolling other issues, I changed mqtt_host to be localhost. Interestingly, when I next checked the ACs, one of them is still showing wrong negative values, but the other one is showing temperatures as expected. Very strange.

I've restarted the add-on, the browser... nothing.

@togume
Copy link
Author

togume commented Aug 2, 2023

Still nothing... Very weird! One is still perfect, the other one is still negative. @deiger any clues or things I could dig/try myself to help resolve this?

@deiger
Copy link
Owner

deiger commented Aug 7, 2023

I'm surprised that hismart-us uses Celsius in the API. Commonly US-marked apps use Fahrenheit.
Will change that.

@deiger deiger closed this as completed in dbaa716 Aug 7, 2023
@togume
Copy link
Author

togume commented Aug 7, 2023

Weird! And strange that one is fixed and the other one isn’t. Perhaps some race condition made one work.

Thank you good sir!!

@deiger
Copy link
Owner

deiger commented Aug 7, 2023

Try clearing up the config files (either by uninstall & reinstall, or by ssh into the docker). This will make the add-on rerun the discovery, and create updated configs. Alternatively, you can just edit the config files in ssh.

@deiger
Copy link
Owner

deiger commented Aug 8, 2023

Could you please paste here the Device info of each of your ACs? You can reach it by clicking the device from the Devices page in Settings.
It might be a matter of the specific model.
image

@deiger deiger reopened this Aug 8, 2023
@togume
Copy link
Author

togume commented Aug 18, 2023

Sorry for the slow reply, @deiger! I was traveling and just now catching up on email/home automation.

I'm happy to report that things are now working correctly and the room no longer appears to be freezing! It took a little while because I misconfigured MQTT, but after I fully uninstalled this plugin, MQTT, and also deleted configs via SSH, I was able to get things working perfectly.

In case it's useful, here's what you requested:
image
image

I'll close this issue with this comment. Thanks!

@togume togume closed this as completed Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants