al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.68k stars 664 forks source link

Thermostat Heatcold cubee.airrtc.th123e - Failed to call the service climate/set_hvac_mode #894

Closed theodorx7 closed 1 year ago

theodorx7 commented 2 years ago

Home Assistant v2022.11.4 Xiaomi Miot Auto v0.7.1 cubee.airrtc.th123e firmware v2.2.1.1006

When switching the thermostat modes or presets, an error message is displayed:

. Screenshot_20221122-100633

theodorx7 commented 2 years ago

Эта ошибка возникла в кастомной интеграции.

Logger: custom_components.xiaomi_miot.core.xiaomi_cloud Source: custom_components/xiaomi_miot/core/xiaomi_cloud.py:63 Integration: Xiaomi Miot Auto (documentation, issues) First occurred: 21:05:49 (1 occurrences) Last logged: 21:05:49

Request xiaomi api: miotspec/prop/get {'params': [{'did': '437002191', 'siid': 2, 'piid': 1}, {'did': '437002191', 'siid': 2, 'piid': 2}, {'did': '437002191', 'siid': 2, 'piid': 3}, {'did': '437002191', 'siid': 2, 'piid': 4}, {'did': '437002191', 'siid': 2, 'piid': 5}, {'did': '437002191', 'siid': 2, 'piid': 7}, {'did': '437002191', 'siid': 4, 'piid': 1}, {'did': '437002191', 'siid': 4, 'piid': 2}, {'did': '437002191', 'siid': 4, 'piid': 3}, {'did': '437002191', 'siid': 4, 'piid': 4}, {'did': '437002191', 'siid': 4, 'piid': 5}, {'did': '437002191', 'siid': 4, 'piid': 6}, {'did': '437002191', 'siid': 4, 'piid': 7}]} failed, response: None

theodorx7 commented 2 years ago

Эта ошибка возникла в кастомной интеграции.

Logger: custom_components.xiaomi_miot.core.xiaomi_cloud Source: custom_components/xiaomi_miot/core/xiaomi_cloud.py:81 Integration: Xiaomi Miot Auto (documentation, issues) First occurred: 21:08:41 (2 occurrences) Last logged: 21:08:51

Request xiaomi api: miotspec/prop/set {'params': [{'did': '437002191', 'siid': 2, 'piid': 1, 'value': True}]} failed, response: None Request xiaomi api: miotspec/prop/set {'params': [{'did': '437002191', 'siid': 2, 'piid': 4, 'value': 0}]} failed, response: None

theodorx7 commented 2 years ago

2022-11-23 07:00:45.207 ERROR (MainThread) [custom_components.xiaomi_miot_raw.climate] Modes {'Manual': 0, 'Home': 1, 'Away': 2, 'Smart': 3, 'Sleep': 4} contains unsupported ones. Please report this message to the developer.

theodorx7 commented 2 years ago

Perhaps the information from this topic will be useful: https://github.com/ha0y/xiaomi_miot_raw/issues/287

scarycky commented 2 years ago

Привет, подскажи пожалуйста, как ты сделал, чтобы отразить информацию с термостата?? я просмотрел 2 инструкции но так и не понял что необходимо сделать, спасибо

al-one commented 1 year ago

Try this configuration:

# configuration.yaml
xiaomi_miot:
  device_customizes:
    cubee.airrtc.th123e:
      miot_local: true
      chunk_properties: 1
      exclude_miot_services: heatold
scarycky commented 1 year ago

Try this configuration:

# configuration.yaml
xiaomi_miot:
  device_customizes:
    cubee.airrtc.th123e:
      miot_local: true
      chunk_properties: 1
      exclude_miot_services: heatold

Thank you very much, everything worked

al-one commented 1 year ago

Try master branch without configurations.

al-one commented 1 year ago