mwittig / node-milight-promise

A node module to control Milight LED bulbs and OEM equivalents such as Rocket LED, Limitless LED Applamp, Easybulb, s`luce, iLight, iBulb, and Kreuzer
MIT License
114 stars 27 forks source link

Unable to connect to Milight YT1 #71

Open thilomaurer opened 4 years ago

thilomaurer commented 4 years ago

I am unable to control a Mi-Light YT1 bridge.

What I know:

I tried to run the following examples, no success

[tmaurer@host node-milight-promise]$ curl 192.168.178.22
<HTML><HEAD><TITLE>401 Unauthorized</TITLE></HEAD>
<BODY BGCOLOR="#cc9999"><H4>401 Unauthorized</H4>
Authorization required.
</BODY></HTML>

[tmaurer@host node-milight-promise]$ node examples/discover-bridges
[]

[tmaurer@host node-milight-promise]$ node examples/discover-bridges-v6
[]

[tmaurer@host node-milight-promise]$ grep ip: examples/example*
examples/example-8zone-v6.js:    ip: "192.168.178.22",
examples/example-bridge-v6.js:    ip: "192.168.178.22",
examples/example-dual-white.js:        ip: "192.168.178.22",
examples/example-dual-white-v6.js:    ip: "192.168.178.22",
examples/example-full-colour-interleaved.js:    ip: "192.168.178.22",
examples/example-full-colour-interleaved.js:  ip: "192.168.178.22",
examples/example-full-colour.js:    ip: "192.168.178.22",
examples/example-full-colour-link.js:    ip: "192.168.178.22",
examples/example-rgbw.js:        ip: "192.168.178.22",
examples/example-rgbw-v6.js:    ip: "192.168.178.22",

[tmaurer@host node-milight-promise]$ node examples/example-8zone-v6.js 
Error: no response timeout
    at Timeout._onTimeout (/home/tmaurer/tmp/ml/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)
[tmaurer@host node-milight-promise]$ node examples/example-8zone-v6.js 
Error: no response timeout
    at Timeout._onTimeout (/home/tmaurer/tmp/ml/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)

[tmaurer@host node-milight-promise]$ node examples/example-bridge-v6.js 
Error: no response timeout
    at Timeout._onTimeout (/home/tmaurer/tmp/ml/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)

[tmaurer@host node-milight-promise]$ node examples/example-dual-white-v6.js 
Error: no response timeout
    at Timeout._onTimeout (/home/tmaurer/tmp/ml/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)
[tmaurer@host node-milight-promise]$ node examples/example-dual-white.js 
Invocation of asynchronous Milight commands done
All command have been executed - closing Milight

[tmaurer@host node-milight-promise]$ node examples/example-full-colour-interleaved.js 
Error: no response timeout
    at Timeout._onTimeout (/home/tmaurer/tmp/ml/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)

[tmaurer@host node-milight-promise]$ node examples/example-full-colour.js 
Error: no response timeout
    at Timeout._onTimeout (/home/tmaurer/tmp/ml/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)

[tmaurer@host node-milight-promise]$ node examples/example-full-colour-link.js 
Invocation of asynchronous Milight commands done
All command have been executed - closing Milight
Unhandled rejection Error: no response timeout
    at Timeout._onTimeout (/home/tmaurer/tmp/ml/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)

Unhandled rejection Error: no response timeout
    at Timeout._onTimeout (/home/tmaurer/tmp/ml/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)

Unhandled rejection Error: no response timeout
    at Timeout._onTimeout (/home/tmaurer/tmp/ml/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)

[tmaurer@host node-milight-promise]$ node examples/example-rgbw.js 
Invocation of asynchronous Milight commands done
All command have been executed - closing Milight

[tmaurer@host node-milight-promise]$ node examples/example-rgbw-v6
Error: no response timeout
    at Timeout._onTimeout (/home/tmaurer/tmp/ml/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)