Commit graph

107 commits

Author SHA1 Message Date
f28480291e Back off updating the weather if wifi doesn't work at first 2023-06-15 19:45:36 +03:00
268fd9986d Slightly more robust wifi initialisation. Also set country code. 2023-06-15 19:44:47 +03:00
5664ee4acd Using wrong wttr field for temperature
All checks were successful
Compile / Compile (push) Successful in 1m24s
2023-06-03 14:52:42 +03:00
fb289071e1 Fix string endings
All checks were successful
Compile / Compile (push) Successful in 1m24s
2023-06-03 03:33:54 +03:00
0ca946b897 Merge branch 'main' of git.demoscene.dev:leblane/WatchyWatchFace
All checks were successful
Compile / Compile (push) Successful in 1m27s
2023-06-03 00:40:16 +03:00
42a7285537 Wind speed shouldn't be rounded 2023-06-03 00:39:49 +03:00
8fcd24991b Change readme bit about config.h to be secrets.h
All checks were successful
Compile / Compile (push) Successful in 1m19s
2023-06-02 22:35:40 +02:00
Lewis Jackson
38da7b04ec Updated readme, added sceenshots
All checks were successful
Compile / Compile (push) Successful in 1m19s
commit 08b8f9201b
Author: Lewis Jackson <>
Date:   Fri Jun 2 23:28:54 2023 +0300

    Slightly scale the images to fit side by side

commit 71fdb6a75a
Author: Lewis Jackson <>
Date:   Fri Jun 2 23:27:49 2023 +0300

    Apparently Forgjo doesn't support full github markdown

commit 7bbcbc7cb4
Author: Lewis Jackson <>
Date:   Fri Jun 2 23:26:05 2023 +0300

    Updated readme
2023-06-02 23:29:41 +03:00
Lewis Jackson
d318322ae5 Little refactoring: Move vibration motor functionality into features
All checks were successful
Compile / Compile (push) Successful in 1m22s
2023-06-02 23:06:53 +03:00
Lewis Jackson
2d11d69067 Merge branch 'feature/weather-page'
All checks were successful
Compile / Compile (push) Successful in 1m25s
2023-06-02 22:45:10 +03:00
Lewis Jackson
8d6edca411 Added backoff time in case weather updates fail
All checks were successful
Compile / Compile (push) Successful in 1m25s
2023-06-02 22:24:00 +03:00
Lewis Jackson
74695597cf Removed unused openweathermap stuff now using wttr.in
All checks were successful
Compile / Compile (push) Successful in 1m19s
2023-06-02 21:15:09 +03:00
Lewis Jackson
f7094077f7 Add WeatherIcons.h
All checks were successful
Compile / Compile (push) Successful in 1m24s
2023-06-02 21:14:23 +03:00
Lewis Jackson
aa8a9193b0 Add icons for current weather, split weather icons into seperate file
Some checks failed
Compile / Compile (push) Failing after 1m6s
2023-06-02 21:05:51 +03:00
Lewis Jackson
1b6f89faea Add fetching from wttr.in and moon display
All checks were successful
Compile / Compile (push) Successful in 1m26s
2023-06-02 18:45:26 +03:00
Lewis Jackson
e11bcdc9cd Slight visual tweaks to weather display
All checks were successful
Compile / Compile (push) Successful in 1m19s
2023-06-02 00:19:37 +03:00
Lewis Jackson
e91c194b98 Fix for Wday when offsetting time
All checks were successful
Compile / Compile (push) Successful in 1m24s
2023-06-02 00:15:59 +03:00
Lewis Jackson
33dc87dfd0 Use newline geolocation api. make geolocation optional.
All checks were successful
Compile / Compile (push) Successful in 1m26s
2023-06-02 00:04:53 +03:00
Lewis Jackson
5dea52ebe4 Move secrets.h stuff to the bottom so it can override everything
All checks were successful
Compile / Compile (push) Successful in 1m19s
2023-06-01 21:33:44 +03:00
Lewis Jackson
5863b0db2c Add #if!def fallback for OPENWEATHERMAP_API_KEY, and compiler warning
All checks were successful
Compile / Compile (push) Successful in 1m25s
2023-06-01 21:27:58 +03:00
Lewis Jackson
b0e5d281e0 Add city name display
All checks were successful
Compile / Compile (push) Successful in 1m24s
2023-06-01 19:55:35 +03:00
Lewis Jackson
4e3800e332 Weather WIP
All checks were successful
Compile / Compile (push) Successful in 1m24s
2023-06-01 18:24:54 +03:00
Lewis Jackson
36510ace7a Do a full refresh on page switch 2023-06-01 18:24:23 +03:00
Lewis Jackson
f718c01d80 Add date/day to clock, proportional fonts
All checks were successful
Compile / Compile (push) Successful in 1m23s
2023-06-01 18:16:20 +03:00
Lewis Jackson
23b1328cba Add WIP weather stuff 2023-06-01 17:22:37 +03:00
Lewis Jackson
07e83e7557 Move wifi code into a watch feature
All checks were successful
Compile / Compile (push) Successful in 1m25s
2023-06-01 17:17:57 +03:00
Lewis Jackson
93602ebb77 Timestamp bugfix
All checks were successful
Compile / Compile (push) Successful in 1m21s
2023-06-01 16:49:57 +03:00
Lewis Jackson
67ff091775 Fixed braindead style, added a 2038+ compatible timestamp
All checks were successful
Compile / Compile (push) Successful in 1m22s
2023-06-01 16:48:45 +03:00
Lewis Jackson
5993fda85e Add averaging to reading battery levels
All checks were successful
Compile / Compile (push) Successful in 1m21s
2023-06-01 16:17:40 +03:00
Lewis Jackson
c1ed9a77c5 Replace inverse smoothstep with regular smoothstep for battery curve
All checks were successful
Compile / Compile (push) Successful in 1m18s
2023-06-01 15:19:46 +03:00
Lewis Jackson
f564f8c6e8 Merge branch 'feature/experimental-rtc-modifications' 2023-06-01 15:18:24 +03:00
Lewis Jackson
32cd26fccf Replace inverse smoothstep with regular smoothstep for battery curve
All checks were successful
Compile / Compile (push) Successful in 1m22s
2023-06-01 15:12:39 +03:00
Lewis Jackson
3e7ddb805c Add blank page for weather for now
All checks were successful
Compile / Compile (push) Successful in 1m21s
2023-06-01 04:24:49 +03:00
Lewis Jackson
52478ec602 More formatting fixes
All checks were successful
Compile / Compile (push) Successful in 1m19s
2023-06-01 03:39:27 +03:00
Lewis Jackson
f87d626925 Fix for drawing battery icon
All checks were successful
Compile / Compile (push) Successful in 1m14s
2023-06-01 03:17:42 +03:00
Lewis Jackson
9e6f562287 Add stub secrets to allow compile on CI
All checks were successful
Compile / Compile (push) Successful in 1m14s
2023-06-01 03:12:31 +03:00
Lewis Jackson
24e04577f8 Cleaning up indentation in WatchFace.cpp
Some checks failed
Compile / Compile (push) Failing after 1m3s
2023-06-01 03:09:32 +03:00
Lewis Jackson
90c66be515 WIP refactoring
Some checks failed
Compile / Compile (push) Failing after 1m5s
2023-06-01 03:07:52 +03:00
Lewis Jackson
1b843ce4b4 Update workflow to use preprepared docker image
All checks were successful
Compile / Compile (push) Successful in 1m18s
Clean up YML

