-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
ARC (surround group) 'Pause' not working after turning off TV #173
Comments
You cannot switch off the Sonos accessory when it's on TV input. The Sonos app disables the play/pause button when "playing" the TV input, but I cannot do that in HomeKit. After switching to another input, the play/pause button is re-enabled, and you should be able to pause the zone player from HomeKit. From your log, I see the input switching to a radio station after the TV no longer sends any signal, I assume this is a HomeKit automation? However, at the same time you Roam comes online, causing all sorts of interfering traffic. I can see you try and switch the Arc off from HomeKit at 8:16:07, but Homebridge ZP doesn't send any command to the Arc. I suspect this is because Homebridge ZP didn't receive the current transport actions, and thinks it's still not possible to issue a Pause or Stop command. Could you try and set Log Level for the Arc to 3 and re-capture the log file? That should log the changes to the current transport actions. After switching the Arc off using the Sonos app (at 8:16:14), you should be able to control it again from HomeKit, as switching it off should re-send the current transport actions. |
@ebaauw The switch to a radio station is a homekit automation indeed (created in Eve). I added that to force the input change, hoping it would enable play/pause control again. I added the level 3 debug log. I replayed the same scenario, including the automated switch to radio station. |
Switching the Arc to TV works as expected:
The current transport actions are set to "Play" and "Set" (no "Stop" nor "Pause"). However, they're not reset when switching to the radio station:
I think the current transport actions are in the ignored AVTransPort event, and not repeated in the following events. I need to check if I can reproduce this in my setup; otherwise I'm gonna have to ask you to collect a ridiculous amount of debug info. |
Thanks for the efforts! Always happy to help out of course, it's my problem after all ... |
I finally managed to reproduce the issue in my setup. Beta v1.4.0-1 no longer ignores the |
Good to hear! Thanks for all the efforts, I'll definitely try the fix asap! |
In v1.4.0. |
Thanks for all the work! I was just able to try the beta before the weekend and all seems to work as expected now! |
I got an ARC with sub and 2 one's as a surround set connected to my TV. When I turn off the TV, the ARC set ('woonkamer') is still 'on' in the home app(s). At that point I'm unable to turn it off/pause. If I toggle the 'tv' or 'sonos' accessoiry it just toggles back on again. After viewing another issue I added an automation that changes the input from 'tv' to a radio station, when the 'tv characteristic' changes to 'off'. The radio station than starts playing (after about 15s), but I'm still unable to turn if off using home app(s) (still toggling back to on/playing). The native Sonos app shows the correct status at all times. After a homebridge restart the status is set correctly in home. It also seems that the status in the home app changes to the right state after about 15-20 minutes. I attached the debug log of the following scenario:
homebridge-ZP.log
The text was updated successfully, but these errors were encountered: