We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
xiaomi.light.lamp31
0.7.17
2024.4.3
Local (本地模式)
小米台灯2本地模式接入,设备刚加入时,开始工作正常(包括开关、调节色温、调节亮度等),过一段时间后设备状态改为不可用,日志报错。同时米家中显示设备离线,灯断电后重新上电,米家中显示设备在线,但无法操控。
实体:light.xiaomi_lamp31_f8fa_light 状态:unavailable 属性:
min_color_temp_kelvin: 2702 max_color_temp_kelvin: 5102 min_mireds: 196 max_mireds: 370 effect_list: Auto, Reading, Computer, Warmth, Leisure, Office, Entertainment supported_color_modes: color_temp friendly_name: 台灯 Light supported_features: 4
2024-04-19 20:54:36.758 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 20:54:52.928 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 20:55:22.929 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 20:56:17.466 WARNING (SyncWorker_26) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Set miot property {'did': '782528345', 'siid': 2, 'piid': 1, 'value': False} failed, result: {'did': '782528345', 'iid': '0.2.1', 'siid': 2, 'piid': 1, 'code': -704083036, 'exe_time': 0} 2024-04-19 20:57:16.990 WARNING (SyncWorker_14) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Set miot property {'did': '782528345', 'siid': 2, 'piid': 1, 'value': False} failed, result: {'did': '782528345', 'iid': '0.2.1', 'siid': 2, 'piid': 1, 'code': -704042011, 'exe_time': 0} 2024-04-19 22:10:58.004 WARNING (SyncWorker_55) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Set miot property {'did': '782528345', 'siid': 2, 'piid': 3, 'value': 5102} failed, result: {'did': '782528345', 'siid': 2, 'piid': 3, 'code': -4005} 2024-04-19 22:12:10.091 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:12:35.086 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:13:05.088 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:13:35.089 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:14:05.089 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:14:35.091 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:15:05.087 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:15:35.092 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:16:05.089 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:16:35.093 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:17:05.094 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:17:35.094 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:18:05.096 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:18:35.096 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:19:05.096 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:19:35.098 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:20:05.099 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:20:35.100 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:21:05.100 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:21:35.102 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:22:05.103 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:22:30.339 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:22:40.805 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:23:15.814 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:23:45.815 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:24:15.815 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:24:48.661 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:25:06.673 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:25:41.681 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:26:46.689 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:27:11.685 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:27:41.686 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:28:11.687 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:29:16.023 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14 2024-04-19 22:29:18.902 WARNING (SyncWorker_13) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Set miot property {'did': '782528345', 'siid': 2, 'piid': 2, 'value': 52} failed: Unable to discover the device 192.168.3.172 2024-04-19 22:29:20.672 WARNING (SyncWorker_44) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Set miot property {'did': '782528345', 'siid': 2, 'piid': 3, 'value': 3509} failed: Unable to discover the device 192.168.3.172 2024-04-19 22:29:24.910 ERROR (MainThread) [custom_components.xiaomi_miot.light] 台灯(xiaomi.light.lamp31): Got MiioException while fetching the state: Unable to discover the device 192.168.3.172, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color_temperature': {'siid': 2, 'piid': 3}, 'light.default_power_on_state': {'siid': 2, 'piid': 12}, 'light.light_on_gradient_time': {'siid': 2, 'piid': 13}, 'light.light_off_gradient_time': {'siid': 2, 'piid': 14}, 'light.mode': {'siid': 2, 'piid': 15}, 'focus_mode.on': {'siid': 5, 'piid': 1}, 'focus_mode.focus_time': {'siid': 5, 'piid': 2}, 'focus_mode.rest_time': {'siid': 5, 'piid': 3}, 'focus_mode.recycle_number': {'siid': 5, 'piid': 4}, 'delay': {'siid': 4, 'piid': 1}, 'delay.delay_time': {'siid': 4, 'piid': 2}, 'delay.delay_remain_time': {'siid': 4, 'piid': 3}}, max_properties: 7/14
home-assistant_2024-04-19T14-29-52.050Z.log
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Device model / 设备型号
xiaomi.light.lamp31
Component version / 插件版本
0.7.17
HA core version / HA版本
2024.4.3
Integrated mode / 集成方式
Local (本地模式)
The problem / 问题详情
小米台灯2本地模式接入,设备刚加入时,开始工作正常(包括开关、调节色温、调节亮度等),过一段时间后设备状态改为不可用,日志报错。同时米家中显示设备离线,灯断电后重新上电,米家中显示设备在线,但无法操控。
Entity attributes / 实体属性
实体:light.xiaomi_lamp31_f8fa_light
状态:unavailable
属性:
Home Assistant Logs / 系统日志
home-assistant_2024-04-19T14-29-52.050Z.log
The text was updated successfully, but these errors were encountered: