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

simulate press enter from remote Control, USB not play #426

Open
Jumbo125 opened this issue Dec 3, 2023 · 2 comments
Open

simulate press enter from remote Control, USB not play #426

Jumbo125 opened this issue Dec 3, 2023 · 2 comments

Comments

@Jumbo125
Copy link

Jumbo125 commented Dec 3, 2023

Hello

When i change the input to USB to play sounds from my usb-stick, the window will change to the usb menu. perfect.

But the song will not be played....

I need to press the "enter" button on the conrtol device to choose a song, which one will be play.

how can i change the input to usb and play the first song or anything else(it is shuffle)
i need to press the enter button via iobroker or http url

Thank you a lot

@Garfonso
Copy link
Contributor

Garfonso commented Dec 5, 2023

"Pressing" return seems to be possible in general, at least there is a library that can do it:
https://github.com/PSeitz/yamaha-nodejs

But it seems soef forked the library a long time ago...

You could try to use the state yamaha.0.Commands.command and enter "Return" there, it seems to be what the library sends. I did not yet completely check if it really sends the same string in the end, but you could just try.

@Jumbo125
Copy link
Author

Jumbo125 commented Dec 5, 2023

i found the solution
https://github.com/lwsrbrts/Yamaha/blob/master/Yamaha.ps1
the xml command with Sel do the trick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants