Skip to content

Pebble watchapps and watchfaces

Notifications You must be signed in to change notification settings

C-D-Lewis/pebble-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pebble-dev

Repository with Pebble watchfaces, watchapps, and libraries - old and new.

Projects here are mostly too old for the latest Pebble SDK, working status is shown in the lists below.

Some PBWs can be found in /pbw for sideloading.

Watchfaces

Name Status PBW
split-horizon-se ⚠️ (crashes, InverterLayerCompat.c)
brackets brackets.pbw
dayring dayring.pbw
dual-gauge
eclipse eclipse.pbw
hollywatch hollywatch.pbw
index index.pbw
kitty-watchface kitty-watchface.pbw
morndas morndas.pbw
pseudotime pseudotime.pbw
split-horizon-pe split-horizon-pe.pbw
starfield-smooth starfield-smooth.pbw
startfield-demo
time-dots-appstore time-dots-appstore.pbw
cards ❌ (custom fonts)
cmd-time-typed ❌ (old inverter layer)
cmd-time ❌ (old inverter layer)
eclipse-solar ❌ (WIP)
isotime-appstore ❌ (pebble-pge-simple reference)
split-horizon-me ❌ (old inverter layer)
divider-large-2
divider-small-2
eventful
events
past-present-future-extended
past-present-future
seven-segments-date
seven-segments

Watchapps

Name Status PBW
tube-status ⚠️ (data sent, no reaction)
block-world block-world.pbw
modular-app-base modular-app-base.pbw
news-headlines news-headlines.pbw
pge-examples ❌ (needs ref to pge package)
wristponder-redux ❌ (unfinished re-write)

Other

Defunct, incomplete, or PoC things live here.

Other repositories

Some larger projects still live in their own repositories:

Develop in Docker

If you have a Docker image locally called pebble-sdk, the script docker-dev.sh can be used to run it and allow building and running at least on an emulator.

Such an image can be built with bboehmke/docker-pebble-dev

docker build -t pebble-sdk .

Then run it pointing to a project directory:

./scripts/docker-dev.sh

Debugging

Here are some errors encountered in old projects and the fixes I found:

Missing node_modules directory

Caused by invalid name in package.json.

Caused by version that was missing patch component.

This project is very outdated, and cannot be handled by this SDK.

Missing wscript. Running pebble convert-project helped.

An invalid value of '2' was found in the 'sdkVersion' field of the project's package.json. The latest supported value for this field is '3'.

(Even when it's not true) - manually update appinfo.json to the more recent package.json format from another working project, field by field.

waf-looking errors or resource indice errors

Copy wscript from a working project.

Missing images

As of SDK 3, some image resource types like png were deprecated.

Todo

  • [] Finish importing all previous Pebble projects
  • [] Fix build in GitHub Actions