PINE64
How to get Pinetime working with Pinephone - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: How to get Pinetime working with Pinephone (/showthread.php?tid=16763)

Pages: 1 2


How to get Pinetime working with Pinephone - arkadione - 06-02-2022

I can't get Pinetime notifications to work with Pinephone.

What is the 2022 way to get Pinetime Inifintime working with Pinephone?


RE: How to get Pinetime working with Pinephone - Nooblife - 06-05-2022

I'm in the same boat as you. I expected the Pinetime to atleast sync some info with the Pinephone. Siglo's github doesn't mention what works and what doesn't and the project looks dead.

I think you posted this under the wrong topic. This doesn't have anything to do with Mobian.


RE: How to get Pinetime working with Pinephone - Fish - 06-05-2022

I use ITD to connect the pinephone with pinetime: https://itd.arsenm.dev/
And for a reliable reconnection after suspend I use: https://github.com/kmsgli/pt-connect/

Works fine for me with mobian on the PP.


RE: How to get Pinetime working with Pinephone - arkadione - 06-06-2022

(06-05-2022, 08:24 AM)Fish Wrote: I use ITD to connect the pinephone with pinetime: https://itd.arsenm.dev/
And for a reliable reconnection after suspend I use: https://github.com/kmsgli/pt-connect/

Works fine for me with mobian on the PP.

awesome. i have no idea how to get this running but i'll follow the instructions on gitlab.

i seem to have gotten this itd compiled on running but notifications don't work. i am not sure if it is running properly.

Code:
~/itd$ itctl firmware
6:07PM FTL Error while running app error="dial unix /tmp/itd/socket: connect: no such file or directory"
mobian@pinephone:~/itd$ itctl notify
6:07PM FTL Error while running app error="dial unix /tmp/itd/socket: connect: no such file or directory"

i failed getting itgui going, too.

Code:
~/itd$ go build ./cmd/itgui
# github.com/go-gl/glfw/v3.3/glfw
/usr/bin/ld: cannot find -lXxf86vm: No such file or directory
collect2: error: ld returned 1 exit status

EDIT:
i almost jumped for joy. something is working. i got a notification that itd is connected to my pinetime.
itcl commands don't return an error after a reboot but i still don't know how to use the command line of this.

i have no idea how to fix the itgui compile error though. this is like only the 4th or 5th program i've ever compiled. any suggestions would be much appreciated.


RE: How to get Pinetime working with Pinephone - Fish - 06-06-2022

To build itgui it can help to install the following packages:
sudo apt install libglu1-mesa-dev freeglut3-dev mesa-common-dev xorg-dev

And to be honest, it took some time for me too to figure all this out Wink


RE: How to get Pinetime working with Pinephone - arkadione - 06-06-2022

(06-06-2022, 05:24 AM)Fish Wrote: To build itgui it can help to install the following packages:
sudo apt install libglu1-mesa-dev freeglut3-dev mesa-common-dev xorg-dev

And to be honest, it took some time for me too to figure all this out Wink

Thank you! That got it to build. That was the missing piece.

Hope this thread helps others.

Forget Siglo and Amazfish and just use this itd app.


RE: How to get Pinetime working with Pinephone - Fish - 06-06-2022

I'm glad it worked!


RE: How to get Pinetime working with Pinephone - arkadione - 06-08-2022

(06-06-2022, 10:27 AM)Fish Wrote: I'm glad it worked!

Do I need to compile and use Amazfish? I've done the below steps but it still disconnects a lot and doesn't stay connected, or maybe it just feels like it?

Code:
#install itd
git clone https://gitea.arsenm.dev/Arsen6331/itd.git
cd itd
make && sudo make install

#install dependencies to compile itgui
sudo apt install libglu1-mesa-dev freeglut3-dev mesa-common-dev xorg-dev

#compile/build itgui
go build ./cmd/itgui

#start itd daemon
systemctl --user start itd

#autostart on login
systemctl --user enable itd

#install pt-connect
git clone https://github.com/kmsgli/pt-connect/
cd pt-connect
chmod +x setup.sh
#get pinetime bluetooth ID before running setup
./setup.sh

Somebody also said they had to use Amazfish...
https://forum.pine64.org/showthread.php?tid=15438


RE: How to get Pinetime working with Pinephone - Fish - 06-08-2022

I recognize the connection problems with ITD. Especially when the pinetime is out of range and then within range. This also happens after suspend of the pinephone.
For the latter I use a script from here:
https://github.com/kmsgli/pt-connect/

This script reconnects the pp with the pt after every suspend. Works quite well and solves my problem for most of the time.


RE: How to get Pinetime working with Pinephone - arkadione - 06-09-2022

(06-08-2022, 10:13 AM)Fish Wrote: I recognize the connection problems with ITD. Especially when the pinetime is out of range and then within range. This also happens after suspend of the pinephone.
For the latter I use a script from here:
https://github.com/kmsgli/pt-connect/

This script reconnects the pp with the pt after every suspend. Works quite well and solves my problem for most of the time.

yes it seems to work now.

i think running the "itd" command helped me.

Running "itd" brings up the pairing code on the Pinetime. I entered that code then shut down itd. Maybe that helped?

i'm using that pt-connect script, too. it is annoying getting those itd reconnect notices though so I might comment those out after a week of this working.

it appears I don't need Amazfish which is good.