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

v0.4.11升级到v0.4.12后fawad温控器不能工作 #297

Closed
cuihaijun opened this issue Dec 9, 2021 · 20 comments
Closed

v0.4.11升级到v0.4.12后fawad温控器不能工作 #297

cuihaijun opened this issue Dec 9, 2021 · 20 comments
Labels
bug Something isn't working device: thermostat fixed bug fixed

Comments

@cuihaijun
Copy link

cuihaijun commented Dec 9, 2021

fawad.airrtc.30012fawad.airrtc.30011升级后不能用,显示灰色。

@al-one
Copy link
Owner

al-one commented Dec 9, 2021

'fawad.airrtc.30011',
'fawad.airrtc.30012',

这两款设备在v0.4.12版本中被加入本地miot设备列表,请检查下有无相关报错日志

@cuihaijun
Copy link
Author

我用本地接入,还是不能用,显示灰色
`此错误来自自定义集成。

Logger: custom_components.xiaomi_miot.climate
Source: custom_components/xiaomi_miot/init.py:1094
Integration: Xiaomi Miot Auto (documentation, issues)
First occurred: 11:59:52 (8 occurrences)
Last logged: 12:02:53

主卧空调 Thermostat: Got MiioException while fetching the state: {'code': -9999, 'message': 'user ack timeout'}, mapping: {'thermostat.on': {'siid': 2, 'piid': 1}, 'thermostat.status': {'siid': 2, 'piid': 2}, 'thermostat.fault': {'siid': 2, 'piid': 3}, 'thermostat.mode': {'siid': 2, 'piid': 4}, 'thermostat.target_temperature': {'siid': 2, 'piid': 5}, 'thermostat.fan_level': {'siid': 2, 'piid': 6}, 'thermostat.temperature': {'siid': 2, 'piid': 7}, 'thermostat_vrf.device_info': {'siid': 4, 'piid': 1}, 'screen_lock_enable-4-2': {'siid': 4, 'piid': 2}, 'thermostat_vrf.wind_derection_v': {'siid': 4, 'piid': 3}, 'thermostat_vrf.wind_derection_h': {'siid': 4, 'piid': 4}, 'thermostat_vrf.dehumidity_level': {'siid': 4, 'piid': 5}, 'thermostat_vrf.timer_info': {'siid': 4, 'piid': 6}, 'founc_enable_flags-4-7': {'siid': 4, 'piid': 7}, 'thermostat_vrf.workauto_submode': {'siid': 4, 'piid': 8}, 'wind_direction_mode-4-9': {'siid': 4, 'piid': 9}, 'beep_opration_enable-4-10': {'siid': 4, 'piid': 10}, 'dark_night_display-4-11': {'siid': 4, 'piid': 11}, 'thermostat_vrf.ontime_dark': {'siid': 4, 'piid': 12}, 'thermostat_vrf.offtime_dark': {'siid': 4, 'piid': 13}, 'thermostat_vrf.powerlight_dark': {'siid': 4, 'piid': 14}, 'thermostat_vrf.monday_timer': {'siid': 4, 'piid': 15}, 'thermostat_vrf.tuesday_timer': {'siid': 4, 'piid': 16}, 'thermostat_vrf.wednesday_timer': {'siid': 4, 'piid': 17}, 'thermostat_vrf.thursday_timer': {'siid': 4, 'piid': 18}, 'thermostat_vrf.friday_timer': {'siid': 4, 'piid': 19}, 'thermostat_vrf.saturday_timer': {'siid': 4, 'piid': 20}, 'thermostat_vrf.sunday_timer': {'siid': 4, 'piid': 21}, 'thermostat_vrf.schedule_enable': {'siid': 4, 'piid': 22}}, max_properties: 10/29
书房空调 Thermostat: Got MiioException while fetching the state: {'code': -9999, 'message': 'user ack timeout'}, mapping: {'thermostat.on': {'siid': 2, 'piid': 1}, 'thermostat.status': {'siid': 2, 'piid': 2}, 'thermostat.fault': {'siid': 2, 'piid': 3}, 'thermostat.mode': {'siid': 2, 'piid': 4}, 'thermostat.target_temperature': {'siid': 2, 'piid': 5}, 'thermostat.fan_level': {'siid': 2, 'piid': 6}, 'thermostat.temperature': {'siid': 2, 'piid': 7}, 'thermostat_vrf.device_info': {'siid': 4, 'piid': 1}, 'screen_lock_enable-4-2': {'siid': 4, 'piid': 2}, 'thermostat_vrf.wind_derection_v': {'siid': 4, 'piid': 3}, 'thermostat_vrf.wind_derection_h': {'siid': 4, 'piid': 4}, 'thermostat_vrf.dehumidity_level': {'siid': 4, 'piid': 5}, 'thermostat_vrf.timer_info': {'siid': 4, 'piid': 6}, 'founc_enable_flags-4-7': {'siid': 4, 'piid': 7}, 'thermostat_vrf.workauto_submode': {'siid': 4, 'piid': 8}, 'wind_direction_mode-4-9': {'siid': 4, 'piid': 9}, 'beep_opration_enable-4-10': {'siid': 4, 'piid': 10}, 'dark_night_display-4-11': {'siid': 4, 'piid': 11}, 'thermostat_vrf.ontime_dark': {'siid': 4, 'piid': 12}, 'thermostat_vrf.offtime_dark': {'siid': 4, 'piid': 13}, 'thermostat_vrf.powerlight_dark': {'siid': 4, 'piid': 14}, 'thermostat_vrf.monday_timer': {'siid': 4, 'piid': 15}, 'thermostat_vrf.tuesday_timer': {'siid': 4, 'piid': 16}, 'thermostat_vrf.wednesday_timer': {'siid': 4, 'piid': 17}, 'thermostat_vrf.thursday_timer': {'siid': 4, 'piid': 18}, 'thermostat_vrf.friday_timer': {'siid': 4, 'piid': 19}, 'thermostat_vrf.saturday_timer': {'siid': 4, 'piid': 20}, 'thermostat_vrf.sunday_timer': {'siid': 4, 'piid': 21}, 'thermostat_vrf.schedule_enable': {'siid': 4, 'piid': 22}}, max_properties: 10/29`

