kovalev-sergey / homebridge-sony-audio

HomeKit integration for Sony Audio products
Apache License 2.0
14 stars 0 forks source link

Explicitly adding the device by IP address or hostname without SSDP? #27

Open sakamoto-poteko opened 2 years ago

sakamoto-poteko commented 2 years ago

My audio device is in a different L2 network from my homebridge instance, but it's reachable L3. SSDP doesn't seem to work in this case. Is there any way to add a device manually by IP?

Logs:

N/A

Plugin Config:

<default>

Screenshots:

Environment:

kovalev-sergey commented 2 years ago

Hey @sakamoto-poteko Unfortunately, this is not possible, because SSDP not only searches for the IP address of the device, but also requests its basic characteristics, which are required for the plugin to work. Alternatively, you can add the IP address of the second subnet to the homebridge instance

sakamoto-poteko commented 2 years ago

Alternatively, you can add the IP address of the second subnet to the homebridge instance

I've tried this but it doesn't seem to work. The problem lies in node-ssdp. It seems that it's sending discovery packets from only one interface. I'll see if there's any node-ssdp configuration helps.

kovalev-sergey commented 2 years ago

Try it config via network interface settings in the hombridge

Sergey

On 11 Jun 2022, at 12:21, 坂本ポテコ @.***> wrote:

 Alternatively, you can add the IP address of the second subnet to the homebridge instance

I've tried this but it doesn't seem to work. The problem lies in node-ssdp. It seems that it's sending discovery packets from only one interface. I'll see if there's any node-ssdp configuration helps.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.