theironrobin / siglo

GTK app to sync InfiniTime watch with PinePhone
Mozilla Public License 2.0
153 stars 22 forks source link

Siglo is not finding my pinetime #3

Closed sirnewton01 closed 2 years ago

sirnewton01 commented 3 years ago

I've been trying siglo to scan and find my pinetime, but it doesn't seem to be able to find it on the network. I'm able to connect to it using bluetoothctl though. Perhaps I need to update the old firmware on the device? It's the 0.7.1 that came with the device last winter.

theironrobin commented 3 years ago

What distro are you on? EDIT: Ah yes i see you are on debian. This is a distro I haven't done testing on, sorry for the hiccups. Are you sure you have all dependencies installed? What kind of output do you get when running siglo from terminal?

sirnewton01 commented 3 years ago

I think I have all the dependencies installed on Mobian, but perhaps I'm missing something. I tried translating the packages to the Debian equivalents. Thanks for your help with this. I know that Mobian/Debian may not be what you're targeting with this application.

The output when run from the terminal is just this for each time I click the rescan button:

Rescan button clicked...
Rescan button clicked...
Rescan button clicked...
...
theironrobin commented 3 years ago

Thanks for the output, I will install siglo soon on mobian and see what the issue could be.

theironrobin commented 3 years ago

Ok, I think i solved the bug here: https://github.com/alexr4535/siglo/commit/97977260b0176b8a984021c17c825357336abc41

Don't think your issue is due to distro, but due to using old firmware. Siglo should now work with old firmware that describes itself to BLE adapter as "Pinetime-JF"

Do a git pull, reinstall, and retest please.

sirnewton01 commented 3 years ago

Thanks @alexr4535 it's working great now. You've saved me a bunch of time manually converting the date into a the hex format and manually setting it to the watch using bluetoothctl.

Btw, any plans to support firmware upgrades over the air with Siglo? I should probably upgrade this ancient firmware to something better.

theironrobin commented 3 years ago

You're welcome! OTA updates will be supported with the next version of Siglo, give me a week or two.

sirnewton01 commented 3 years ago

Yay! Thanks, looking forward to giving it a try.

apoorv569 commented 3 years ago

Hi, I am having same problem, I am on Arch Linux, I installed Siglo from AUR, also tried cloning and building my self. No luck. If I open Siglo from terminal no error is shown when I click scan button it just says Start scanning. I can connect the watch to my phone using GadgetBridge fine though. I tried with connecting watch with version 0.7.1 and 1.0.0.

Flone-dnb commented 3 years ago

Hi, I am having same problem, I am on Arch Linux, I installed Siglo from AUR, also tried cloning and building my self. No luck. If I open Siglo from terminal no error is shown when I click scan button it just says Start scanning. I can connect the watch to my phone using GadgetBridge fine though. I tried with connecting watch with version 0.7.1 and 1.0.0.

Same here (using Manjaro, built the latest release), InfiniTime version 1.2.0. Siglo can't find my device.

theironrobin commented 3 years ago

open with the terminal and post output please

wilsonjholmes commented 3 years ago

I have the same issue, on infinitime 1.3.0. image image image

kq98 commented 3 years ago

Did you reset the watch before trying to pair? Because according to #207 Infinitime the BLE functionality of Infinitime breaks down after about 20 hours of uptime.

mshayden commented 3 years ago

Did you reset the watch before trying to pair? Because according to #207 Infinitime the BLE functionality of Infinitime breaks down after about 20 hours of uptime.

This is still an issue for me as well...pinephone with Mobian and a new PineTime with InfiniTime 1.2 factory installed. Console output is just "start scanning" as mentioned in a previous comment.

#207 Infinitime is not an issue as the watch uptime was only 30 minutes.

Is there a way to enable some useful level of debugging output?

theironrobin commented 3 years ago

Is there a way to enable some useful level of debugging output?

Besides running from the console, not really. I am told siglo doesn't like the waspos bootloader. Maybe that is the issue. I wrote siglo to only support Infinitime

mshayden commented 3 years ago

Is there a way to enable some useful level of debugging output?

Besides running from the console, not really. I am told siglo doesn't like the waspos bootloader. Maybe that is the issue. I wrote siglo to only support Infinitime

I just bought my sealed pinetime which arrived with InfiniTime v1.2.0 installed from the factory. It is not running WaspOS. Does the factory installed version of InfiniTime somehow use the WaspOS bootloader instead? Sorry I am a newbie with PineTime.

theironrobin commented 3 years ago

Does the factory installed version of InfiniTime somehow use the WaspOS bootloader instead?

It sealed pinetime should come with the right bootloader for siglo. I'm sorry you are having issues.

infinitime might stop advertising after 30 minutes if left unpaired, i would reboot the watch (hold the button on the side) and try again with siglo.

loveisfoss commented 2 years ago

Hey, just thought I would share that I also have the same problem. The watch is seen in the bluetooth settings (not paired) but it is not found in Siglo.

Siglo flatpak version Pinephone with Mobian InfiniTime 1.6.0, stock bootloader

Edit: tried to reboot the watch, turn phone bluetooth on/off, close and rerun siglo. No success until now.

theironrobin commented 2 years ago

I am wondering if you all had a different pinetime alias and that was the cause of not being able to find. @loveisfoss @mshayden @wilsonjholmes @Flone-dnb can you all retry with v0.9.5 and see if siglo can find your pinetime?

loveisfoss commented 2 years ago

@alexr4535 Alright, I 'll test and come back to report as long as 0.9.5 is available on flathub.

InFerYes commented 2 years ago

I have InfiniTime 1.6.0 and my PineTime is unpaired. It can be discovered via the Bluetooth settings panel in phosh, however the PineTime does not connect to Siglo. It's possible to connect via the Bluetooth settings panel, but either way (connected or not) Siglo does not connect.

The console says Start scanning over and over. The device is detected as InfiniTime over bluetooth.

edit: I have kept clicking the scan button and after 10 tries it finally connected. That is, 10 tries in the last time I opened the application. I have restarted and scanned many times before.

apoorv569 commented 2 years ago

I tried using Siglo again today on my new laptop that I bought 4 days ago and it seems to find my PineTime with firmware version 1.7.0 and connect just fine. I am on ArchLinux and I installed Siglo from AUR. So for me the issue is solved, I can't say what fixed it though.

akademsubotnik commented 2 years ago

I am trying to flash firmware on my PineTime with my PinePhone and am having the same problems as other users. PinePhone sees PineTime and can connect to PineTime in PinePhone bluetooth settings, but is not able to connect to the PineTime with the Siglo app (flatpak v0.9.4). PineTime firmware is 0.7.1 in PinePhone bluetooth settings PineTime is listed as Y7S

Jemsterr commented 2 years ago

Took a half-dozen attempts hitting the rescan button for it to find it..