Skip to content

A pebble time watchface dedicated to the hobby cyclist with useful informations to plan your training and next ride.

License

Notifications You must be signed in to change notification settings

genko/velowatch

 
 

Repository files navigation

banner

GitHub release (latest by date) GitHub All Releases Platform GitHub

Heavily based on the awesome ForcasWatch2 watchface by Matt Rossman https://github.com/mattrossman/forecaswatch2 , thank you very much for your great work and releasing it under open source!

This watchface adds in addition:

  • Weekly weather forecast using OpenWeaterMapAPI, API key needs to be set in settings.
    • Weekly forecast shows the day maximum temperature
    • Text color is blue if day forecast for precipitation is > 60%
  • Connection to RiDuck to get current training advice. Username and password for account need to be set in settings.
    • Background bar in blue behind the advice text to show where in the advice range the current points are. Not shown for all ranges.
  • Connection to OpenHolidaysAPI to fetch public holidays, country and region needs to be set in settings. Color accordingly to public holiday setting.
  • Color indicator for current temperature showing the current uv-index as background color
    • UV-Index < 2 => No background color
    • UV-Index >= 2 and < 6 yellow background color
    • UV-Index >= 6 and < 8 orange background color
    • UV-Index >= 8 red background color

Screenshots

Color screenshot

Features

  • Current time
  • Battery indicator
  • 1 week calendar starting from current day
  • 1 week weather forecast with max temperature and colored blue if precipitation is expected
  • Connects to RiDuck and shows training advice if login credentials are given in settings
  • 24 hour weather forecast (updates every 30 minutes)
  • Color indicator for current temperature showing the current uv-index as background color
    • UV-Index < 2 => No background color
    • UV-Index >= 2 and < 6 yellow background color
    • UV-Index >= 6 and < 8 orange background color
    • UV-Index >= 8 red background color
  • Bluetooth connection indicator
  • Quiet time indicator
  • Weather provider OpenWeatherMap
  • Current temperature
  • Temperature forecast (red line)
  • Precipitation probability forecast (blue area)
  • City where forecast was fetched
  • Next sunrise or sunset time
  • GPS or manual location entry
  • Fahrenheit and Celsius temperatures
  • Customize time font and color
  • Customize colors for Sundays, Saturdays, and public holidays from OpenHolidaysAPI
  • Offline configuration page

Planned Features

  • Add wind prediction in graph

Platforms

Only Time and Time Steel are supported.

Developers

Building

Install and use the rebbletool found under https://github.com/richinfante/rebbletool

Build with

rebble build

Run with

rebble install --emulator basalt

Open app config with

rebble emu-app-config

If app config does not work, you can create the file src/pkjs/dev-config.js to set values for Clay keys (for convenience), e.g.

var owmApiKey = 'abc123';
module.exports.owmApiKey = owmApiKey;

If emulator does not go past the pebble screen kill emulator and do a

rebble wipe

The .pbw output can be found in the build directory on the host machine.

About

A pebble time watchface dedicated to the hobby cyclist with useful informations to plan your training and next ride.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 58.5%
  • JavaScript 38.8%
  • Python 1.7%
  • Other 1.0%