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
  Open-Source Support for PineTime LTE (eSIM) emilyjohnson63 1 472 02-08-2025, 11:52 AM
Last Post: Kevin Kofler
  Pinetime Black Screen philipallmon 0 522 11-11-2024, 12:47 AM
Last Post: philipallmon
  PineTime charging issues - connecting pins black gsoundsgood 2 890 09-15-2024, 02:59 PM
Last Post: gsoundsgood
  How do I clear all personal data from the pinetime smartwatch? taltamir 7 1,459 08-23-2024, 04:44 AM
Last Post: 67man
  [SOLVED] Gadgetbridge not pairing with pinetime zoof 3 5,791 06-25-2024, 12:21 AM
Last Post: Amen
  PineTime at FOSDEM jmlich 5 2,520 02-07-2024, 11:48 PM
Last Post: tllim
  PineTime turns off when removed from cradle tynstar 0 760 01-31-2024, 11:57 AM
Last Post: tynstar
  PineTime and Amazfish on Ubuntu Touch jmlich 1 1,548 10-14-2023, 04:12 PM
Last Post: tllim
  PineTime is dead!! Markdanni123 12 17,899 09-18-2023, 10:17 PM
Last Post: ccchan234
  PineTime Sleep Tracking any_mouse 12 16,980 07-10-2023, 05:41 PM
Last Post: davidair

Forum Jump:


Users browsing this thread: 1 Guest(s)