Comments (6)
from airsonos.
Hi @smoob32, could you paste the output of airsonos --diagnostics
? It seems like the https://github.com/bencevans/node-sonos package is detecting your devices multiple times.
In your system audio devices, does it also show up multiple times?
from airsonos.
@smoob32 - if you can still reproduce this, do both "devices" that show up work? or is it only one out of the two that works?
from airsonos.
(Closing for now, unless we can repro and this is causing some harm)
from airsonos.
I have this problem too, but when I run with --diagnostics
they only show up once.
A summary of the data:
› airsonos --diagnostics | grep "^Device"
Device {"host":"192.168.33.180","port":1400,"state":{}} (ZPS5)
Device {"host":"192.168.33.134","port":1400,"state":{}} (ZPS5)
Device {"host":"192.168.33.172","port":1400,"state":{}} (ZP120)
Device {"host":"192.168.33.59","port":1400,"state":{}} (ZPS5)
Device {"host":"192.168.33.178","port":1400,"state":{}} (ZPS5)
Device {"host":"192.168.33.53","port":1400,"state":{}} (ZPS5)
Device {"host":"192.168.33.149","port":1400,"state":{}} (ZP90)
Device {"host":"192.168.33.160","port":1400,"state":{}} (ZPS5)
What should I do to help debug this issue?
EDIT: I should add the output when running like normal:
› airsonos
Searching for Sonos devices on network...
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}
Setting up AirSonos for Gubbrummet {192.168.33.59:1400}
Setting up AirSonos for Lilla Köket {192.168.33.172:1400}
Setting up AirSonos for Hjärnkontoret {192.168.33.180:1400}
Setting up AirSonos for Loungen {192.168.33.149:1400}
Setting up AirSonos for Always Be Closin {192.168.33.134:1400}
Setting up AirSonos for Korvis {192.168.33.53:1400}
Setting up AirSonos for Plattformsrummet {192.168.33.160:1400}
from airsonos.
Seems like this could be the problem. In diagnostics.js
:12 you are using sonos.search
:
sonos.search(function(device, model) {
But in main.js
:29-30 you are calling sonos.LogicalDevices
:
sonos.LogicalDevice.search(function(err, devices) {
devices.forEach(function(device) {
from airsonos.
Related Issues (20)
- Multi-speaker sound sync HOT 1
- airsonos crashes after selecting a device in sound preferences HOT 5
- AirSonos + High Sierra HOT 40
- AirSonos not showing on High Sierra HOT 2
- Install issues running Sierra 10.12.6 HOT 1
- Error when running El Capitan 10.11.6 sonos v8.0 HOT 4
- Installation failed with newest node version HOT 6
- Stuck on setting up sonos (windows 10 lastest release) HOT 3
- After running 'airsonos' I can find my sonos but it isn't showing up in the Mac Os High Sierra audio output list HOT 4
- Sonos speakers not showing on iPhone with Airsonos on windows HOT 8
- Can I get the buffering duration of Sonos via Sonos API functions?
- Every restart duplicate speakers appear
- How to uninstall AirSonos? HOT 1
- Hanging on discovery HOT 1
- Feature request: AirPlay 2 compatibility for older Sonos products Play 1 HOT 5
- AirSonos on Ubuntu 16.04.2 LTS Xenial
- Installed but failing on startup - RPi 3 HOT 30
- Error HOT 2
- is this project dead? HOT 2
- Sonos
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 airsonos.