I have three speakers, two are set up in a group. [Study] and [Lounge|Kitchen]
You will need:
-
Node-RED setup and running. When you import the below flows into Node-RED you may get a warning about duplicate nodes, it’s just the way it exports sub-flows. You will need the Home Assistant and Node-RED Dashboard nodes added.
-
Home Assistant setup and running. (change “homeassistant.ip.address” in the Node-RED code to its IP or hostname).
-
The bluesound speakers setup in Home Assistant so that it can see them.
-
Edit the JSON before importing, and change
1.1.1.1
to the IP or hostname of your Home Assistant server/device. Change2.2.2.2
to the IP/hostname of your MQTT server.
Flows:
1st: Music configuration (does all the work) https://pastebin.com/ZZ1cLuHz
2nd: Music UI (allows a wed front end for controlling the players) https://pastebin.com/N2wpQDKY
3rd: MQTT input from Rhasspy Voice Assistant - You’ll need to change this if you don’t use Rhasspy https://pastebin.com/8z7mxZgV
I use Nautical Backup - https://github.com/minituff/nautical-backup