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

Any way to turning on/off the display of an AC #215

Open
mcastillof opened this issue Feb 13, 2025 · 5 comments
Open

Any way to turning on/off the display of an AC #215

mcastillof opened this issue Feb 13, 2025 · 5 comments

Comments

@mcastillof
Copy link

Hello, I'm new here. I just managed to install connectlife-ha in my HA setup. I have an AC and it's working great.

In the physical remote control (infra red) there is a button labeled "dimmer", which turns on/off the display of the AC unit.

I was wondering if there is a way to toggle this setting from HA.

@oyvindwe
Copy link
Owner

Have you done a device dump and checked the properties?

@mcastillof
Copy link
Author

no, I need to learn how to do the device dump. I'm wondering if there is a guide to do that.

@oyvindwe
Copy link
Owner

From https://github.com/oyvindwe/connectlife-ha/tree/main/custom_components/connectlife/data_dictionaries#mapping-tips-and-tricks

pip install connectlife
python -m connectlife.dump --username <username> --password <password> --format dd

@mcastillof
Copy link
Author

Thanks @oyvindwe.

This is a split air conditioner brand KHÖNE, model KSMI-18BC3.

cat 009-104.json

{
  "bindTime": 1739751199137,
  "createTime": 0,
  "deviceFeatureCode": "104",
  "deviceFeatureName": "104\u51b7\u6696\u8282\u80fd\u65e0\u529f\u7387",
  "deviceId": "<redacted>",
  "deviceNickName": "KhoneAC",
  "deviceTypeCode": "009",
  "deviceTypeName": "",
  "isShow": 1,
  "offlineState": 1,
  "puid": "<redacted>",
  "role": 1,
  "roomId": 7378971,
  "roomName": "Sala",
  "seq": 0,
  "statusList": {
    "daily_energy_kwh": 0,
    "f_e_arkgrille": "0",
    "f_e_incoiltemp": "0",
    "f_e_incom": "0",
    "f_e_indisplay": "0",
    "f_e_ineeprom": "0",
    "f_e_inele": "0",
    "f_e_infanmotor": "0",
    "f_e_inhumidity": "0",
    "f_e_inkeys": "0",
    "f_e_intemp": "0",
    "f_e_invzero": "0",
    "f_e_inwifi": "0",
    "f_e_outcoiltemp": "0",
    "f_e_outeeprom": "0",
    "f_e_outgastemp": "0",
    "f_e_outtemp": "0",
    "f_e_push": "0",
    "f_temp_in": "27",
    "t_eco": "0",
    "t_fan_mute": "0",
    "t_fan_speed": "0",
    "t_fan_speed_s": "0",
    "t_power": "0",
    "t_sleep": "0",
    "t_super": "0",
    "t_temp": "16",
    "t_temp_type": "0",
    "t_up_down": "0",
    "t_work_mode": "2"
  },
  "useTime": 1739751199116,
  "wifiId": "<redacted>"

cat 009-104.yaml

properties:
- property: daily_energy_kwh
  # Sample value: 0
- property: f_e_arkgrille
  # Sample value: 0
- property: f_e_incoiltemp
  # Sample value: 0
- property: f_e_incom
  # Sample value: 0
- property: f_e_indisplay
  # Sample value: 0
- property: f_e_ineeprom
  # Sample value: 0
- property: f_e_inele
  # Sample value: 0
- property: f_e_infanmotor
  # Sample value: 0
- property: f_e_inhumidity
  # Sample value: 0
- property: f_e_inkeys
  # Sample value: 0
- property: f_e_intemp
  # Sample value: 0
- property: f_e_invzero
  # Sample value: 0
- property: f_e_inwifi
  # Sample value: 0
- property: f_e_outcoiltemp
  # Sample value: 0
- property: f_e_outeeprom
  # Sample value: 0
- property: f_e_outgastemp
  # Sample value: 0
- property: f_e_outtemp
  # Sample value: 0
- property: f_e_push
  # Sample value: 0
- property: f_temp_in
  # Sample value: 27
- property: t_eco
  # Sample value: 0
- property: t_fan_mute
  # Sample value: 0
- property: t_fan_speed
  # Sample value: 0
- property: t_fan_speed_s
  # Sample value: 0
- property: t_power
  # Sample value: 0
- property: t_sleep
  # Sample value: 0
- property: t_super
  # Sample value: 0
- property: t_temp
  # Sample value: 16
- property: t_temp_type
  # Sample value: 0
- property: t_up_down
  # Sample value: 0
- property: t_work_mode
  # Sample value: 2

I see the property f_e_indisplay, could this be to turn on/off the display of the AC?

@oyvindwe
Copy link
Owner

I see the property f_e_indisplay, could this be to turn on/off the display of the AC?

In my experience, the f_e_ properties are read-only in the API, only the t_ properties can be set using the ConnectLife API.

But you can try to observe the values while turning on/off with the remote, and try to set the value using the set_value action/service.

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