hristo-atanasov / Tasmota-IRHVAC

Home Assistant platform for controlling IR Air Conditioners via Tasmota IRHVAC command and compatible hardware
208 stars 66 forks source link

Issue with 2 beeps and not powering off in lovelance #46

Closed PedroGdiaz closed 2 years ago

PedroGdiaz commented 3 years ago

Hi Hristo, I am very happy with the integration you have build, it is awesome!!! Currently, I am having two issues using SAMSUNG_AC:

  1. I have an IR received and all reflect in Lovelace except for off. If I off with remote it does not reflect in lovelance
  2. When I send a command from Lovelace the AC always beeps 2 times even do only 1 MQTT is sent. I have one that has a digital display and I notice that the first beep sets it to 24 and the second beep to the desired temperature

My configuration image

And this is the Tasmota console logs image

This is the command that beeps 2 times IRHVAC {"Vendor": "SAMSUNG_AC", "Model": "-1", "Power": "on", "Mode": "cool", "Celsius": "On", "Temp": 26.0, "FanSpeed": "min", "SwingV": "off", "SwingH": "off", "Quiet": "off", "Turbo": "off", "Econo": "off", "Light": "on", "Filter": "off", "Clean": "off", "Beep": "off", "Sleep": "-1"}

I really hope that I can get some help on this 🥇

hristo-atanasov commented 3 years ago

Can you show me the log from Tasmota console after you have used the original IR remote for your AC? One when the AC is already turned ON and you just change the temperature and one when the AC is already ON and you try to turn it OFF.

PedroGdiaz commented 3 years ago

Hi Hristo, thanks for getting back, manage to solve the problem of OFF reflecting on Lavelance by doing this change to your code in version 2021.7.15: image

The logs you requesting:

The two beeps problem still happening.

hristo-atanasov commented 3 years ago

So I see 2 things .. First one is when you try to turn OFF the AC with the original remote you are sending power: "on" - this is strange .. And the second thing is that you have enabled the MQTT logger in Tasmota, which can (some times) duplicate the result and might be the reason for double beeping. Not sure, but can cause it, so try stoping the logger - set it as 0.

hristo-atanasov commented 3 years ago

As sometimes the AC can receive invalid payload and can "try to settle" with the situation, they can change some options that are received. I see you have set light: "on". Is it supported? If it is unsupported you can try to set it as off by default and check if double beep stops. Edit: I see you have it received by the remote, but try it as I'm not sure how the ESP IRREMOTE 8266 library internally work for each AC brand and model. Could solve the problem.

Lauriz7 commented 2 years ago

As sometimes the AC can receive invalid payload and can "try to settle" with the situation, they can change some options that are received. I see you have set light: "on". Is it supported? If it is unsupported you can try to set it as off by default and check if double beep stops. Edit: I see you have it received by the remote, but try it as I'm not sure how the ESP IRREMOTE 8266 library internally work for each AC brand and model. Could solve the problem.

I have the same problem with two beeps with Samsung AR09 AC. Quite an big problem actually. So I have tried your suggestions with lights on, but it did not help. The light function works properly if turned on as well. so thats not the problem. Any other ideas?

UPDATE: I found this thread about this issue on IRremoteesp8266, https://github.com/crankyoldgit/IRremoteESP8266/issues/1484 The issue is fixed with new library. I updated from tasmota 9.5 to tasmota-ir 10.0 and now it works. Saved my day.