A custom watchface for Pebble smartwatches that displays the current Internet Time (often referred to as ".beat" time), along with the UTC date and the watch's battery percentage.
Internet Time, also known as Swatch Internet Time, is a decimal time concept introduced by Swatch in 1998. It divides the day into 1,000 "beats" instead of 24 hours. Each beat is equivalent to 1 minute and 26.4 seconds. The day starts at @000 (midnight CET) and ends at @999. It's designed to be a universal time with no time zones, simplifying global communication and scheduling online.
- Internet Time Display: Shows the current time in
.beatformat (e.g.,@876.5or@876for narrower screens). - UTC Date: Displays the current date in UTC (YYYY-MM-DD format).
- Battery Status: Shows the watch's battery charge percentage.
- Dynamic Layout: Adjusts the Beat time display to show decimal beats on wider screens and whole beats on narrower screens.
- Automatic Updates: The watchface updates the time, date, and battery display automatically every few seconds.
- Minimalist Design: A clean, red-on-black interface optimized for Pebble's display.
src/c/app.c: The main entry point for the Pebble application. It initializes the main window and delegates the watchface rendering and logic to thebeatmodule.src/c/beat.c: Contains the core logic for the Beat Clock watchface, including:- Calculating and formatting the current Internet Time, UTC date, and battery percentage.
- Setting up the
TextLayerelements for displaying information. - Handling periodic updates to keep the display current.
- Managing the watchface window and its event handlers.
- Install on your Pebble:
- You will need to compile this project into a
.pbwfile (Pebble's application package format). - Once compiled, you can sideload the
.pbwfile to your Pebble watch using the Pebble smartphone app.
- You will need to compile this project into a
- Select Watchface: After installation, open the Pebble app on your smartphone, navigate to the "My Pebble" section, and select "Pebble Beat Clock" as your active watchface.
The watchface will then automatically display the current Internet Time, UTC date, and battery percentage.
Currently, the watchface has minimal interactive features:
- The
SELECTbutton, when pressed, temporarily changes the Beat time display to "select". This is primarily a placeholder for potential future functionality. - The
DOWNbutton does not have any active functionality.
To build this project, you will need the Pebble SDK.
- Set up the Pebble SDK: Follow the official Pebble SDK installation instructions for your operating system.
- Navigate to Project Directory: Open your terminal or command prompt and go to the root directory of this project.
- Build: Use the Pebble SDK tools to build the
.pbwfile:This command will generate apebble build
.pbwfile in thebuild/directory, which you can then sideload to your watch.
Lets go with Apache 2.0.





