How to get Pinetime working with Pinephone
#1
I can't get Pinetime notifications to work with Pinephone.

What is the 2022 way to get Pinetime Inifintime working with Pinephone?
  Reply
#2
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.
  Reply
#3
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.
  Reply
#4
(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.
  Reply
#5
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
  Reply
#6
(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.
  Reply
#7
I'm glad it worked!
  Reply
#8
(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
  Reply
#9
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.
  Reply
#10
(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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 15 1,517 03-25-2024, 09:07 AM
Last Post: anonymous
  Mobile internet via cellular network mostly not working Anna 18 9,725 01-19-2024, 02:59 AM
Last Post: anonymous
Exclamation The internal speaker stops working anonymous 6 814 01-17-2024, 05:53 PM
Last Post: anonymous
  unofficial kali linux for pinephone help needed pinesmell 5 3,457 01-08-2024, 02:50 PM
Last Post: ERPlegend
  Axolotl on PinePhone / Mobian arno_nuehm 219 160,481 03-26-2023, 01:49 AM
Last Post: shulamy
  PinePhone won't boot after software update jb2000 2 1,251 03-17-2023, 07:26 AM
Last Post: Zebulon Walton
Wink Pinephone lost graphic during mobian system upgrade cmpin 4 2,063 03-01-2023, 04:45 PM
Last Post: anonymous
  APN settings not working with new operator SIM card user641 1 963 03-01-2023, 04:43 PM
Last Post: anonymous
  Possible Solution for Microphone Not Working Ferriah 0 905 02-13-2023, 01:09 PM
Last Post: Ferriah
  Battery problem with a Pinephone keyboard and Mobian elode 2 2,104 12-22-2022, 07:10 PM
Last Post: acid andy

Forum Jump:


Users browsing this thread: 1 Guest(s)