-
Notifications
You must be signed in to change notification settings - Fork 12
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 when discovery is enabled #17
Comments
Hi. Sorry, i was typing the above on my mobile. I am now at a computer so have included my config file below When i change "disableDiscovery" to false, this is when i have the error above. { |
Are you working on windows? I fixed it by changing
in the |
I'm also on windows and changed the line in lightAgent.js but now am getting this error: |
Nevermind, got it working. Great plugin |
Thank you @FeBe95 . I was able to edit the lightAgent.js file on my Windows 10 machine and Homebridge now launches without having to set the disableDiscovery to false. |
Sorry, i know this is almost a year later, but what did you do to fix that error? |
sorry for digging this but what did you do to solve that issue? |
How did you fix this error, I am getting the same error |
Hi.
With discovery enabled I am getting the below error. When I disable discovery the plugin works fine
2019-1-29 20:01:44] [MagicHome-Platform] Discovering Devices Error: spawn UNKNOWN at _errnoException (util.js:1022:11) at ChildProcess.spawn (internal/child_process.js:323:11) at exports.spawn (child_process.js:502:9) at LightAgent.getDevices (C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge-magichome-platform\src\lib\lightAgent.js:143:17) at LightAgent.startDiscovery (C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge-magichome-platform\src\lib\lightAgent.js:68:12) at new MagicHome (C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge-magichome-platform\src\magichome.js:37:14) at Server._loadPlatforms (C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge\lib\server.js:326:32) at Server.run (C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge\lib\server.js:86:36) at module.exports (C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge\lib\cli.js:45:10) at Object. (C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge\bin\homebridge:17:22) �
Any advice would be appreciated
Thanks
The text was updated successfully, but these errors were encountered: