-
Hello, I installed the bluetooth-sink-switch on my sons phoniebox, everything works fine. But his bluetooth Headphones don't connect to every device they are paired if it is poissible, but only to the last connected device. so if it is connected to my smartphone once, the phoniebox can't autoconnect to it. I wrote a little script, that has the bluetoothctl commands to connect it. This script works fine. Now I have the problem, that i'm not able to create a Card-command to connect this script to a nfc-tag. I tried to change the rfid_trigger_play.sh and the rfid_trigger_play.conf, but there is just no difference in the web interface, even if I delete all entries in this file... my script "connect.sh"
change in the rfid_trigger_play.sh
i also changed the rfid_trigger_play.conf.sample, so the entry shows up in the webinterface and i can connect a card, but the function isn't executed... is there anything in the Wiki or any thread, that i didn't find yet? I tried this thing for many hours now and looked everywhere but didn't really find a solution, and it is very disappointing right now, not getting such an easy task to work :( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
in the next step, i tried to use the playout_controls.sh to create a function # bluetoothconnect, while the connect.sh script is in the same folder
I really have no idea, why my script isn't started the output from "debug.log":
i don't understand, why the phoniebox is looking for an audiofolder in this case. |
Beta Was this translation helpful? Give feedback.
in the next step, i tried to use the playout_controls.sh to create a function # bluetoothconnect, while the connect.sh script is in the same folder
bluetoothconnect) sh connect.sh ;;
rfid_trigger_play.sh
$CMDBLUETOOTHCONNECT) #Verbindet Bennis Kopfhoerer $PATHDATA/playout_controls.sh -c=bluetootconnect ;;
I really have no idea, why my script isn't started
the output from "debug.log":
i don't understand, why the phoniebox is looking for an audiofolder in this case.