HifiBerry OS: audiocontrol2 REST API

Hi all,

I was trying to get the REST API build into HifiBerry OS (audiocontrol2) to work, following the guide on GitHub. So that I can do some home automation (using HTTP requests and Apple Shortcuts). I tried addressing the Raspberry Pi using its IP address as well as the hifiberry.local address (which if preferred for my situation);

Unfortunately, this was not with success;

The GET requests give a response like this;
"Cannot GET /api/track/metadata"
"Cannot GET /api/player/status"

And POST requests just simply respond with "OK", but nothing actually happens.
I tried with both curl requests from terminal and with the Apple Shortcuts HTTP module.

Does anyone see what I'm doing wrong here or know a solution to this?




Please sign in to leave a comment.