cdnninja/yoto_ha

Play/Pause not working

Closed this issue · 8 comments

I just managed to muddle my way through installing this integration and I'm SO thankful you made it!

Sadly the one thing I wanted it for is the one thing not working, play/pause.

I have a full sized Yoto player (3rd gen I believe). Logging in and adding the device all worked perfectly and I see a bunch of sensors reporting correctly.

And side note, can play & pause be used separately? So you know you are pausing somehow?

Thanks!

Your right looks like I have a bug in that. I have been working on play pause last day or two. My underlying api works though so I should be able to get this fixed shortly.

Okay should be fixed now. I also encourage you to install this via HACS so that you get prompted for auto updates. I have added a bit to the readme on this.

Play / pause works separately after the update comes in. Currently that only comes every 30 minutes. On my to do list is to fix that here: #31

If you go to the developer menu and run the yoto update
image

It will force it to update, not good practice but shows what it should look like without waiting 30 minutes. I plan to work on dialing in data update speed now since I think that is important for this to be useful.

Oh amazing thanks, working through that readme now!

To be fair I'm pretty sure I tried the steps you've described and it didn't "find" it before. So not sure what's different now :/

Ok installed via HACS, worked fine pasting in the github link this time.

Re-added the integration and signed in all fine, but yet the play/pause button still isn't triggering...

Oh the play/pause wasn't working in the actual device page, but calling the service "pause" does! :D

Right now the button starts as play pause. After it scans and sees it's currently playing it switches to a pause button that works.

Home assistant just doesn't know the status on startup. Once I fix real time updates that will go away.

Closing as real time display is tracked in #31

Real time updates are working now so play pause feels responsive now. Only master branch not a release just yet.