Most people have had a pretty rough time working with bluetooth audio devices. If there’s anything you can share about your setup that would assist others please do
First,
At the command line do this once:
Bluetoothctl
Power on
Agent on
Default-agent
Scan on
Pair XX:XX:XX:XX:XX:XX (mac)
Trust XX:XX:XX:XX:XX:XX (mac)
Connect XX:XX:XX:XX:XX:XX (mac)
Quit
Once this is done, create a sh script like this:
nano bluetooth.sh (add the following)
#!/bin/bash
echo “power on \nagent on \ndefault-agent \nconnect XX:XX:XX:XX:XX:XX \nquit” | bluetoothctl
At the command line do this:
crontab -e (add the following) @reboot sh /home/pi/bluetooth.sh &
***This does not work everytime
Alternative:
nano .bashrc (add the following at the end, note that this file gets overwritten if update.sh is ran)
sh /home/pi/bluetooth.sh &
I also installed the CMDSkill so I can run scripts with my voice, I modded .mycroft/mycroft.conf: