Open applestroll opened 1 year ago
xiaomi Miot auto
0.7.7
2023.3.4
Automatic (自动模式)
所有通过xiaomi Miot auto添加的米家设备,都变成不可用,但是重新加载后又显示正常了,再过一阵子打开ui界面,或者重新进homeassistant就又不可用了,homeassistant跟hacs都是最新版本,xiaomi插件也都是最新版本,不需要更新! 但是本地token添加的都没有问题正常!
无实体
此错误来自自定义集成。
Logger: custom_components.xiaomi_miot.light Source: custom_components/xiaomi_miot/init.py:1405 Integration: Xiaomi Miot Auto (documentation, issues) First occurred: 2023年3月14日 23:27:16 (2187 occurrences) Last logged: 17:40:21
主卧灯(lemesh.light.wy0c08): Got MiCloudException while fetching the state: Cannot execute request. service token or userId missing. Make sure to login., mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.mode': {'siid': 2, 'piid': 5}, 'remote.remote_switch': {'siid': 8, 'piid': 1}, 'remote.remote_ltype': {'siid': 8, 'piid': 4}, 'remote.remote_htype': {'siid': 8, 'piid': 5}, 'remote.remote_a': {'siid': 8, 'piid': 6}, 'remote.remote_b': {'siid': 8, 'piid': 7}, 'remote.remote_c': {'siid': 8, 'piid': 8}, 'remote.remote_d': {'siid': 8, 'piid': 9}, 'remote.remote_e': {'siid': 8, 'piid': 10}, 'remote.remote_f': {'siid': 8, 'piid': 11}, 'remote.remote_g': {'siid': 8, 'piid': 12}, 'remote.remote_h': {'siid': 8, 'piid': 13}, 'default': {'siid': 4, 'piid': 1}, 'default.light_save': {'siid': 4, 'piid': 2}, 'default.dimming': {'siid': 4, 'piid': 3}, 'default.inteligent_switch': {'siid': 4, 'piid': 4}, 'default.night_switch': {'siid': 4, 'piid': 5}}
Cannot execute request. service token or userId missing. Make sure to login.
登陆失效了,你需要进入 配置 > 设备与服务 > 集成 > Xiaomi Miot Auto > 选项 重新登录并保存。
配置 > 设备与服务 > 集成 > Xiaomi Miot Auto > 选项
Device model / 设备型号
xiaomi Miot auto
Component version / 插件版本
0.7.7
HA core version / HA版本
2023.3.4
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
所有通过xiaomi Miot auto添加的米家设备,都变成不可用,但是重新加载后又显示正常了,再过一阵子打开ui界面,或者重新进homeassistant就又不可用了,homeassistant跟hacs都是最新版本,xiaomi插件也都是最新版本,不需要更新! 但是本地token添加的都没有问题正常!
Entity attributes / 实体属性
无实体
Home Assistant Logs / 系统日志
此错误来自自定义集成。
Logger: custom_components.xiaomi_miot.light Source: custom_components/xiaomi_miot/init.py:1405 Integration: Xiaomi Miot Auto (documentation, issues) First occurred: 2023年3月14日 23:27:16 (2187 occurrences) Last logged: 17:40:21
主卧灯(lemesh.light.wy0c08): Got MiCloudException while fetching the state: Cannot execute request. service token or userId missing. Make sure to login., mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.mode': {'siid': 2, 'piid': 5}, 'remote.remote_switch': {'siid': 8, 'piid': 1}, 'remote.remote_ltype': {'siid': 8, 'piid': 4}, 'remote.remote_htype': {'siid': 8, 'piid': 5}, 'remote.remote_a': {'siid': 8, 'piid': 6}, 'remote.remote_b': {'siid': 8, 'piid': 7}, 'remote.remote_c': {'siid': 8, 'piid': 8}, 'remote.remote_d': {'siid': 8, 'piid': 9}, 'remote.remote_e': {'siid': 8, 'piid': 10}, 'remote.remote_f': {'siid': 8, 'piid': 11}, 'remote.remote_g': {'siid': 8, 'piid': 12}, 'remote.remote_h': {'siid': 8, 'piid': 13}, 'default': {'siid': 4, 'piid': 1}, 'default.light_save': {'siid': 4, 'piid': 2}, 'default.dimming': {'siid': 4, 'piid': 3}, 'default.inteligent_switch': {'siid': 4, 'piid': 4}, 'default.night_switch': {'siid': 4, 'piid': 5}}