Hello all,
I hope someone can help me understand the notification option in the REST API a bit more.
I am trying to create a small web page that displays the current media playing. I would like to integrate this into my domoticz/ dashticz dashboard.
I currently use an iframe to display the full volumio interface but ideally I would like to use the API to only display what I need.
So far, getting data through curl and decoding the json works perfectly.
Reading through the manual I came across the notification option. What I’m reading, I have to tell volumio to notify my webserver on state changes with the command
volumio.local/api/v1/pushNotificationUrls?url=http://192.168.1.33/volumiostatus
. I don’t understand what the endpoint is. Do I have to put the URL to my php page here? Do I need to put code in my page to pick up the POST that volumio put out?
When I issue the command to add the command above all I get is the message there are no URL’s defined for push notifications.
Help would be very much appreciated