Hello,
I am running the hueemulator on a raspberry pi, working with a bunch of milights (RGB-CCT, 4 zones), controlled through the ESP-Milight-Hub project.
I have added paired the hub to the Hue app and can turn the lights on/off without issue. However, the lights consistently go in/out of an unreachable state every 5-10 seconds and occasionally, some lights just turn off for no reason. Even if a light is listed as unreachable, it appears I can still issue on/off commands. Additionally, if I try to use any entertainment apps like Light DJ, etc. they appear to work for a few seconds but then, once the hub lists the light as unreachable, they stop working.
Has anybody seen anything like this or have any ideas where to start troubleshooting?
Logs: https://pastebin.com/zcE2mDsc
Dec 30 07:13:36 raspberrypi HueEmulator3.py[1615]: WARNING:root:MiLight rgb_cct 0x2975 is unreachable: HTTPConnectionPool(host=‘http’, port=80): Max retries exceeded with url: //192.168.50.56/gateways/0x2975/rgb_cct/1 (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7554c7b0>: Failed to establish a new connection: [Errno -2] Name or service not known’))
Dec 30 07:13:36 raspberrypi HueEmulator3.py[1615]: WARNING:root:MiLight rgb_cct 0x2975 is unreachable: ‘hue’
Dec 30 07:13:36 raspberrypi HueEmulator3.py[1615]: WARNING:root:Zone 2 is unreachable: ‘hue’
Dec 30 07:13:36 raspberrypi HueEmulator3.py[1615]: WARNING:root:Zone1 is unreachable: ‘hue’
Dec 30 07:13:36 raspberrypi HueEmulator3.py[1615]: WARNING:root:Zone 3 is unreachable: ‘hue’
Dec 30 07:13:36 raspberrypi HueEmulator3.py[1615]: WARNING:root:Zone 4 is unreachable: ‘hue’
Dec 30 07:13:47 raspberrypi HueEmulator3.py[1615]: 192.168.50.126 - - [30/Dec/2020 07:13:36] “GET /api/4d8c053c48d211eb8a12b827eb39bc0f/lights HTTP/1.1” 200 -
Dec 30 07:13:47 raspberrypi HueEmulator3.py[1615]: 192.168.50.126 - - [30/Dec/2020 07:13:36] “GET /api/4d8c053c48d211eb8a12b827eb39bc0f/groups HTTP/1.1” 200 -
Dec 30 07:13:47 raspberrypi HueEmulator3.py[1615]: 192.168.50.126 - - [30/Dec/2020 07:13:39] “GET /api/4d8c053c48d211eb8a12b827eb39bc0f/lights HTTP/1.1” 200 -