How to have homebridge listen on multiple network interfaces?
See original GitHub issueDescribe Your Problem:
I have most of my IOT devices on a separate ‘guest’ WiFi (192.168.1.X) and just 2 on my main WiFi + wired network (192.168.1.Y) . Homebridge is running on a raspberry pi 4 and the raspberry pi 4’s eth0 is connected to the main network and wlan0/WiFi is connected to the guest network. Right now Homebridge listens only on eth0 and doesn’t see most of my devices. How do I configure Homebridge to use both network interfaces (to work with devices on both networks) ?
Homebridge Config:
{
"bridge": {
"name": "Homebridge <snip for privacy>",
"username": "<snip for privacy>",
"port": 51620,
"pin": "<snip for privacy>"
},
"accessories": [
<snip for privacy>
],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
<snip for privacy>
]
}
Environment:
HomeBridge v1.1.1 Node.js Version v12.18.2, Npm Version v6.14.6 Operating System**: Raspbian GNU/Linux 10 (buster) Process Supervisor**: hb-service
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
I need help with changing the default network interface - Reddit
You can test this by making sure you can access the Homebridge UI from another local device, and making sure you can pair...
Read more >5 Tips That Will Make You a Homebridge Pro - YouTube
In this video I'll give you 5 Essential tips that you NEED to do after ... What You'll Need 01:41 - Tip 1...
Read more >homebridge-nilan - npm
Nilan Homebridge Plugin. This plugin enables Apple HomeKit support for certain Nilan devices via Homebridge. NPM Version Build and Lint.
Read more >Homebridge server and smarthome devices on VLANs
We run a Homebridge server on the main LAN network 192.168.1.0/24 ... will block all incoming connections that originate on a different network....
Read more >Bridge Network Interfaces on Ubuntu 22.04 | Christopher Hart
Linux hosts can bridge two network interfaces together such that they ... We can confirm that H1 and H2 do not have connectivity...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think, based on a chat I’ve had with @Supereg, at some point before 1.2.0 is released we will be allowing you to define which interface you want to listen on.
eg.
This will also accept an IP address too, for backwards compatablity with Homebridge < 1.0.0:
Just to have it updated. This feature was added in the 1.3.0 beta using the new
bridge.bind
config option.