Since Lucas broke the app more or less and didn’t answer, I found other ways …
You can also control the whole thing with the HTTP request app.
You can find out how here.
Overview of the API codes (PDF)
Good luck with that.
My Yamaha receiver works again.