Comments (1)
Just so I understand correctly, the Raspberry and the Sonos players are on the same side of the VPN, the Raspberry just acts as VPN server for remote clients (or is a VPN client to a remote VPN server)? This means that when the VPN is active, the Raspberry has two different IP addresses.
On startup, homebridge-zp retrieves the IP address of the local machine. When subscribing to the Sonos players to receive state change notifications, homebridge-zp specifies its own IP address in the callback URL.
With help of Murphy, it (or rather the network core of NodeJS) homebridge-zp probably picks the wrong one when the VPN is active. You can verify that running homebridge -D
, see https://github.com/ebaauw/homebridge-zp#troubleshooting. Because of this, it wouldn't receive any notifications from any Sonos player. You can force the right IP address in config.json, using the host
key, see https://github.com/ebaauw/homebridge-zp#configuration.
Not sure if that's actually the issue you're facing. Before setting up the subscriptions, homebridge-zp need to discover the Sonos players. This is done through UPnP. I haven't seen any issues with this on multi-homed hosts, but I'm not sure there aren't any. I still use the sonos
library for discovery. If specifying host
in config.json doesn't help, could you please run homebridge -D
(when the VPN is active) and attach (not: cut/paste) the debug out here, see https://github.com/ebaauw/homebridge-hue#debug-log-file.
from homebridge-zp.
Related Issues (20)
- Siri thinks the speakers are lights HOT 4
- Allow settings-only mode HOT 1
- Warning errors HOT 1
- Remaining Duration error messages HOT 1
- Homebridge -zp HOT 5
- HomeBridge Login Issues
- Input Enhancement HOT 1
- Ghost Sonos speakers appearing - advise please HOT 12
- Enhancement: Only allow TV input in supported rooms HOT 12
- Speakers show as Not Supported HOT 1
- Smart Speaker service
- TypeError: Cannot read properties of undefined (reading 'zoneGroupShortName') HOT 5
- Feature Request: Implementation of a TV Level to adjust surround sound level HOT 18
- SyntaxError: init() not yet called HOT 2
- Sonos Speakers Not Supported HOT 1
- How to start with Radio xyz? HOT 3
- Problem Sonos S1 HOT 1
- Use mDNS announcements
- Using homebridge-zp with Node 21 and Homebridge 18 - warnings and no zones detected HOT 2
- http status 412 Precondition Failed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-zp.