This project is somewhat vibecoded.
An analog watchface for Pebble Round 2 (Gabbro, 260x260) built with Alloy (Moddable JS).
It shows:
- Analog hands and dial markers
- 12/3/6/9 numerals
- Center digital time + date
- Weather icon + temperature
- Clay settings for dark mode, Fahrenheit/Celsius, and 12h/24h time
- Target:
gabbro(Pebble Round 2) - Display:
260x260round color e-paper
pebble build && pebble install --emulator gabbro --vncWithout VSCode/VNC:
pebble build && pebble install --emulator gabbroOpen settings with:
pebble emu-app-configAvailable toggles:
- Dark Mode
- Use Fahrenheit
- Use 24-Hour Time
- Show Digital Time
- Show Date
- Show Weather
- Show Battery
- Only Show Low Battery
- Show Bluetooth
- Show Disconnected BT
Settings and recent weather are persisted in localStorage.
This project uses a custom ModdableCreationRecord in src/c/mdbl.c to increase XS runtime memory (slot and chunk) for stability when using weather fetch + settings updates.
src/embeddedjs/main.js- watchface rendering, weather, settings handlingsrc/pkjs/index.js- Clay init + Pebble proxy wiringsrc/pkjs/config.js- Clay settings schemasrc/c/mdbl.c- C entrypoint and Moddable machine creation
pebble logs
pebble screenshot screenshot.png --no-open --scale 1