-
Notifications
You must be signed in to change notification settings - Fork 840
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
WHIRLPOOL_AC related issues #1228
Comments
For the whirlpool protocol, power control is a toggle setting (See https://crankyoldgit.github.io/IRremoteESP8266/doxygen/html/classIRWhirlpoolAc.html#a61bec25edce5bc244acb41f79df561e7) |
thanks for all the info @crankyoldgit i apprieciate your insight |
@crankyoldgit thanks for this open source project. With regards to this issue of ACs with power toggle. You mentioned, and I have seen in the code, that you have implemented a For the record here are links to the various issues from other projects in the stack: #1002 - some changes to make power toggle better https://github.com/hristo-atanasov/Tasmota-IRHVAC - a component to integrate tasmota-ir into homa-assistant https://github.com/arendst/Tasmota - tasmota, the firmware that uses this library |
The IRac class if used only via the next attribute should handle toggles internally (via TL;DR: If (and only if) you only ever use the internal state (
Anything outside of what I mentioned above, it's solely up to the user of the library to manage state.
Yes, in some cases, and situations. See: IRremoteESP8266/examples/IRMQTTServer/IRMQTTServer.h Lines 137 to 151 in 30be145
|
the
No idea. That's out of scope for this library. You'll need to talk to the Tasmota peeps or look at their code for how they implemented it.
Initial state setup.
That's up to the user to work out. IR protocols are an optimistic transmission method. There is no acknowledgement back. We can only try our best when there are "toggle" commands in a message. This is why they are (IMHO) a poor design decision in a manufacturers IR control implementation w.r.t. home automation. They designed it for a real user, with a real remote in their hand, and rely on the user looking at both devices to work out if they need to mash a button again. They didn't design it with the idea of independent 3rd party home automation systems that can't sense the actual operating mode of an A/C typically. |
Version/revision of the library used
I'm using Tasmota 8.4.0 which is using v2.7.8.10 according to the release notes
Expected behavior
I'll try to explain my issue to the best of my ability and hopefully it will all make sense.
I'm using an IR receiver/blaster that I've flashed with Tasmota 8.4.0.
From my understanding, Tasmota 8.4.0 uses IRremoteESP8266 v2.7.8.10 so I figured I'll come here to explain my issue.
When I capture codes from the remote it seems to not differentiate between the On and Off commands correctly.
On Capture
Off Capture
As you can see in both cases the Power is "ON"
Here are captures of the remote adjusting the temperature
As you can see in the temperature adjustments it sends the Power as "Off"
I hope this is enough information for you to help me out.
If you have any questions or need more info to help me out please let me know.
Thank you!
-DM
The text was updated successfully, but these errors were encountered: