MarByteBeep / StageLinq

NodeJS library implementation to access information through the Denon StageLinq protocol
GNU General Public License v3.0
25 stars 2 forks source link

Handle multiple Denon devices on the network. #14

Closed chrisle closed 2 years ago

chrisle commented 2 years ago

Previously, we couldn't get this repo to connect to two decks. It would only seem to connect to one. After investigating, it looks like it was more about how the listeners are handled.

Instead of listening for one device then stopping we keep listening for new devices and run a callback when one is discovered. From there, it asks what services are available and does what it should do.

We tested on: DN-X1800 + (2) SC5000 decks, Denon Prime Go.

chrisle commented 2 years ago

Just an added note:

We're not sure why it's not /Engine/Deck3 and /Engine/Deck4.

In the program I'm writing, I ended up using the IP address to differentiate the decks and then the layers. Not necessarily needed for this project. But FYI.

chrisle commented 2 years ago

Oh. I just noticed there was a different branch where you were working on this. Perhaps I didn't need to even do this. 🤷🏻‍♂️ 🤣