dotsam / homebridge-milight

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

Getting "no response timeout" #63

Open Zer0x00 opened 5 years ago

Zer0x00 commented 5 years ago

Hello, I'm using iBox2 ( https://www.amazon.com/Controller-iBox2-Wireless-Smartphone-Downlight/dp/B01N7C3HXQ ) to remote control RGB+CCT (FUT103) lamps. The app works fine, but can't use this module.

Before doing anything just by starting homebridge (using homebridge in Debug Mode) I'm getting this error:

[9/21/2019, 5:09:51 PM] [MiLight] [192.168.0.101:8899] no response timeout

When I try to change a lamp on I'm getting the following output / error:

  EventedHTTPServer [::ffff:192.168.0.227] HTTP request: /characteristics +4s
  HAPServer [CC:22:3D:E3:CE:31] HAP Request: PUT /characteristics +0ms
  Accessory [Homebridge-Dev] Processing characteristic set: [{"aid":2,"iid":10,"value":1}] +2ms
  Accessory [Homebridge-Dev] Setting Characteristic "On" to value 1 +0ms
[9/21/2019, 5:14:56 PM] [MiLight] [Wohnzimmer] Setting power state to on
  EventedHTTPServer [::ffff:192.168.0.227] Muting event '2.10' notification for this connection since it originated here. +4ms
  EventedHTTPServer [::ffff:192.168.0.227] HTTP Response is finished +1ms
Unhandled rejection Error: no response timeout
    at Timeout._onTimeout (/root/node_modules/node-milight-promise/src/milight-v6-mixin.js:128:26)
    at ontimeout (timers.js:436:11)
    at tryOnTimeout (timers.js:300:5)
    at listOnTimeout (timers.js:263:5)
    at Timer.processTimers (timers.js:223:10)

Here's my config.json:

{
  "bridge": {
    "name": "Homebridge-Dev",
    "username": "CC:22:3D:E3:CE:31",
    "port": 51827,
    "pin": "031-45-155"
  },
    "plugins": [
        "homebridge-milight"
    ],
    "platforms": [
        {
            "platform": "MiLight",
            "name": "MiLight",
            "bridges": [
                {
                    "ip_address": "192.168.0.101",
                    "port": "8899",
                    "version": "v6",
                    "use8Zone": true,
                    "lights": {
                        "fullColor": [
                            "Wohnzimmer",
                            "Test"
                        ]
                    },
                    "repeat": 1,
                    "delay": 100
                }
            ]
        }
    ]
}

node-milight-promise\src\example-8zone-v6.js is working fine.