Volumio Information
Volumio Version: 2.729
Hardware: RPI 3B+
DAC: justboom amp boards
Hi
I am using nodered and specifically https://github.com/maxill1/node-red-contrib-volumio to connect to volumio’s websocket.
I am trying to trigger volumio updateDb, however I cant work out the call.
based on the documents it should be
{
"endpoint":"category/name",
"method":"methodName",
"data": {}
}
which based on the code i think translates to
{
"endpoint":"miscellanea/my_music",
"method":"updateMusicLibraryBrowseSourcesVisibility",
"data": {}
}
However i cant seem to get this to work. have i misinterpreted this?
in nodered i am getting error pushevent is not defined. This is what i am putting within my function
const endpoint = {"endpoint":"miscellanea/my_music", "method":"updateMusicLibraryBrowseSourcesVisibility", "data": {}}
msg.payload ={
event: "callMethod",
data: endpoint
}
return msg;