Skip to content
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

lumi.acpartner.v2 + LG 3482: climate.turn_on and turn_off doesn't work for me #126

Open
xstaford opened this issue Apr 4, 2021 · 6 comments

Comments

@xstaford
Copy link

xstaford commented Apr 4, 2021

Hi, thanks for your work firstly!

The addon is working fine on thermostat bar but climate.turn-on/off for example just change status on thermostat bar (not send commands to conditioner)
How can I work with addon in automations???)))

Could you please send some examples or instructions to do it correctly)))
Lumi.acpartner.v2

Thanks!)))

@xstaford xstaford closed this as completed Apr 4, 2021
@xstaford xstaford reopened this Apr 4, 2021
@xstaford
Copy link
Author

xstaford commented Apr 5, 2021

Or does it work only with IR receiving-send services?

@syssi
Copy link
Owner

syssi commented May 13, 2021

It's possible to turn the device on and off via Mi Home app?

@syssi syssi changed the title Automations in HA lumi.acpartner.v2: climate.turn_on and turn_off doesn't work for me May 13, 2021
@syssi
Copy link
Owner

syssi commented May 13, 2021

Has the lumi.acpartner.v2 an internal relay to cut the power if you turn off the device via the Mi Home app or does the device send a command to the AC? Some hardware models has an internal relay and some not.

@syssi
Copy link
Owner

syssi commented May 13, 2021

Please provide the model and manufacturer of your AC.

@xstaford
Copy link
Author

Ac is lg 3482, its working fine via Mihome as like as via thermostat bar +acpartner on home assistant.
Most of the commands are working exclude drying (noneeded)
I have trouble with automations only, its affect only on thermostat bar without sending command to ac. For example climate.turn-on is enabling thermostat bar but not AC.
If I control ac via mihome its not affect on thermostat bar the same as if control via thermostat bar on home assistant.

@syssi
Copy link
Owner

syssi commented May 13, 2021

If you call the climate.turn_on service this code path is executed:

https://github.com/syssi/xiaomi_airconditioningcompanion/blob/develop/custom_components/xiaomi_miio_airconditioningcompanion/climate.py#L322-L329

This is the implementation of the underlying library:

https://github.com/rytilahti/python-miio/blob/master/miio/airconditioningcompanion.py#L268-L270

In short: The command set_power ["on"] is sent to the lumi.acpartner.v2 and the state of the climate entity is changed to on at L329.

If you try to turn on the AC via the MiHome app. What do you do in detail? Could you provide a screenshot? Is there a power button at the UI? Perfect would be a network capture of the traffic between Mi Home app and Acpartner to replicate the behaviour.

@syssi syssi changed the title lumi.acpartner.v2: climate.turn_on and turn_off doesn't work for me lumi.acpartner.v2 + LG 3482: climate.turn_on and turn_off doesn't work for me May 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants