Author Topic: Musicbee and Node-RED  (Read 521 times)

poum

  • Newbie
  • *
  • Posts: 9
Hello,

Do you think it would be possible to make musicbee work with node-red in order to send it at least basic commands (play/next/...)?
There's already a plugin for controlling the player from an Android app, so perhaps this association is possible?.

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1733
  • Heal The World
Almost a year too late, but yeah. Not knowing what node-red is, I would say so.
By way of a plugin, you can to an extent make external programs provide instructions to MusicBee and vise-versa.
Happy festive season!
Strength and Honour (2025)

poum

  • Newbie
  • *
  • Posts: 9
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  :)

BoringName

  • Sr. Member
  • ****
  • Posts: 920
The Beekeeper plugin is not listed in the plugin section on this site.

Here is the github page - Beekeeper

Looks like it hasn't been updated for 10 years.