dotsam / homebridge-milight

MiLight/LimitlessLED/Easybulb Plugin for Homebridge
MIT License
63 stars 12 forks source link

No response timeout #81

Open bwalls opened 1 year ago

bwalls commented 1 year ago

I have a Mi-Light iBox 1 that used to work great with homebridge. It still works to control all the light strips through the iPhone app, but it no longer responds to homebridge. I have the correct IP address, and can access the hub's web front end through a browser. But in the homebridge log, I see:

[28/01/2023, 15:39:35] Loaded plugin: homebridge-milight@1.1.6 [28/01/2023, 15:39:35] Registering platform 'homebridge-milight.MiLight' [28/01/2023, 15:39:40] [MiLight] Initializing MiLight platform... [28/01/2023, 15:39:49] [MiLight] [192.168.1.131] no response timeout

and when I try to control one of the lights in the Home app, I get:

[28/01/2023, 16:48:08] [MiLight] [bridge] Setting power state to on [28/01/2023, 16:48:08] [MiLight] [bridge] Setting brightness to 44 Unhandled rejection Error: no response timeout at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-milight/node_modules/node-milight-promise/src/milight-v6-mixin.js:128:26) at listOnTimeout (node:internal/timers:564:17) at processTimers (node:internal/timers:507:7) Unhandled rejection Error: no response timeout at Timeout._onTimeout (/usr/local/lib/node_modules/homebridge-milight/node_modules/node-milight-promise/src/milight-v6-mixin.js:128:26) at listOnTimeout (node:internal/timers:564:17) at processTimers (node:internal/timers:507:7)

My relevant config is as follows: { "platform": "MiLight", "name": "MiLight", "bridges": [ { "ip_address": "192.168.1.131", "version": "v6", "lights": { "rgbw": [ "TV Backlight", "Deck Main", "Deck Side", "iMac Backlight" ], "bridge": [ "bridge" ] }, "repeat": 3, "delay": 100 } ] },

and I tried setting the port to 8899. Any hints to make it work again?