syssi / xiaomi_airconditioningcompanion

Xiaomi Mi and Aqara Air Conditioning Companion integration for Home Assistant
Apache License 2.0
394 stars 93 forks source link

Unable to add multiple air conditioning companions #89

Closed unpack8866 closed 3 years ago

unpack8866 commented 4 years ago

Unable to add multiple air conditioning companions

syssi commented 4 years ago

What did you try? Could you provide your error log?

syssi commented 4 years ago

It should be possible without issues by:

climate:
  - platform: xiaomi_miio_airconditioningcompanion
    name: Aqara Air Conditioning Companion No 1
    host: 192.168.130.71
    token: FIRST_TOKEN
    target_sensor: sensor.temperature_bedroom
    scan_interval: 60
  - platform: xiaomi_miio_airconditioningcompanion
    name: Aqara Air Conditioning Companion No 2
    host: 192.168.130.72
    token: SECOND_TOKEN
    target_sensor: sensor.temperature_livingroom
    scan_interval: 60
unpack8866 commented 4 years ago

)EX_E)(L_DRJRYIMC9)7 E8

unpack8866 commented 4 years ago

%GY@@D0{FVEYBS2$LZPV379

unpack8866 commented 4 years ago

GTKVC%4M``Q)XI~8FZJG)IR

unpack8866 commented 4 years ago

As shown in the figure, there is only one air conditioner companion in the HA.

unpack8866 commented 4 years ago

~AK {CK5V5N7H(HSD52PH@M

syssi commented 4 years ago

If you remove the working one from your configuration are you able to control the second acpartner? I want to make sure both are working fine if sole.

unpack8866 commented 4 years ago

11

unpack8866 commented 4 years ago

12

unpack8866 commented 4 years ago

Look at the red circle in the picture, the name in the configuration and the entity ID in the HA; after modifying the configuration name, the entity ID in the HA will not change.

unpack8866 commented 4 years ago

Find the reason, you need to delete the four files in the .storage folder. After restarting HA, it will be normal.

unpack8866 commented 4 years ago

S4GKECT01W(NXI@)A$YU@@5

foXaCe commented 4 years ago

hello,

how to add two air conditioning companions ? please

foXaCe commented 4 years ago

ok work now I delete everything and reinstall