Hey, I’m using light yeelight component for my Mi Bedside Lamp (WiFi version), but after some time it becomes unavailable and I cannot use it.
In logs it appears, that lamp is not connected to wifi, but I’m sure it is. Lamp is located right next to my wifi router and yes, 192.168.0.155 is locked as static IP in router settings.
2018-06-12 09:42:18 ERROR (SyncWorker_17) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:42:18 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:42:25 ERROR (MainThread) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-06-12 09:42:53 ERROR (SyncWorker_7) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:42:53 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:43:24 ERROR (SyncWorker_0) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:43:24 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:43:55 ERROR (SyncWorker_13) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:43:55 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:44:26 ERROR (SyncWorker_18) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:44:26 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:44:50 ERROR (SyncWorker_3) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:44:50 ERROR (SyncWorker_5) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:44:52 ERROR (SyncWorker_15) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:44:54 ERROR (SyncWorker_17) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:44:54 ERROR (SyncWorker_18) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:44:57 ERROR (SyncWorker_10) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:44:57 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:45:28 ERROR (SyncWorker_19) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:45:28 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:45:59 ERROR (SyncWorker_15) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:45:59 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:46:22 ERROR (SyncWorker_8) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_rgb at 0x73ce5fa8>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:46:22 ERROR (SyncWorker_16) [homeassistant.components.light.yeelight] Unable to update bulb status: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:46:22 ERROR (SyncWorker_6) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_rgb at 0x73ce5fa8>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:46:22 ERROR (SyncWorker_18) [homeassistant.components.light.yeelight] Unable to update bulb status: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:46:22 ERROR (SyncWorker_11) [homeassistant.components.light.yeelight] Unable to update bulb status: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:46:22 ERROR (SyncWorker_2) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:46:23 ERROR (SyncWorker_14) [homeassistant.components.light.yeelight] Unable to update bulb status: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:46:23 ERROR (SyncWorker_0) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:46:23 ERROR (SyncWorker_4) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:46:23 ERROR (SyncWorker_3) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:46:23 ERROR (SyncWorker_16) [homeassistant.components.light.yeelight] Unable to turn the bulb on: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:46:24 ERROR (SyncWorker_18) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:46:24 ERROR (SyncWorker_17) [homeassistant.components.light.yeelight] Unable to update bulb status: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:46:30 ERROR (SyncWorker_19) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:46:30 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:47:01 ERROR (SyncWorker_15) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:47:01 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:47:05 ERROR (SyncWorker_11) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:47:32 ERROR (SyncWorker_11) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:47:32 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:48:03 ERROR (SyncWorker_14) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:48:03 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:48:34 ERROR (SyncWorker_2) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:48:34 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:49:05 ERROR (SyncWorker_1) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:49:05 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:49:19 ERROR (SyncWorker_6) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:22 ERROR (SyncWorker_7) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:23 ERROR (SyncWorker_8) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:25 ERROR (SyncWorker_16) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:36 ERROR (SyncWorker_9) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:49:36 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104
2018-06-12 09:49:53 ERROR (SyncWorker_2) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:54 ERROR (SyncWorker_0) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:54 ERROR (SyncWorker_7) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:55 ERROR (SyncWorker_8) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:55 ERROR (SyncWorker_16) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:56 ERROR (SyncWorker_18) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:56 ERROR (SyncWorker_6) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:56 ERROR (SyncWorker_17) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:57 ERROR (SyncWorker_12) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:58 ERROR (SyncWorker_13) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -5000, ‘message’: ‘general error’}
2018-06-12 09:49:58 ERROR (SyncWorker_2) [homeassistant.components.light.yeelight] Error when calling <function YeelightLight.set_default at 0x73ce8108>: {‘code’: -1, ‘message’: ‘client quota exceeded’}
2018-06-12 09:49:58 ERROR (SyncWorker_4) [homeassistant.components.light.yeelight] Unable to update bulb status: {‘code’: -1, ‘message’: ‘client quota exceeded’}
2018-06-12 09:50:07 ERROR (SyncWorker_8) [miio.device] Unable to discover a device at address 192.168.0.104
2018-06-12 09:50:07 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Unable to discover the device 192.168.0.104