bilan/connectlife-api-connector

Connectlife 009-104 swing mode not available

delumerlino opened this issue · 27 comments

Hi, when I was in 2.0.0 swing mode was working, now in 2.1.0 it does no more work.

here is device config:
{"009":{"t_work_mode":["fan only","heat","cool","dry","auto"],"t_fan_speed":{"0":"auto","5":"low","6":"middle low","7":"medium","8":"middle high","9":"high"},"t_swing_angle":{"0":"swing","2":"bottom 1/6 ","3":"bottom 2/6","4":"bottom 3/6","5":"top 4/6","6":"top 5/6","7":"top 6/6"}}}

Already deleted, it add-on compile the same.
Already deleted prevois MQTT devices

MQTT discovery give me this:

name: Split corridoio
unique_id: pu000098650051000200030003000000f7f617d8c0f
modes:

  • fan_only
  • heat
  • cool
  • dry
  • auto
  • 'off'
    fan_modes:
  • auto
  • super_low
  • low
  • medium
  • high
  • super_high
    swing_modes: []
    payload_on: '1'
    payload_off: '0'
    power_command_topic: pu000098650051000200030003000000f7f617d8c0f/ac/power/set
    mode_command_topic: pu000098650051000200030003000000f7f617d8c0f/ac/mode/set
    mode_state_topic: pu000098650051000200030003000000f7f617d8c0f/ac/mode/get
    temperature_command_topic: pu000098650051000200030003000000f7f617d8c0f/ac/temperature/set
    temperature_state_topic: pu000098650051000200030003000000f7f617d8c0f/ac/temperature/get
    current_temperature_topic: pu000098650051000200030003000000f7f617d8c0f/ac/current-temperature/get
    json_attributes_topic: pu000098650051000200030003000000f7f617d8c0f/ac/attributes/get
    precision: 0.5
    max_temp: 32
    min_temp: 16
    temp_step: 1
    device:
    identifiers:
    • pu000098650051000200030003000000f7f617d8c0f
      manufacturer: Connectlife
      model: 009-104
      fan_mode_command_topic: pu000098650051000200030003000000f7f617d8c0f/ac/fan/set
      fan_mode_state_topic: pu000098650051000200030003000000f7f617d8c0f/ac/fan/get
      platform: mqtt

And here is my control card:

image

How may I get back swing mode?
Thanks!

Hi, change in add-on configuration device_config from 009 to 104.

{"104":{"t_work_mode":["fan only","heat","cool","dry","auto"],"t_fan_speed":{"0":"auto","5":"low","6":"middle low","7":"medium","8":"middle high","9":"high"},"t_swing_angle":{"0":"swing","2":"bottom 1/6 ","3":"bottom 2/6","4":"bottom 3/6","5":"top 4/6","6":"top 5/6","7":"top 6/6"}}}

Thanks but nothing changed.
I have also restarted MQTT, then the add-on

Try:

{"104":{"t_work_mode":["fan only","heat","cool","dry","auto"],"t_fan_speed":{"0":"auto","5":"super low","6":"low","7":"medium","8":"high","9":"super high"},"t_swing_direction":["straight","right","both sides","swing","left"],"t_swing_angle":{"0":"swing","2":"bottom 1/6 ","3":"bottom 2/6","4":"bottom 3/6","5":"top 4/6","6":"top 5/6","7":"top 6/6"}}}

YUP, with that I have them all! But works only up and down, may I delete the not useful modes?

Btw it seems like your dive do not support t_swing_direction / t_swing_angle. It has probably one dimensional swing controlled by "t_up_down". Can you paste here device state please?

You need to have at least one t_swing_direction mode. I will try to fix it in v2.1.1

Try:

{"104":{"t_work_mode":["fan only","heat","cool","dry","auto"],"t_fan_speed":{"0":"auto","5":"super low","6":"low","7":"medium","8":"high","9":"super high"},"t_swing_direction":["-"],"t_swing_angle":{"0":"swing","2":"bottom 1/6 ","3":"bottom 2/6","4":"bottom 3/6","5":"top 4/6","6":"top 5/6","7":"top 6/6"}}}

This?

