Hi,
To do this, I used the
Beekeeper plugin, which receives commands via http requests in a very simple form (Player_PlayPause/Player_PlayNextTrack/Player_PlayPreviousTrack) at
http://localhost:8080/COMMAND.
With Rhasspy and Node-red, I can now control Musicbee by voice.
Here's the flow obtained for the play/pause command on a local computer (192.168.1.11) :
[{"id":"838820e3194c8844","type":"http request","z":"2b2676f81a6deb7d","g":"8033f088578c253b","name":"","method":"POST","ret":"txt","paytoqs":"ignore","url":"
http://192.168.1.11:8080/Player_PlayPause","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[],"x":770,"y":1620,"wires":[[]]},{"id":"5dbd9e13a5d4db15","type":"change","z":"2b2676f81a6deb7d","g":"8033f088578c253b","name":"Play/Pause","rules":[{"t":"set","p":"payload","pt":"msg","to":"{\"command\":\"pause\"}","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":550,"y":1620,"wires":[["838820e3194c8844"]]}]
Have a happy festive season
