-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
IRHVAC command should always return true mode state #9060
Comments
The mode is I understand that capturing a Temperature change should trigger Power to In such case you need to push the request to IRRemoteESP8266 lib. |
The main problem is that some of the AC vendors do not use absolute Power states and use the Power value as a toggle. Because of the current code behavior, you cant know if the AC changed Mode from Cool to Heat until the user switch Off the AC I also think that Off and On should be replaced by Toggle and None, but that not really important. See this Answer from the ir lib: crankyoldgit/IRremoteESP8266#1228 (comment) |
I think Tasmota need to go in one of two ways regarding AC:
|
Closing this issue as it is duplicated. Sorry. Remember to read the Contributing Guideline and Policy. Thanks. Support InformationSee Docs for more information. |
@ascillato2 do you mind mentioning the issue that this is a duplicate of ? thank you very much ! |
Hi @yoav1000 I had the same issue with an Airwell AC. You are welcome to try my fork. If it works maybe they will accept the change in the main repository. |
Have you looked for this feature in other issues and in the docs? yes
Is your feature request related to a problem? Please describe.
Some of The AC vendors supported by IRremoteESP8266 library and tasmota do not support ON/OFF commands,
Instead they support toggle operations.
For example the WHIRLPOOL and AIRWELL protocols indicate power state and swing state change, not absolute state.
Tasmota always return mode=Off if Power=Off, preventing automation tracking mode state.
Tasmota/tasmota/xdrv_05_irremote_full.ino
Line 121 in d321b6c
Describe the solution you'd like
Delete this if state or add configuration for this behavior.
Describe alternatives you've considered
See #9004
Additional context
Some examples:
ON capture
{"IrReceived":{"Protocol":"WHIRLPOOL_AC","Bits":168,"Data":"0x0x830605A200008C0200000000002900010000080009","Repeat":0,"IRHVAC":{"Vendor":"WHIRLPOOL_AC","Model":2,"Power":"On","Mode":"Cool","Celsius":"On","Temp":26,"FanSpeed":"Max","SwingV":"Off","SwingH":"Off","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"On","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1}}}
OFF capture
{"IrReceived":{"Protocol":"WHIRLPOOL_AC","Bits":168,"Data":"0x0x830605A200008C0100000000002A00010000080009","Repeat":0,"IRHVAC":{"Vendor":"WHIRLPOOL_AC","Model":2,"Power":"On","Mode":"Cool","Celsius":"On","Temp":26,"FanSpeed":"Max","SwingV":"Off","SwingH":"Off","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"On","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1}}}
Temp change (you can see the mode is off mistakenly)
{"IrReceived":{"Protocol":"WHIRLPOOL_AC","Bits":168,"Data":"0x0x830601B200008C0400000000003B0002000008000A","Repeat":0,"IRHVAC":{"Vendor":"WHIRLPOOL_AC","Model":2,"Power":"Off","Mode":"Off","Celsius":"On","Temp":27,"FanSpeed":"Max","SwingV":"Off","SwingH":"Off","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"On","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1}}} {"IrReceived":{"Protocol":"WHIRLPOOL_AC","Bits":168,"Data":"0x0x830601A200008C0400000000002B0002000008000A","Repeat":0,"IRHVAC":{"Vendor":"WHIRLPOOL_AC","Model":2,"Power":"Off","Mode":"Off","Celsius":"On","Temp":26,"FanSpeed":"Max","SwingV":"Off","SwingH":"Off","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"On","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1}}}
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: