BewhiskeredBard / homebridge-alexa-player

A Homebridge plugin that enables basic smart speaker HomeKit integration for Alexa devices (Echo, Echo Dot, etc.).
MIT License
92 stars 7 forks source link

Support devices in multi-room-groups #34

Open scooter306 opened 3 years ago

scooter306 commented 3 years ago

Problem

Echo-devices can be grouped into multi-room-groups. When music is played in this group, the single device doesn’t show that its playing music.

Solution

Var 1 - show also that music is played on a device that’s part of a group Var 2 - show the group as an additional speaker. So when echo 1 and echo 2 are in a group there are 3 speakers shown.

BewhiskeredBard commented 3 years ago

I don't currently have any setup as multi-room groups. Could you update to the latest version (v0.3.0), run Homebridge in debug mode, and include all of the [AlexaPlayer] logs here?

scooter306 commented 3 years ago
11/24/2020, 7:45:08 AM] [AlexaPlayer] Filtering device for device family (WHA): {"accountName":"Kueche","appDeviceList":[],"capabilities":["TIDAL","SALMON","TUNE_IN","SIRIUSXM","DEEZER","I_HEART_RADIO","KINDLE_BOOKS","AUDIO_PLAYER","MUSIC_SKILL","MICROPHONE","VOLUME_SETTING","AMAZON_MUSIC","AUDIBLE","PANDORA","APPLE_MUSIC"],"charging":null,"clusterMembers":[],"deviceAccountId":"A05615432DLI82Q4SZ2DY","deviceFamily":"WHA","deviceOwnerCustomerId":"A18AUL6ZDT4QTS","deviceType":"A3C9PE6TNYLTCH","deviceTypeFriendlyName":null,"essid":null,"language":null,"macAddress":null,"online":false,"parentClusters":[],"postalCode":null,"registrationId":null,"remainingBatteryLevel":null,"serialNumber":"70000000ba604ec0b805a9e04b2254ee","softwareVersion":"0"}
BewhiskeredBard commented 3 years ago

Is that the only entry in the logs? There should be one line for every Alexa device/app registered to your account. The line you provided is effectively a mock device that represents the WHA (whole home audio) group. I'm hoping that each of the physical devices have a property that references the WHA's serial number.

ballakers commented 3 years ago

Pause/Play or even seeing status of speaker in groups still doesn't work with latest update as of today - I was playing on my main floor group and all three speakers said they were Idle.

Separate issue ***Also tried with the show echo show as TV set to true in config (yes it shows as TV but that about all it does) and even when I played a song just on the echo show the TV power button did nothing AKA could pause or Play.

If you want logs i can reinstall (next time i would set TV to false). I have removed the plugin however since it serves me little to no purpose (not trying to take shots at anyone - not like I could create a plugin).

How hard is it to add airplay feature for these speakers as that would make this plugin very very popular

DomLuu commented 3 years ago

Multiroom Group Support would be a great feature or at least the possibility to activate more than one device. Thx for your great work!