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

小米新风空调尊享版不可用 #752

Closed
shuaihuaiyi opened this issue Aug 23, 2022 · 3 comments
Closed

小米新风空调尊享版不可用 #752

shuaihuaiyi opened this issue Aug 23, 2022 · 3 comments

Comments

@shuaihuaiyi
Copy link

Find the model (like: brand.aircondition.abc) in devices.

Try to add a custom attribute:

climate.your_entity_id:
  chunk_properties: 7

@al-one This doesn't work:

Mi Smart AC with Ventilation (Elite Edition 1.5HP)(xiaomi.aircondition.mt0): Got MiioException while fetching the state: Unable to parse message payload, mapping: {'air_conditioner.on': {'siid': 2, 'piid': 1}, 'air_conditioner.mode': {'siid': 2, 'piid': 2}, 'air_conditioner.fault': {'siid': 2, 'piid': 3}, 'target_temperature-2-4': {'siid': 2, 'piid': 4}, 'air_conditioner.eco': {'siid': 2, 'piid': 7}, 'air_conditioner.heater': {'siid': 2, 'piid': 9}, 'air_conditioner.dryer': {'siid': 2, 'piid': 10}, 'air_conditioner.sleep_mode': {'siid': 2, 'piid': 11}, 'air_conditioner.soft_wind': {'siid': 2, 'piid': 12}, 'air_conditioner.uv': {'siid': 2, 'piid': 13}, 'air_conditioner.target_humidity': {'siid': 2, 'piid': 14}, 'screen_show.screen_version': {'siid': 17, 'piid': 1}, 'single_smart_scene.auto_cooling': {'siid': 16, 'piid': 1}, 'automatic_heating-16-2': {'siid': 16, 'piid': 2}, 'single_smart_scene.auto_dry': {'siid': 16, 'piid': 3}, 'auto_air_fresh-16-5': {'siid': 16, 'piid': 5}, 'freshair_dark_switch-16-8': {'siid': 16, 'piid': 8}, 'single_smart_scene.sleep_soft': {'siid': 16, 'piid': 9}, 'air_fresh_more.filter_life': {'siid': 15, 'piid': 1}, 'flag_bit.fault_value': {'siid': 13, 'piid': 1}, 'machine_state.indoor_pipe_temp': {'siid': 12, 'piid': 1}, 'machine_state.indoor_fan_speed': {'siid': 12, 'piid': 3}, 'real_heater_switch-12-4': {'siid': 12, 'piid': 4}, 'realindoor_fan_lever-12-5': {'siid': 12, 'piid': 5}, 'machine_state.outdoor_temp': {'siid': 12, 'piid': 7}, 'machine_state.outdoor_pipe_temp': {'siid': 12, 'piid': 8}, 'outdoor_exhaust_temp-12-9': {'siid': 12, 'piid': 9}, 'machine_state.outdoor_fan_lever': {'siid': 12, 'piid': 10}, 'compressor_frequency-12-11': {'siid': 12, 'piid': 11}, 'fourway_valve_switch-12-12': {'siid': 12, 'piid': 12}, 'outdoor_mach_current-12-13': {'siid': 12, 'piid': 13}, 'outdoor_mach_voltage-12-14': {'siid': 12, 'piid': 14}, 'machine_state.expansion_valve': {'siid': 12, 'piid': 15}, 'air_fresh_fan_speed-12-17': {'siid': 12, 'piid': 17}, 'new_wind_fan_lever-12-18': {'siid': 12, 'piid': 18}, 'machine_state.ambient_light': {'siid': 12, 'piid': 19}, 'machine_state.new_fan_anti_cond': {'siid': 12, 'piid': 20}, 'machine_state.dew_point_tp': {'siid': 12, 'piid': 21}, 'iot_linkage.iot_temp': {'siid': 11, 'piid': 1}, 'iot_linkage.temp_ctrl': {'siid': 11, 'piid': 5}, 'iot_linkage.smart_sleep_ctrl': {'siid': 11, 'piid': 6}, 'iot_linkage.ai_formaldehyde': {'siid': 11, 'piid': 9}, 'iot_linkage.formaldehyde': {'siid': 11, 'piid': 10}, 'enhance.fan_percent': {'siid': 10, 'piid': 1}, 'enhance.timer': {'siid': 10, 'piid': 3}, 'enhance.humidity_range': {'siid': 10, 'piid': 6}, 'enhance.filter_core_rest': {'siid': 10, 'piid': 7}, 'enhance.off_flag': {'siid': 10, 'piid': 8}, 'enhance.tp_and_humidity': {'siid': 10, 'piid': 9}, 'enhance.tp_carbon_dioxide': {'siid': 10, 'piid': 10}, 'enhance.huy_carbon_dioxide': {'siid': 10, 'piid': 11}, 'enhance.display_carbon': {'siid': 10, 'piid': 12}, 'enhance.display_co_two': {'siid': 10, 'piid': 13}, 'maintenance.clean': {'siid': 9, 'piid': 1}, 'maintenance.examine': {'siid': 9, 'piid': 2}, 'maintenance.running_duration': {'siid': 9, 'piid': 5}, 'electricity': {'siid': 8, 'piid': 1}, 'electricity.elec_count': {'siid': 8, 'piid': 3}, 'electricity.time_count': {'siid': 8, 'piid': 5}, 'air_fresh.on': {'siid': 14, 'piid': 1}, 'air_fresh.fault': {'siid': 14, 'piid': 2}, 'air_fresh.fan_level': {'siid': 14, 'piid': 5}, 'indicator_light.on': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 6, 'piid': 2}, 'alarm': {'siid': 5, 'piid': 1}, 'environment.temperature': {'siid': 4, 'piid': 7}, 'environment.co2_density': {'siid': 4, 'piid': 8}, 'environment.relative_humidity': {'siid': 4, 'piid': 9}, 'fan_control.fan_level': {'siid': 3, 'piid': 2}, 'fan_control.horizontal_swing': {'siid': 3, 'piid': 3}, 'fan_control.vertical_swing': {'siid': 3, 'piid': 4}, 'fan_control.horizontal_angle': {'siid': 3, 'piid': 5}, 'fan_control.vertical_angle': {'siid': 3, 'piid': 6}}, max_properties: 7/73

