Liver64 / LoxBerry-Sonos

LoxBerry Plugin to control Sonos
11 stars 10 forks source link

Use second adapter to scan for sonos systems #32

Closed HannesG79 closed 3 years ago

HannesG79 commented 3 years ago

I have a loxberry with 2 nics to separate the sonos from the "control" network. in ifconfig i have to interfaces 1) 192.168.1.0/24 with default gateway (default adapter of loxberry) 2) 192.168.2.0/24 no default gateway (this is the range of the sonos) the plugin only scans the network 192.168.1.0/24 (multicasts)

is it possible to add a funktion to use the second adapter as well

Liver64 commented 3 years ago

If it doesn‘t find any devices normally a broadcast scan will be executed

Liver64 commented 3 years ago

in v3.9.8 you can amend IP-adresses