I am trying to use Amazon Echo as an speaker with Raspberry PI3. While it mostly works and I am able to pair and play audio files, the bluetooth connection gets dropped after 4-5 hours.
I am thinking if - I can connect to Amazon Echo via script then I can check for connectivity and fix it - when connection is dropped.
I am already able to do this from GUI and I have made some progress via command line using
bluetoothctl command as well. The problem is - when I connect to Echo via
bluetoothctl command, although connection is successful - it doesn't play media files successfully.
To connect to Echo from CLI, I am simply using
bluetoothctl connect command.