-
Notifications
You must be signed in to change notification settings - Fork 50
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
Pass options to Discover #117
base: master
Are you sure you want to change the base?
Pass options to Discover #117
Conversation
This enables passing options to harmonyhubjs-discover's Discover constructor. This closes KraigM#105. For systems with multiple interfaces, using the default broadcast address of 255.255.255.255 will not give consistent results. Instead, you need to pass the appropriate broadcast address for the network you're addressing, like 192.168.1.255 for the network 192.168.1.0/24. This PR requires swissmanu/harmonyhubjs-discover#8 to be merged and released.
With the release of harmonyhubjs-discover 1.1.1, this pull request should now be complete. |
can this get committed ? i have separate network for IoT. |
tried manually adding code above, but it still won't see my hubs sitting in the separate VLAN. any ideas?
|
That config snippet looks just fine. This looks identical to my running config. |
|
i can ping them too
|
@stblassitude it seems to parsing the object ok
|
Seconding this merge request - I also operate a separate IoT VLAN and being able to pass discovery address would be really helpful. |
This enables passing options to harmonyhubjs-discover's Discover
constructor.
This closes #105.
For systems with multiple interfaces, using the default broadcast
address of 255.255.255.255 will not give consistent results. Instead,
you need to pass the appropriate broadcast address for the network
you're addressing, like 192.168.1.255 for the network 192.168.1.0/24.
This PR requires swissmanu/harmonyhubjs-discover#8 to be merged and
released.
(Atom fixed the whitespace problems automatically. If you prefer, I can roll those back.)