Open AAfetisov opened 7 months ago
This has been happening to me for the past week or 2. I've tried reinstalling, fixing IPs, restarting everything, just routers, change to AP, return to router, reconfigure.
You must go to the integration and force "renew devices" and it works. Until a few hours later and everything is unavailable again.
mee too, i try to reserve ip but issue still persist
Issue still happening.
This one just happened to me with my Roidmi vacuum. Anyone any ideas ?
The device after 1 day without wifi will not be connected. Tried restart of HA, redownload at HACS, intergration reload but nothing helps. The device is at the same IP as before and has the same token. It will not connect to it.
Device model / 设备型号
dmaker.fan.1c
Component version / 插件版本
0.7.15
HA core version / HA版本
2024.1.3
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
devices I tested:
dmaker.fan.1c - Mi Smart Standing Fan 2 Lite yeelink.light.stripa - Yeelight LED Lightstrip 1S
problem:
If device has been plugged off from electricity or wifi for several hours(could happen during blackouts), it will remain forever Unavailable in Miot Auto when turned back on.
what I tried:
Tried Automatic and Local modes. Both affected. Didn't try Cloud mode. Tried Reloading Miot Auto integration. Does not help. Only clicking CONFIGURE on integration and then Submit with Force Renew option brings device back online.
maybe its all due to ip change when device comes back to wifi...
Entity attributes / 实体属性
min_color_temp_kelvin: 2702 max_color_temp_kelvin: 6493 min_mireds: 154 max_mireds: 370 supported_color_modes: brightness, color_temp, hs, onoff friendly_name: Yeelight LED Lightstrip 1S Light supported_features: 32
Home Assistant Logs / 系统日志
1
This error originated from a custom integration.
Logger: custom_components.xiaomi_miot.light Source: custom_components/xiaomi_miot/init.py:1418 Integration: Xiaomi Miot Auto (documentation, issues) First occurred: 13 January 2024 at 18:34:04 (3585 occurrences) Last logged: 20:23:14
Yeelight LED Lightstrip 1S(yeelink.light.stripa): Got MiioException while fetching the state: Unable to discover the device 192.168.1.35, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color': {'siid': 2, 'piid': 3}, 'light.color_temperature': {'siid': 2, 'piid': 4}}, max_properties: 2/4 Yeelight LED Lightstrip 1S(yeelink.light.stripa): Got MiioException while fetching the state: No response from the device, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color': {'siid': 2, 'piid': 3}, 'light.color_temperature': {'siid': 2, 'piid': 4}}, max_properties: 2/4 Yeelight LED Lightstrip 1S(yeelink.light.stripa): Got MiioException while fetching the state: [Errno 101] Network unreachable, mapping: {'light.on': {'siid': 2, 'piid': 1}, 'light.brightness': {'siid': 2, 'piid': 2}, 'light.color': {'siid': 2, 'piid': 3}, 'light.color_temperature': {'siid': 2, 'piid': 4}}, max_properties: 2/4
2
This error originated from a custom integration.
Logger: custom_components.xiaomi_miot.fan Source: custom_components/xiaomi_miot/init.py:1418 Integration: Xiaomi Miot Auto (documentation, issues) First occurred: 15 January 2024 at 00:52:11 (741 occurrences) Last logged: 19:05:39
Mi Smart Standing Fan 2 Lite(dmaker.fan.1c): Got MiioException while fetching the state: Unable to discover the device 192.168.1.36, mapping: {'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'fan.mode': {'siid': 2, 'piid': 7}, 'fan.off_delay_time': {'siid': 2, 'piid': 10}, 'fan.alarm': {'siid': 2, 'piid': 11}, 'fan.brightness': {'siid': 2, 'piid': 12}, 'physical_controls_locked': {'siid': 3, 'piid': 1}}, max_properties: 9/8 Mi Smart Standing Fan 2 Lite(dmaker.fan.1c): Got MiioException while fetching the state: [Errno 101] Network unreachable, mapping: {'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'fan.mode': {'siid': 2, 'piid': 7}, 'fan.off_delay_time': {'siid': 2, 'piid': 10}, 'fan.alarm': {'siid': 2, 'piid': 11}, 'fan.brightness': {'siid': 2, 'piid': 12}, 'physical_controls_locked': {'siid': 3, 'piid': 1}}, max_properties: 9/8 Mi Smart Standing Fan 2 Lite(dmaker.fan.1c): Got MiioException while fetching the state: Unable to discover the device 192.168.1.38, mapping: {'fan.on': {'siid': 2, 'piid': 1}, 'fan.fan_level': {'siid': 2, 'piid': 2}, 'fan.horizontal_swing': {'siid': 2, 'piid': 3}, 'fan.mode': {'siid': 2, 'piid': 7}, 'fan.off_delay_time': {'siid': 2, 'piid': 10}, 'fan.alarm': {'siid': 2, 'piid': 11}, 'fan.brightness': {'siid': 2, 'piid': 12}, 'physical_controls_locked': {'siid': 3, 'piid': 1}}, max_properties: 9/8