hristo-atanasov / Tasmota-IRHVAC

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

LG Air fan speed control with Homekit bug #101

Open crackn opened 1 year ago

crackn commented 1 year ago

hello, is there a way to change fan speed mode from "min" to "low" in LG config because Apple homekit only accept low/medium/high and LG air accept min/medium/high or min/medium/max if i just change the min mode to low, LG refuses the command.

so to tasmota IR the command must be FanSpeed: "min" but for homeassistant the command must be "Low"

thanks,

hristo-atanasov commented 1 year ago

Currently I can't imagine a way to make this to work. I can only propose a way how you can change the code (locally on your machine) to make it work for you. But this mean, that you'll have a custom version of the custom component. This means, that every time there is a new version, you will have to update and change the code on few places. :)

crackn commented 1 year ago

I see no problem with it. If you can elaborate how to do it, I will make the changes and test it/report.

Thanks.

Enviado do meu iPhone

Em 20 de nov. de 2022, à(s) 00:27, Hristo Atanasov @.***> escreveu:

 Currently I can't imagine a way to make this to work. I can only propose a way how you can change the code (locally on your machine) to make it work for you. But this mean, that you'll have a custom version of the custom component. This means, that every time there is a new version, you will have to update and change the code on few places. :)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

hristo-atanasov commented 1 year ago

I made the changes you need in separate branch. Try this branch and tell me if it works for you: https://github.com/hristo-atanasov/Tasmota-IRHVAC/tree/for-crackn There are only two changes marked witch "# crackn" so it would be easier for you to find them. If it is working, you can fork it, but remember, that you have to apply this changes each time there is a new version. :)

crackn commented 1 year ago

going to try it right now, I will let you know if it works.

thanks

crackn commented 1 year ago

Yes it works. Now I can control it from homeassistant interface and from Homekit using apple Home app.

now I can say that integration with LG is working 100%

thanks alot for your help.

crackn commented 6 days ago

hello, could you verify what changed in new versions about this bug, It's not working and I cant merge the code you did for LG problem. thanks in advance.