@al-one
Copy link
Owner

al-one commented Dec 9, 2021

这两款设备应该是支持本地模式的,但是可能由于一次性查询的属性过多导致报错,请添加自定义属性后再观察下:

# customize.yaml
climate.fawad_30011_entity_id:
  chunk_properties: 7 # 减少每次查询属性的个数
climate.fawad_30012_entity_id:
  exclude_miot_services: thermostat_vrf # 排除一些服务以减少设备负担

@cuihaijun
Copy link
Author

我加了自定义属性后,重启homeassistant还是空调状态还是灰色不可用,报错的日志代码也是一样的,奇怪的是只有主卧空调fawad.airrtc.30011报错的日志,没有书房空调fawad.airrtc.30012报错的日志

@cuihaijun
Copy link
Author

climate

@al-one
Copy link
Owner

al-one commented Dec 9, 2021

书房空调fawad.airrtc.30012现在可用吗?

@cuihaijun
Copy link
Author

cuihaijun commented Dec 9, 2021 via email

@al-one
Copy link
Owner

al-one commented Dec 9, 2021

请把最新的日志复制给我。

@cuihaijun
Copy link
Author

log.txt

@cuihaijun
Copy link
Author

请把最新的日志复制给我。
log.txt

还有需要我做什么的你跟我讲,谢谢!

@al-one
Copy link
Owner

al-one commented Dec 9, 2021

请更新到master分支后,重启HA再试,自定义属性保持不变。

@cuihaijun
Copy link
Author

请更新到master分支后,重启HA再试,自定义属性保持不变。

是不是重新下载,因为我发现hacs就是master
xiaomi

@cuihaijun

This comment has been minimized.

@al-one
Copy link
Owner

al-one commented Dec 9, 2021

重新下载 > 选择master(显示测试版) > 下载/安装 > 重启HA

不需要添加自定义存储库。

@cuihaijun

This comment has been minimized.

@al-one
Copy link
Owner

al-one commented Dec 9, 2021

image

@cuihaijun
Copy link
Author

image

very good,可以正常工作了,非常感谢!
我还想问一下,我还有一个zigebee接入小米多模网关的中央空调温控器,云端选择后没有显示实体,是不是不支持?

@al-one
Copy link
Owner

al-one commented Dec 9, 2021

#122 (comment)

如果是这款的话,很抱歉不支持。

@cuihaijun
Copy link
Author

#122 (comment)

如果是这款的话,很抱歉不支持。

再次感谢,lumi.airrtc.vrfegl01不支持的话也没办法,你真是技术大牛,这么厉害。

al-one added a commit that referenced this issue Dec 9, 2021
@al-one
Copy link
Owner

al-one commented Dec 9, 2021

自定义属性exclude_miot_services: thermostat_vrf已被提交到插件代码中(0724b60) ,将在下个版本中发布,后续版本无需添加上述自定义属性即可正常使用。

@al-one al-one added bug Something isn't working fixed bug fixed labels Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working device: thermostat fixed bug fixed
Projects
None yet
Development

No branches or pull requests

2 participants