-
Notifications
You must be signed in to change notification settings - Fork 21
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
Restoring fan speed and swing mode after power-cycle fails #15
Comments
I think I've seen this too, the first time I flashed the firmware version that saves the capabilities. Maybe we're setting the traits too late now? |
I've seen this exact same issue also on my units yesterday, when we had a power-outage. |
The LG app shows it's in the default vane position, but in HA that should be 0 not 6. If I turn my unit off and on in HA it still remembers this setting. Does it work if you use the LG app to turn the unit off? The ESP32 sends "mode = fan" when off, maybe that confuses the unit because changing the operation mode does reset the vertical vane position. |
When I unplug the controller, it works normally through the LG app. The controller (at least for my setup) sometimes seems to have higher priority than settings via the remote or the LG app for settings which are set by both, but I guess that this is a timing issue. So for example setting the temperature on the remote is sometimes overwritten by the esp-controller setting. Or when turning the unit off via the remote, it will power-on again after a minute by itself. I'm not using the remote anymore, but the app has some features, which are (not yet) available via the esp-controller like:
The remote control also has some nice features, which are not available through the app (or the esp-controller yet):
(Maybe I should put this in a new issue...)
I haven't tested this, yet. I will try whis. |
I think your unit may communicate a bit differently and for some reason settings get overwritten. We'd need the log output, ideally a few minutes before and after you use the remote, to see what it's doing. For power saving: do you mean the 40/60/80% thing? Isn't that only available in cooling mode? It would be nice to have the log output for when you change this setting because I don't know if/how this gets sent to the wired controller, but I am interested in these settings. |
Feel free to file new issues for these things. Some of them may not be exposed to the wired controller but others I can probably implement pretty quickly. |
This is the log output when turning the unit off (12:53:43) and back on again (12:55:58).
You're right, only in cooling mode. |
And this is after setting the position to down (from the previous, unknown state) via the app:
|
@drbugfinder there are some checksum errors at the end while receiving a message from the AC. Do you see that regularly? It could explain some of your issues, because if the AC is notifying the controller of a change but these messages get lost, then the controller won't update its state. Regarding the vane position: you could try changing this line (line 514) from
to
With this change it will send |
@JanM321 i tried this change, but all units still remain in the unknown vane position after power-on.
I see these checksum errors every few minutes (sometimes one every few hours, sometimes two within 10 minutes...) on all of my three units |
The controller could send an
It could be a hardware issue but it's weird you see it with all of your units. I've never seen them here. |
I noticed that restoring the previous fan state and swing mode fails after a power-cycle of the heatpumpt (and thus the ESP32).
This is the log for reference (original swing mode was OFF and fan mode was LOW), I can take a look as soon as I have time:
The text was updated successfully, but these errors were encountered: