You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, thanks for your efforts to make this Controller. I tried to make it work with the esp-8266milight-hub but without any success yet. When I first start the software (Win10) IP and port are found, the WebUI opens and I get an error "create a bridge" and "no bridge found in network" in the settings page. Forcing the IP via debug mode also doesnt work.
Any tips to make this work? Would be a helpful addition to the hub if this would run.
Thanks
Kelvin
Attached the CLI output:
---------------------------
Starting MiLight Controller
---------------------------
saved settings.json
IP Address of http server:- 192.168.1.37:8000
Host Name:- X260
requested: /, RequestMethod: GET, RequestBody:
set the response to site
Content-Type: text/html, uft-8: true
############################################
requested: /css/custom.css, RequestMethod: GET, RequestBody:
set the response to customCSS
Content-Type: text/css, uft-8: true
############################################
requested: /js/custom.js, RequestMethod: GET, RequestBody:
set the response to custom.js
Content-Type: text/javascript, uft-8: true
############################################
requested: /settings.json, RequestMethod: GET, RequestBody:
return set to settings.json
{
"possibleBridgeIpAddresses": [],
"bridgePort": 5987,
"openBrowserOnStart": true,
"sensitivity": 1,
"possibleTargetDataLines": [
"Primõrer Soundaufnahmetreiber",
"Mikrofonarray (Realtek High Def",
"VoiceMeeter Output (VB-Audio Vo",
"Kopfh÷rer (Teufel ROCKSTER Cros"
],
"bridgeIpAddress": "",
"beatCooldown": 120,
"activeTargetDataLine": "none",
"clientSettings": {
"customColors": [
{
"hsl": {
"s": 100,
"h": 0,
"l": 50
},
"hex": "#ff0000"
},
{
"hsl": {
"s": 100,
"h": 240,
"l": 50
},
"hex": "#0000ff"
},
{
"hsl": {
"s": 100,
"h": 108,
"l": 50
},
"hex": "#33ff00"
},
{
"hsl": {
"s": 100,
"h": 35,
"l": 50
},
"hex": "#ff9500"
},
{
"hsl": {
"s": 100,
"h": 15,
"l": 50
},
"hex": "#ff4000"
},
{
"hsl": {
"s": 100,
"h": 274,
"l": 50
},
"hex": "#9000ff"
}
],
"debugMode": false
}
}
Content-Type: application/json, uft-8: false
############################################
requested: /favicon.ico, RequestMethod: GET, RequestBody:
return empty String. No favicon.ico right now
Content-Type: image/vnd.microsoft.icon, uft-8: true
############################################
requested: /command, RequestMethod: POST, RequestBody: command=setColorTo:36&zones=0,0,0,0
request recognised as command
Content-Type: text/plain, uft-8: true
############################################
requested: /command, RequestMethod: POST, RequestBody: command=setColorTo:20&zones=0,0,0,0
request recognised as command
Content-Type: text/plain, uft-8: true
############################################
requested: /command, RequestMethod: POST, RequestBody: command=setColorTo:37&zones=0,0,0,0
request recognised as command
Content-Type: text/plain, uft-8: true
############################################
requested: /command, RequestMethod: POST, RequestBody: command=setColorTo:23&zones=0,0,0,0
request recognised as command
Content-Type: text/plain, uft-8: true
############################################
requested: /command, RequestMethod: POST, RequestBody: command=setColorTo:21&zones=0,0,0,0
request recognised as command
Content-Type: text/plain, uft-8: true
############################################
requested: /command, RequestMethod: POST, RequestBody: command=setColorTo:35&zones=0,0,0,0
request recognised as command
Content-Type: text/plain, uft-8: true
############################################
requested: /command, RequestMethod: POST, RequestBody: command=setColorTo:40&zones=0,0,0,0
request recognised as command
Content-Type: text/plain, uft-8: true
############################################
requested: /applySettings, RequestMethod: POST, RequestBody: {"possibleBridgeIpAddresses":[],"bridgePort":5987,"openBrowserOnStart":true,"sensitivity":1,"possibleTargetDataLines":["Primõrer Soundaufnahmetreiber","Mikrofonarray (Realtek High Def","VoiceMeeter Output (VB-Audio Vo","Kopfh÷rer (Teufel ROCKSTER Cros"],"bridgeIpAddress":"192.168.1.185","beatCooldown":120,"activeTargetDataLine":"none","clientSettings":{"customColors":[{"hsl":{"s":100,"h":0,"l":50},"hex":"#ff0000"},{"hsl":{"s":100,"h":240,"l":50},"hex":"#0000ff"},{"hsl":{"s":100,"h":108,"l":50},"hex":"#33ff00"},{"hsl":{"s":100,"h":35,"l":50},"hex":"#ff9500"},{"hsl":{"s":100,"h":15,"l":50},"hex":"#ff4000"},{"hsl":{"s":100,"h":274,"l":50},"hex":"#9000ff"}],"debugMode":true}}
WARNING: invalid TargetDataLine
saved settings.json
Initializing Bridge at /192.168.1.185:5987
## Starting a new session ##
attempting to send: [20, 00, 00, 00, 16, 02, 62, 3A, D5, ED, A3, 01, AE, 08, 2D, 46, 61, 41, A7, F6, DC, AF, 00, 00, 00, 00, 1E] (length=27)
SocketTimeoutException: receiving a message failed. Timeout: 800
### Failed to receive answer from bridge. Attempt: 1 of: 10 ###
attempting to send: [20, 00, 00, 00, 16, 02, 62, 3A, D5, ED, A3, 01, AE, 08, 2D, 46, 61, 41, A7, F6, DC, AF, 00, 00, 00, 00, 1E] (length=27)
SocketTimeoutException: receiving a message failed. Timeout: 800
### Failed to receive answer from bridge. Attempt: 2 of: 10 ###
The text was updated successfully, but these errors were encountered:
Hey Kelvin,
thanks for your interest in the project. It seems like the controller is unable to get a response from the Bridge (in this case your hub) when trying to establish a new session.
I've taken a look into esp8266_milight_hub. Have you added a UDP gateway in the hub? If not, take a look at the section UDP Gateways in their README and add a version 5 gateway.
Let me know if you have already done this, or if it fixed the problem.
It also seems like you might encounter a problem regarding the selection of audio inputs. If you get an error or the selected Audio input for the music visualizer does not correctly save/work, feel free to create a new issue (including which browser you're using).
Best regards
Alex
Edit:
You can either use the default MiLight bridge v5 port 5987 or use another one and also change it in this controller (Settings -> Bridge Port).
Hi there, thanks for your efforts to make this Controller. I tried to make it work with the esp-8266milight-hub but without any success yet. When I first start the software (Win10) IP and port are found, the WebUI opens and I get an error "create a bridge" and "no bridge found in network" in the settings page. Forcing the IP via debug mode also doesnt work.
Any tips to make this work? Would be a helpful addition to the hub if this would run.
Thanks
Kelvin
Attached the CLI output:
The text was updated successfully, but these errors were encountered: