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

Running the API on Windows 10 with/without docker #90

Open
code-in-progress opened this issue Feb 23, 2018 · 1 comment
Open

Running the API on Windows 10 with/without docker #90

code-in-progress opened this issue Feb 23, 2018 · 1 comment

Comments

@code-in-progress
Copy link

Hey gang,

So, over in the Smartthings community, we have a number of members that are trying to get this running using a straight node.js approach on Windows 10. We have one member that managed to get it running on a Win8.1 Pro machine, but no one on Win10 has been able to get it past the "Starting Discovery" phrase. Even with the firewall turned off, it still refuses to get past the initial discovery phase.

I'm wondering if anyone has been able to get this successfully running on a Windows 10 machine and if so, how?

@pdlove
Copy link

pdlove commented Mar 1, 2018

I had issues with the UDP broadcast not working properly. To resolve this I had to specify my broadcast address in the code. I'll see about a more elegant solution to this later. when harmonyHubDiscover is initialized, put your broadcast address in an object on the second parameter. In my case, my router is 192.168.1.1 with a subnet of 255.255.255.0 so my broadcast address is 192.168.1.255

var discover = new harmonyHubDiscover(61991)

App.js Line 56 was changed to this:
var discover = new harmonyHubDiscover(61991, {address: '192.168.1.255'})

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

2 participants