相关issue:
Originally posted by @shuaihuaiyi in #209 (comment)

@al-one
Copy link
Owner

al-one commented Aug 25, 2022

尝试master分支

@shuaihuaiyi
Copy link
Author

问题没有解决,设备的配置为

customizing_device:
  xiaomi.aircondition.mt0:
    chunk_properties: '10'
    sensor_properties: electricity.electricity
    fan_services: air_fresh
    exclude_miot_services: iot_linkage,machine_state,screen_show
    exclude_miot_properties: enhance.timer,humidity_range,filter_core_rest,sleep_diy_sign

core log:

2022-08-26 12:23:38.592 ERROR (MainThread) [custom_components.xiaomi_miot.climate] Mi Smart AC with Ventilation (Elite Edition 1.5HP)(xiaomi.aircondition.mt0): Got MiioException while fetching the state: Unable to parse message payload, mapping: {'air_conditioner.on': {'siid': 2, 'piid': 1}, 'air_conditioner.mode': {'siid': 2, 'piid': 2}, 'air_conditioner.fault': {'siid': 2, 'piid': 3}, 'target_temperature-2-4': {'siid': 2, 'piid': 4}, 'air_conditioner.eco': {'siid': 2, 'piid': 7}, 'air_conditioner.heater': {'siid': 2, 'piid': 9}, 'air_conditioner.dryer': {'siid': 2, 'piid': 10}, 'air_conditioner.sleep_mode': {'siid': 2, 'piid': 11}, 'air_conditioner.soft_wind': {'siid': 2, 'piid': 12}, 'air_conditioner.uv': {'siid': 2, 'piid': 13}, 'air_conditioner.target_humidity': {'siid': 2, 'piid': 14}, 'single_smart_scene.auto_cooling': {'siid': 16, 'piid': 1}, 'automatic_heating-16-2': {'siid': 16, 'piid': 2}, 'single_smart_scene.auto_dry': {'siid': 16, 'piid': 3}, 'auto_air_fresh-16-5': {'siid': 16, 'piid': 5}, 'freshair_dark_switch-16-8': {'siid': 16, 'piid': 8}, 'single_smart_scene.sleep_soft': {'siid': 16, 'piid': 9}, 'air_fresh_more.filter_life': {'siid': 15, 'piid': 1}, 'flag_bit.fault_value': {'siid': 13, 'piid': 1}, 'enhance.fan_percent': {'siid': 10, 'piid': 1}, 'enhance.off_flag': {'siid': 10, 'piid': 8}, 'enhance.tp_and_humidity': {'siid': 10, 'piid': 9}, 'enhance.tp_carbon_dioxide': {'siid': 10, 'piid': 10}, 'enhance.huy_carbon_dioxide': {'siid': 10, 'piid': 11}, 'enhance.display_carbon': {'siid': 10, 'piid': 12}, 'enhance.display_co_two': {'siid': 10, 'piid': 13}, 'maintenance.clean': {'siid': 9, 'piid': 1}, 'maintenance.examine': {'siid': 9, 'piid': 2}, 'maintenance.running_duration': {'siid': 9, 'piid': 5}, 'electricity': {'siid': 8, 'piid': 1}, 'electricity.elec_count': {'siid': 8, 'piid': 3}, 'electricity.time_count': {'siid': 8, 'piid': 5}, 'air_fresh.on': {'siid': 14, 'piid': 1}, 'air_fresh.fault': {'siid': 14, 'piid': 2}, 'air_fresh.fan_level': {'siid': 14, 'piid': 5}, 'indicator_light.on': {'siid': 6, 'piid': 1}, 'indicator_light.brightness': {'siid': 6, 'piid': 2}, 'alarm': {'siid': 5, 'piid': 1}, 'environment.temperature': {'siid': 4, 'piid': 7}, 'environment.co2_density': {'siid': 4, 'piid': 8}, 'environment.relative_humidity': {'siid': 4, 'piid': 9}, 'fan_control.fan_level': {'siid': 3, 'piid': 2}, 'fan_control.horizontal_swing': {'siid': 3, 'piid': 3}, 'fan_control.vertical_swing': {'siid': 3, 'piid': 4}, 'fan_control.horizontal_angle': {'siid': 3, 'piid': 5}, 'fan_control.vertical_angle': {'siid': 3, 'piid': 6}}, max_properties: 10/46

@shuaihuaiyi
Copy link
Author

更新空调固件至2.2.1.0035后,在v0.6.10 release上即可正常使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants