lazcad / homeassistant

Home Assistant Development
249 stars 83 forks source link

Adds option to bind to specific interface #4

Closed kirichkov closed 7 years ago

kirichkov commented 7 years ago

Discovery doesn't work if the hub is on a vlan interface. This adds the option to manually specify the IP on which to send/listen for discovery packets.

kirichkov commented 7 years ago

This prepares the options for the socket - i.e. Bind to the set multicast address on which to receive and bind the socket to listen on all interfaces, which by the way doesn't work with multicast packets.

I think @lazcad should be able to give a more comprehensive answer.