not yet definitive pebble smart watch guide
Table of contents generated with markdown-toc
- Discord
- Reddit (users and dev)
- Docker and the Pebble emulator https://github.com/clach04/docker-pebble-dev/wiki
- Pebble Development Setup https://github.com/andyburris/pebble-setup
- Rebble Help SDK FAQ https://help.rebble.io/sdk/
So far only GitHub Actions available
- see https://github.com/kristofwillen/Pebble-NMBS for docker based build under GitHub actions
- https://github.com/clach04/github_action_pebble_build - Pebble GitHub Actions for building
- See a demo at https://github.com/clach04/pebble_watchface_framework
Requires the most work and not recommended:
- Self hosted (with limitations) https://github.com/gfunkmonk/cloudpebble-composed WARNING not considered safe to expose publicly (from original author in Discord https://discord.com/channels/221364737269694464/407270816997441547/1014688058685259817)
TODO URLs needed
- plain C with Pebble SDK
- C + js with Pebble SDK and PebbleKitjs
- Javascript:
- Rocky.js
- Pebble.js
- Simply.js
- Companion SDK
- Python on Pebble https://github.com/hiway/pybble
- UI mocking / preview
- https://github.com/clach04/pypebbleapi - Python client library for Timeline (specifically Rebble Timeline service)
NOTe there are improvements and fixes for existing tools, you may have to find them. For example see unmerged PRs:
- https://github.com/pebble-dev/pebble-tool/pulls - for example allow logging to be ran from Windows
- https://github.com/pebble/clay/pulls - working pebble clay config in the emulator on a modern desktop browser
- https://github.com/clach04/python-pebble-tools process locker
- https://github.com/clach04/pebble_patch_tts voice dictation patching to remove punctuation, relies on rockgarden
- https://github.com/clach04/Pebble-App-Config-Page-Backup backup of (most) pebble config URLs
- reverse enginering:
- radare2/r2 - radareorg/radare2#20002 https://www.reddit.com/r/pebbledevelopers/comments/uc50kw/reverse_engineeringdecompiling_with_radare2r2/
- extracting assets
- PBW files are simply ZIP files, js is easily extractable and can be updated and injected back into the PBW without any other steps (i.e. no checksum, metadata/manifest updates, etc.
- https://github.com/southwolf/pbw-tools
- https://github.com/clach04/rockgarden patch and hack watchfaces and apps - working fork of https://github.com/cpfair/rockgarden
- For example with use with https://github.com/clach04/pebble_patch_tts
Once Developer mode is enabled in the Pebble App on the phone:
pebble logs --phone IP_ADDRESS
Will display all logs, from C code and js code.
This works under Windows, not just Unix-like platforms:
python2 -m pip install -e git+https://github.com/clach04/pebble-tool.git@windows_py27#egg=pebble-tool
If Pebble emulator is hung
- Issue
pebble kill
- Manually stop/kill any remaining pebble (emulator) processes
- Issue
pebble wipe
- latest 4.x
- SDK 3.x - can be used to build PBWs that run on Firmware 4.x
- SDK 2 - has incompatablities with SDK1
- SDK 1 - do NOT use
- https://developer.rebble.io/developer.pebble.com/guides/migration/migration-guide-3
- https://remysharp.com/2015/07/29/notes-on-porting-my-pebble-app-to-sdk-3
- https://developer.rebble.io/developer.pebble.com/guides/migration/migration-guide-3/index.html#using-the-status-bar (statusbar missing battery after sdk2)
- Also see https://github.com/rebootsramblings/custom-status-bar-for-pebble
- https://github.com/pebble-dev/rebble-boot/blob/master/boot/stage2.py#L182 - weather bootstrap URL
- Rebble App Store
- https://apps.rebble.io/en_US/watchapps
- https://apps.rebble.io/en_US/watchfaces
- Sample dev link for app, allows PBW download from web browser https://apps.rebble.io/en_US/application/55123f98e28a6598dd00008e?dev_settings=tru§ion=watchapps