[{"wifiId":"blabla","deviceId":"blabla","puid":"pu000098650051000200030003000000f7f617d8c0f","deviceNickName":"Split corridoio","deviceFeatureCode":"104","deviceFeatureName":"104\u51b7\u6696\u8282\u80fd\u65e0\u529f\u7387","deviceTypeCode":"009","deviceTypeName":"","bindTime":1695327645349,"role":1,"roomId":2818830,"roomName":"default_room","statusList":{"t_sleep":"0","t_power":"0","t_work_mode":"0","t_fan_speed":"0","t_fan_speed_s":"0","t_fan_mute":"0","t_super":"0","t_eco":"0","t_temp":"26","t_temp_type":"0","t_up_down":"0","t_swing_follow":"0","t_swing_direction":"0","t_swing_angle":"0","t_fanspeedcv":"0","t_tms":"0","t_temp_compensate":"10","f_humidity":"128","f_temp_in":"23","f_electricity":"0","f_votage":"0","f_e_intemp":"0","f_e_incoiltemp":"0","f_e_inhumidity":"0","f_e_infanmotor":"0","f_e_arkgrille":"0","f_e_invzero":"0","f_e_incom":"0","f_e_indisplay":"0","f_e_inkeys":"0","f_e_inwifi":"0","f_e_inele":"0","f_e_ineeprom":"0","f_e_outeeprom":"0","f_e_outcoiltemp":"0","f_e_outgastemp":"0","f_e_outtemp":"0","f_e_waterfull":"0","f_e_upmachine":"0","f_e_dwmachine":"0","f_e_over_cold":"0","f_e_over_hot":"0","f_e_push":"0","t_demand_response":"0","t_dal":"0","t_talr":"0","f-filter":"0","f_ecm":"1"},"useTime":1695327645327,"offlineState":1,"seq":0,"createTime":0},

Try:

{"104":{"t_work_mode":["fan only","heat","cool","dry","auto"],"t_fan_speed":{"0":"auto","5":"super low","6":"low","7":"medium","8":"high","9":"super high"},"t_swing_direction":["-"],"t_swing_angle":{"0":"swing","2":"bottom 1/6 ","3":"bottom 2/6","4":"bottom 3/6","5":"top 4/6","6":"top 5/6","7":"top 6/6"}}}

nope 😑

But does your 009 104 correspond to the aeh-wgh2 wifi module?

Hi, when I was in 2.0.0 swing mode was working, now in 2.1.0 it does no more work.

here is device config: {"009":{"t_work_mode":["fan only","heat","cool","dry","auto"],"t_fan_speed":{"0":"auto","5":"low","6":"middle low","7":"medium","8":"middle high","9":"high"},"t_swing_angle":{"0":"swing","2":"bottom 1/6 ","3":"bottom 2/6","4":"bottom 3/6","5":"top 4/6","6":"top 5/6","7":"top 6/6"}}}

Already deleted, it add-on compile the same. Already deleted prevois MQTT devices

MQTT discovery give me this:

name: Split corridoio unique_id: pu000098650051000200030003000000f7f617d8c0f modes:

  • fan_only

  • heat

  • cool

  • dry

  • auto

  • 'off'
    fan_modes:

  • auto

  • super_low

  • low

  • medium

  • high

  • super_high
    swing_modes: []
    payload_on: '1'
    payload_off: '0'
    power_command_topic: pu000098650051000200030003000000f7f617d8c0f/ac/power/set
    mode_command_topic: pu000098650051000200030003000000f7f617d8c0f/ac/mode/set
    mode_state_topic: pu000098650051000200030003000000f7f617d8c0f/ac/mode/get
    temperature_command_topic: pu000098650051000200030003000000f7f617d8c0f/ac/temperature/set
    temperature_state_topic: pu000098650051000200030003000000f7f617d8c0f/ac/temperature/get
    current_temperature_topic: pu000098650051000200030003000000f7f617d8c0f/ac/current-temperature/get
    json_attributes_topic: pu000098650051000200030003000000f7f617d8c0f/ac/attributes/get
    precision: 0.5
    max_temp: 32
    min_temp: 16
    temp_step: 1
    device:
    identifiers:

    • pu000098650051000200030003000000f7f617d8c0f
      manufacturer: Connectlife
      model: 009-104
      fan_mode_command_topic: pu000098650051000200030003000000f7f617d8c0f/ac/fan/set
      fan_mode_state_topic: pu000098650051000200030003000000f7f617d8c0f/ac/fan/get
      platform: mqtt

And here is my control card:

image

How may I get back swing mode? Thanks!

But does your 009 104 correspond to the aeh-wgh2 wifi module?

Nope, mine is AEH-W4G2

To make a dump of your device configuration:

  1. Go to HOME_ASSISTANT/developer-tools/state
  2. Find your AC device
image 3. Copy all attributes, for case from my screenshot it will be:
hvac_modes: fan_only, heat, cool, dry, auto, off
min_temp: 16
max_temp: 32
[ ... ]
t_talr: 0
f-filter: 0
f_ecm: 1
friendly_name: Klimatyzator Klimatyzator 
supported_features: 41
  1. Change swing mode.
  2. Wait at least 1 minute.
  3. Go to step 3. unitl you've walked through all swing options.
  4. Paste (or attach in file) here the result.

I will make adjustments if I will have this data for your devices.

But does your 009 104 correspond to the aeh-wgh2 wifi module?

Nope, mine is AEH-W4G2

Sorry for my typing error, yes mine is like yours except that I can't turn them on and I don't understand why. Have you set anything in particular?

image

To make a dump of your device configuration:

  1. Go to HOME_ASSISTANT/developer-tools/state
  2. Find your AC device

image 3. Copy all attributes, for case from my screenshot it will be:

hvac_modes: fan_only, heat, cool, dry, auto, off
min_temp: 16
max_temp: 32
[ ... ]
t_talr: 0
f-filter: 0
f_ecm: 1
friendly_name: Klimatyzator Klimatyzator 
supported_features: 41
  1. Change swing mode.
  2. Wait at least 1 minute.
  3. Go to step 3. unitl you've walked through all swing options.
  4. Paste (or attach in file) here the result.

I will make adjustments if I will have this data for your devices.

Please read carefully full instruction I wrote.

Here are mine.

None of them make swing works, only from official app.
Each selection goes back to --swing after about one minute.
swings.txt

TY lots!

I was unclear, step 5. should be:
Change swing mode in official app.

The point is to discover all possible:
t_swing_direction: 0
t_swing_angle: 0

values.

I was unclear, step 5. should be: Change swing mode in official app.

The point is to discover all possible: t_swing_direction: 0 t_swing_angle: 0

values.

In this case it is super easy, I have only one swing mode:

hvac_modes: fan_only, heat, cool, dry, auto, off
min_temp: 16
max_temp: 32
target_temp_step: 1
fan_modes: auto, super_low, low, medium, high, super_high
swing_modes: - - swing, - - bottom 1/6 , - - bottom 2/6, - - bottom 3/6, - - top 4/6, - - top 5/6, - - top 6/6
current_temperature: 21
temperature: 23
fan_mode: super_low
swing_mode: - - swing
t_sleep: 0
t_power: 1
t_work_mode: 0
t_fan_speed: 5
t_fan_speed_s: 5
t_fan_mute: 0
t_super: 0
t_eco: 0
t_temp: 23
t_temp_type: 0
t_up_down: 1
t_swing_follow: 0
t_swing_direction: 0
t_swing_angle: 0
t_fanspeedcv: 0
t_tms: 0
t_temp_compensate: 10
f_humidity: 128
f_temp_in: 21
f_electricity: 0
f_votage: 0
f_e_intemp: 0
f_e_incoiltemp: 0
f_e_inhumidity: 0
f_e_infanmotor: 0
f_e_arkgrille: 0
f_e_invzero: 0
f_e_incom: 0
f_e_indisplay: 0
f_e_inkeys: 0
f_e_inwifi: 0
f_e_inele: 0
f_e_ineeprom: 0
f_e_outeeprom: 0
f_e_outcoiltemp: 0
f_e_outgastemp: 0
f_e_outtemp: 0
f_e_waterfull: 0
f_e_upmachine: 0
f_e_dwmachine: 0
f_e_over_cold: 0
f_e_over_hot: 0
f_e_push: 0
t_demand_response: 0
t_dal: 0
t_talr: 0
f-filter: 0
f_ecm: 1
icon: mdi:air-conditioner
friendly_name: Split corridoio
supported_features: 425

I was unclear, step 5. should be: Change swing mode in official app.

The point is to discover all possible: t_swing_direction: 0 t_swing_angle: 0

values.

this is mine with active oscillation from connectlife app

hvac_modes:

  • fan_only
  • heat
  • cool
  • dry
  • auto
  • "off"
    min_temp: 16
    max_temp: 32
    target_temp_step: 1
    fan_modes:
  • auto
  • super_low
  • low
  • medium
  • high
  • super_high
    current_temperature: 23
    temperature: 30
    fan_mode: auto
    t_sleep: "0"
    t_power: "1"
    t_work_mode: "1"
    t_fan_speed: "0"
    t_fan_speed_s: "0"
    t_fan_mute: "0"
    t_super: "0"
    t_eco: "0"
    t_temp: "30"
    t_temp_type: "0"
    t_up_down: "0"
    t_swing_follow: "0"
    t_swing_direction: "0"
    t_swing_angle: "0"
    t_fanspeedcv: "0"
    t_tms: "0"
    t_temp_compensate: "11"
    f_humidity: "128"
    f_temp_in: "23"
    f_electricity: "0"
    f_votage: "0"
    f_e_intemp: "0"
    f_e_incoiltemp: "0"
    f_e_inhumidity: "0"
    f_e_infanmotor: "0"
    f_e_arkgrille: "0"
    f_e_invzero: "0"
    f_e_incom: "0"
    f_e_indisplay: "0"
    f_e_inkeys: "0"
    f_e_inwifi: "0"
    f_e_inele: "0"
    f_e_ineeprom: "0"
    f_e_outeeprom: "0"
    f_e_outcoiltemp: "0"
    f_e_outgastemp: "0"
    f_e_outtemp: "0"
    f_e_waterfull: "0"
    f_e_upmachine: "0"
    f_e_dwmachine: "0"
    f_e_over_cold: "0"
    f_e_over_hot: "0"
    f_e_push: "0"
    t_demand_response: "0"
    t_dal: "0"
    t_talr: "0"
    f-filter: "0"
    f_ecm: "0"
    friendly_name: 192.168.1.245 Split Soggiorno
    supported_features: 393

from what I noticed for me the t_up_down is the one that varies from 0 to 1 where 0 means active and 1 is fixed

I can see my devices in addon LOG, but I can not find any in HOME_ASSISTANT/developer-tools/state

What did I miss?

Hi Bilan, do you have some news about it? Thanks

I've got the same thing, t_up_down instead of t_swing_direction. I tried this but it didn't work "t_up_down":{"0":"vertical","1":"off"}

My model is HAWJ9KR.

Log:

hvac_modes:
  - fan_only
  - heat
  - cool
  - dry
  - auto
  - "off"
min_temp: 16
max_temp: 32
target_temp_step: 1
fan_modes:
  - auto
  - super_low
  - low
  - medium
  - high
  - super_high
current_temperature: 24
temperature: 26
fan_mode: auto
t_work_mode: "0"
t_power: "1"
t_temp: "26"
t_temp_type: "0"
t_fan_speed: "0"
t_fan_speed_s: "0"
t_up_down: "0"
t_sleep: "0"
t_eco: "0"
t_fan_mute: "0"
t_super: "0"
f_temp_in: "24"
f_e_push: "0"
f_e_intemp: "0"
f_e_incoiltemp: "0"
f_e_inhumidity: "0"
f_e_infanmotor: "0"
f_e_arkgrille: "0"
f_e_invzero: "0"
f_e_incom: "0"
f_e_indisplay: "0"
f_e_inkeys: "0"
f_e_inwifi: "0"
f_e_inele: "0"
f_e_ineeprom: "0"
f_e_outeeprom: "0"
f_e_outcoiltemp: "0"
f_e_outgastemp: "0"
f_e_outtemp: "0"
daily_energy_kwh: 0
friendly_name: Hisense air conditioner
supported_features: 393

Swing mode - straight still not working. Thanks

I've got the same thing, t_up_down instead of t_swing_direction.

I too have a ConnectLife mini split that only has "t_up_down" for vertical swing. The unit also has horizontal swing available from the handheld remote (but not from the app). Is there any way to add either the vertical or horizontal swing into HA?

Thanks

even with the new update you can see the entities but they don't work with Connectlife 009-104 solutions?
Thank you

Any update?
My swing modes replies to
t_up_down (0, straight, 1 swing)
Thank you

Any updates on this? I have a 009-104 and no swing modes also.. Should it show up as a drop-down box?