Specify path for pio explicitly
2023-05-31 23:11:28 +03:00
Lewis Jackson
a94a9cc4ec Merge branch 'main' of git.demoscene.dev:leblane/WatchyWatchFace
All checks were successful
Compile / Compile (push) Successful in 1m20s
2023-05-31 23:10:12 +03:00
Lewis Jackson
40949933e5 Update workflow to use preprepared docker image
Clean up YML

Specify path for pio explicitly
2023-05-31 23:06:57 +03:00
Lewis Jackson
e0e45b8e25 Specify path for pio explicitly
All checks were successful
Compile / Compile (push) Successful in 1m21s
2023-05-31 22:51:38 +03:00
Lewis Jackson
5aa5daac01 Clean up YML
Some checks failed
Compile / Compile (push) Failing after 6s
2023-05-31 22:50:47 +03:00
Lewis Jackson
549ab6ebd3 Update workflow to use preprepared docker image 2023-05-31 22:47:18 +03:00
Lewis Jackson
5367843ac1 Experimental code to allow timer resyncing after NTP resync
Some checks are pending
Compile / Compile (push) Has started running
2023-05-31 21:20:55 +03:00
Lewis Jackson
3ada2fb9a9 Need to init clock for timer to work properly
All checks were successful
Compile / Compile (push) Successful in 3m44s
2023-05-31 04:21:19 +03:00
Lewis Jackson
29fa5486cb Use local bugfixed Rtc_Pcf8563 library
All checks were successful
Compile / Compile (push) Successful in 4m27s
2023-05-31 04:04:58 +03:00
Lewis Jackson
6b1c04e1de Experimental timer-based RTC updates 2023-05-31 04:04:25 +03:00
Lewis Jackson
b45b5429f7 asdfg
All checks were successful
Compile / Compile (push) Successful in 3m46s
2023-05-30 21:41:26 +03:00
Lewis Jackson
7264f696e6 I bet it doesn't fucking alias python -> python3
Some checks failed
Compile / Compile (push) Failing after 2m7s
2023-05-30 21:37:45 +03:00