-
Notifications
You must be signed in to change notification settings - Fork 42
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
Error: Unable to parse color from string: rgb(192,168,0,73,238,210,54) #47
Comments
I'm having the same exact issue... if anyone can help please do! Btw, in the ''ip'' section am I supposed to type in the IP of the LED-controller? Because that's what I have been doing. |
Yes, there should be the IP of the led controller. |
Make sure the IP address on your controller never change in your router. |
If have RGB controller setup as RGBW and purewhite to false, if have RGBW controller setup as RGBW and purewhite to true. |
I’ve tried all the possible combinations: RGB - pure white false/true; RGBW - pure white false/true; RGBWW - pure white false/true; also the IP of the controller is fixed. I tried also to reset the router. The controller works very well from Magic Home Pro app. |
Do you have homebridge-magichome2 installed? I got mine working by deleting homebridge-magichome2 and installing only homebridge-magichome. Here is my config.json:
} |
Yes, I have magichome2 installed. I’ll try to uninstall magichome2 and install magichome. |
Finally, after I removed magichome2 and install magichome, I managed to make it work. Setup: RGBW, pure white: false. |
Hello,
I am getting this error while I run homebridge and homebridge closes.
/usr/local/lib/node_modules/homebridge-magichome2/node_modules/color/index.js:53
throw new Error('Unable to parse color from string: ' + obj);
^
Error: Unable to parse color from string: rgb(192,168,0,73,238,210,54)
at new Color (/usr/local/lib/node_modules/homebridge-magichome2/node_modules/color/index.js:53:10)
at Color (/usr/local/lib/node_modules/homebridge-magichome2/node_modules/color/index.js:28:10)
at /usr/local/lib/node_modules/homebridge-magichome2/index.js:93:30
at ChildProcess.exithandler (child_process.js:267:7)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:557:12)
My config file looks like this:
{
"accessory": "MagicHome",
"name": "TV Lights",
"ip": "192.168.0.73",
"setup": "RGBW",
"purewhite": false
}
I am using this led controller:
What could be the problem?
I tried also as setup: RGB, RGBW, RGBWW and none of them works.
The text was updated successfully, but these errors were encountered: