PIneTime reconnect script
#1
Hey folks, I was having issues with my PineTime reconnecting to my PInephone after waking up from suspend. I noticed when I would cycle bluetooth on and off eventually it would re-connect.

Arch wiki showed me a neat way to run a script on wake every time. I started playing with that and got a decent working reconnect script. I have tested it for a few days and now am curious if it will work well for other people using the PineTime with the PInePhone

setup:
PinePhone 3gb running Manjaro-Arm
PineTime running InfiniTime 1.7.
Amazfish as the companion app


Here is the github with instruction and the script that will take your PineTime BT mac address and make a small shell script for connecting and a systemd service to fire that script any time the PInePhone wakes from suspend. It is enabled to start on boot and requires a restart of both PT and PP after the script is done.

https://github.com/kmsgli/pt-connect/

I recognize this if probably not the best way to fix my reconnect issues but it seems to work for now and I am certainly open to suggestions if anyone thinks there is a better way to do this.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Any plans for a revised PineTime? nixcamic 0 122 05-16-2022, 11:14 AM
Last Post: nixcamic
  Any hope for PineTime. lakotaubp 5 445 04-25-2022, 07:49 AM
Last Post: lakotaubp
Question What can/can't I do with a PineTime smart watch (sealed)? danimations 7 941 04-16-2022, 07:18 AM
Last Post: _slowmanship_
  PineTime Touch Screen Stopped Working BlunderingBushcraft 2 221 04-13-2022, 05:36 AM
Last Post: ITCactus
Question [question] how to restore PineTime to a factory state after flashing non-OTA/directly ITCactus 2 254 04-11-2022, 05:03 AM
Last Post: ITCactus
  Will the PineTime have a timer for the Pomodoro technique? bosi564 3 595 04-05-2022, 03:28 AM
Last Post: ITCactus
Lightbulb Saving, loading, sending and receiving images via Bluetooth to and from Pinetime danimations 0 173 03-29-2022, 01:21 AM
Last Post: danimations
Question Which companion apps work best for flashing firmware and pairing/syncing w/ Pinetime? danimations 0 221 03-28-2022, 08:22 PM
Last Post: danimations
  PineTime Dev Kit for sale igor.bljahhin 1 903 03-18-2022, 10:17 AM
Last Post: rustyonetwo
  PineTime CE conformity pt1 1 588 03-05-2022, 02:35 AM
Last Post: pt1

Forum Jump:


Users browsing this thread: 1 Guest(s)