Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing one speaker status (On/Off or volume) in Homekit, also changes the status of the other speaker when having 2 devices with the same spotify device id #5

Closed
poblouin opened this issue Feb 9, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@poblouin
Copy link
Contributor

poblouin commented Feb 9, 2022

Describe The Bug:
When having 2 speakers config using the same spotify device ID, changing one speaker status (On/Off or volume) in Homekit, also changes the status of the other speaker.

To Reproduce:

In the config have the same device id on 2 devices

"devices": [
    {
            "deviceName": "Speaker 1",
            "deviceType": "speaker",
            "spotifyDeviceId": "18bb0735e28656bac098d927d410c3138a4b5bcd",
            "spotifyPlaylistId": "https://open.spotify.com/playlist/37i9dQZF1EIXuk68dNdha1?si=155fa871b0924837"
    },
    {
        "deviceName": "Speaker 2",
        "deviceType": "speaker",
        "spotifyDeviceId": "18bb0735e28656bac098d927d410c3138a4b5bcd",
        "spotifyPlaylistId": "https://open.spotify.com/playlist/37i9dQZF1DX4sWSpwq3LiO?si=beba3d29afe84f8b"
    }
]

Toggle one of them on, both will be reported on in homekit

Expected behavior:

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version: 0.1.3
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:
@poblouin poblouin added the bug Something isn't working label Feb 9, 2022
@poblouin
Copy link
Contributor Author

Fixed in #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant