hristo-atanasov / Tasmota-IRHVAC

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

When air is off after some time it drops the temp to 15 #117

Closed jbrandek closed 1 year ago

jbrandek commented 1 year ago

Dont understand why but after some time that the air if off it drops the temperature to 15, and its annoing to set the temp up as it beeps each time. Is there any way to save the temp when off?

hristo-atanasov commented 1 year ago

I think this problem is not coming from the integration, but from the AC and its remote. When you use this custom component it remembers the last received temperature, either from the card in HA, either from the AC remote.

jbrandek commented 1 year ago

Is there any way to ignore comands below the minimum temp?

hristo-atanasov commented 1 year ago

For the AC or for the component?

jbrandek commented 1 year ago

For the AC or for the component?

For the climate component in HA, that is its an off command do not take the temp or if the temp is below the minimum set temp to dont change ir either

jbrandek commented 1 year ago

It is from the remote, the problem

tele/ac_juegos/RESULT = {"IrReceived":{"Protocol":"LG2","Bits":28,"Data":"0x88C0051","DataLSB":"0x1031008A","Repeat":0,"IRHVAC":{"Vendor":"LG2","Model":2,"Mode":"Cool","Power":"Off","Celsius":"On","Temp":15,"FanSpeed":"Auto","SwingV":"Off","SwingH":"Off","Quiet":"Off","Turbo":"Off","Econo":"Off","Light":"On","Filter":"Off","Clean":"Off","Beep":"Off","Sleep":-1}}}

hristo-atanasov commented 1 year ago

This can be implemented. :) I'm thinking of 2 new variables ignoreOffTemp and ignoreOffMode, that will default to false. Some ACs put the mode to Cool and the temp to the lowest when turned off. This will help to you and others with similar problems.

jbrandek commented 1 year ago

Great, thanks for all the work

hristo-atanasov commented 1 year ago

@jbrandek Can you try the code from this branch and give a feedback if it works for you? https://github.com/hristo-atanasov/Tasmota-IRHVAC/tree/ignore-off-temp the only thing you have to add to your config is one line

ignore_off_temp: True
jbrandek commented 1 year ago

@jbrandek Can you try the code from this branch and give a feedback if it works for you? https://github.com/hristo-atanasov/Tasmota-IRHVAC/tree/ignore-off-temp the only thing you have to add to your config is one line

ignore_off_temp: True

Sure im not home but as soon as i get there i will try it and let you know Thanks

jbrandek commented 1 year ago

@jbrandek Can you try the code from this branch and give a feedback if it works for you? https://github.com/hristo-atanasov/Tasmota-IRHVAC/tree/ignore-off-temp the only thing you have to add to your config is one line

ignore_off_temp: True

The new functionality is working good, but when i was trying it i saw that it missed a few commands from the remote, it didnt happened before but i will get the normal version back and try it to see if its a problem wirh the receiver or maybe this change something

jbrandek commented 1 year ago

keep testing and everything works good, dont know what happend with those lost commands but i tried with console and HA both open and everything works perfect

Thanks

hristo-atanasov commented 1 year ago

I'm happy to hear that it works. I'll move to the main branch soon and will make a release so you can stick to the official release. :)

jbrandek commented 1 year ago

Thank you for the fast changes