pinetime

Table of Contents

1. pinetime

1.2. PineTime - PINE64

1.2.1. The Best Pine64 Product? | PineTime Review - YouTube

You can brick your PineTime

1.2.3. Watch “Infinitime RC 1.0 on the Pine64 Pinetime” on YouTube

1.2.4. Watch “Quick overview of WaspOS on the Pinetime” on YouTube

1.2.5. Dashboard para pinetime   project someday_20230330

  • Puede ser en dash que queda muy bien, de hecho podría servirlo en termux, en base a exportaciones
  • [ ] Plot del ritmo cardiaco en el tiempo, con distintas agrupaciones
  • [ ] Clustering de actividades por gps y bpms
  • [ ] Clustering de tiempo de sueño en cada etapa
  • [ ] Modos predefinidos para ciertos tipos de deporte
  • [ ] Cruzar con datos GPS de google, para ver en cada punto el nivel de actividad
1.2.5.1. Integrate with self-hostable fitness tracking service · Issue #49 · Freeyourgadget/Gadgetbridge · GitHub

Ideas para posibles integraciones con otros servicios
https://github.com/Freeyourgadget/Gadgetbridge/issues/49

1.2.5.2. Gadgetbridge Data Export

https://codeberg.org/Freeyourgadget/Gadgetbridge/wiki/Data-Export-Import-Merging-Processing
Están casi todas vacías
https://stackoverflow.com/questions/58298886/find-the-number-of-rows-in-each-table-in-a-large-sqlite-database

echo "SELECT 'SELECT count(*), \"' || name || '\" FROM ' || name || ';'  FROM sqlite_master WHERE type = 'table';" |
    sqlite3 -readonly "$db" | sqlite3 -readonly "$db"
1.2.5.3. Dash

1.2.6. Gadgetbridge

1.2.6.1. Gadgetbridge - The Blue Book
1.2.6.2. Ver si se exportan datos de PineTime a GadgetBridge
  • Es por que Gadgetbridge no coge los datos que exporta PineTime?
  • Es porque PineTime no exporta los datos?
    En este caso en WaspOS podría desarrollar cosas, pero habria que esperar a InfiniTime
  1. https://github.com/JF002/InfiniTime/projects
    1. https://github.com/JF002/InfiniTime/issues/490
  2. https://github.com/daniel-thompson/wasp-os/pull/187 (datos del acelerómetro)
  3. Especificación de cómo enviar datos

1.2.7. Tips

  • Las subidas de firmware OTA (por bluetooth) fallan bastante, parece que por interferencias con WiFi. Lo mejor es ir a un sitio con poca cobertura WiFi y así se sube el firmware a la primera
  • Las upgrades de software (DFU) no van bien por GadgetBridge (ni siquiera ve el dispositivo) ni por Amazfish (ve el dispositivo pero no puede subir nada)
    Para subir estas cosas usar nRF Connect

1.2.9. WASP-OS

1.2.9.1. Application Writer’s Guide — WASP-OS documentation

Puedes hacer tus propias aplicaciones para Wasp OS en micropython, tiene un emulador para probarlas antes de subirlas

1.2.9.3. arteeh/wasp-companion: Companion app for wasp-os

App de Linux para wasp-os
También está en gitlab pero menos actualizada:

  1. Maarten de Jong / Wasp Companion · GitLab
1.2.9.4. De Infinitime a WASP-OS

https://wiki.pi e64.org/wiki/Switching_your_PineTime_between_InfiniTime_and_Wasp-os

  • All the zips you need can be found from the wasp-os installation guide.
    1. Make sure the watch is running Infinitime and can be found by your companion device (PC, phone, etc).
    2. First we need to flash the reloader, with the wasp-os bootloader as payload. To do this, flash: wasp-os-0.4/build-pinetime/reloader-mcuboot.zip
    3. After flashing, it will boot using the Infinitime bootloader (green large pine cone), then it’ll hang for a few seconds, then it’ll show the reloader animation (blue smaller pine cone), and then it’ll boot the wasp-os bootloader.
    4. Make sure the watch is on the screen with the pine cone and arrow. If it is in a bootloop instead, then reboot the watch by holding the button until the arrow appears.
      Se me atascó en este paso, lo reinicié y no funciona nada → A esperar a que se descargue → Luego lo comprobé tiempo después y ya sí que sale disponible el bluetooth, por Amazfish no puede actualizarlo (aunque sí se conectaba), por Gadgetbridge ni se conecta, pero por nRF Connect sí
    5. Now you can flash micropython with wasp-os:
    6. wasp-os-0.4/build-pinetime/micropython.zip
    7. Wasp-os should now boot. Enjoy!
1.2.9.5. De WASP-OS a Infinitime

https://wiki.pine64.org/wiki/Switching_your_PineTime_between_InfiniTime_and_Wasp-os

  • Get the reloader zip here and the latest Infinitime here. → esta es la buena
    • I made my own containing just the InfiniTime 0.14.1 recovery firmware → esta es la que usé yo (pinetime-mcuboot-recovery-loader-dfu-0.14.1.zip) y me quedé en un bootloop
    • Para salir, hay que mantener pulsado mucho rato el botón (si no, sí que cambia de pantalla pero sigue en el bootloop)
    • Esto me lleva a un bootloop de Infinitime, pero me consigo conectar

1.2.10. Infinitime

Repositorio de desarrollo de apps. Parece mucho más complicado que WaspOS:
https://github.com/lupyuen/pinetime-rust-mynewt

1.2.10.1. Upgrade Infinitime

https://github.com/JF002/InfiniTime/blob/develop/doc/gettingStarted/ota-gadgetbridge-nrfconnect.md
Note that it’s only possible is your PineTime is already running InfiniTime (>= 0.7.1).

1.2.10.2. Infinitime 1.3.0
  1. Datos de pulso → Investingar por qué no me sale nada   research

    En teoría estaban exportando datos del sensor de pulso, pero no veo nada en el sqlite que exporta GadgetBridge!
    Qué timo es este?

1.2.11. Amazfish

Package qt5-default is not available → https://askubuntu.com/questions/1335184/qt5-default-not-in-ubuntu-21-04
sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools

1.2.11.1. CANCELLED Ver si los problemas de conexión de Amazfish son consistentes   #ordenador_trabajo

→ Lo conecto sobre todo al móvil, no lo uso
Apuntar los días que pasa

  • [X] 2021-07-20

1.2.13. Cosas que medir con PineTime

1.2.13.1. Hear Rate Variability

1.3. Top #5 Open Source Smartwatch » DIY Usthad

https://diyusthad.com/2021/04/top-5-open-source-smartwatch.html

  • PineTime Smartwatch By Pine64
  • Watchy By Squarofumi
  • Open Source Smartwatch
  • CulBox ,SmartWatch for ARDUINO
  • OpenHAK
  • Bangle.js

1.6. DONE Actualizar a InfiniTime 1.4.0

Author: Julian Lopez Carballal

Created: 2024-09-16 Mon 05:28