Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "no response timeout" #63

Open
Zer0x00 opened this issue Sep 21, 2019 · 0 comments
Open

Getting "no response timeout" #63

Zer0x00 opened this issue Sep 21, 2019 · 0 comments

Comments

@Zer0x00
Copy link

Zer0x00 commented Sep 21, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant