Commit graph

99 commits

Author SHA1 Message Date
Lewis Jackson
d318322ae5 Little refactoring: Move vibration motor functionality into features 2023-06-02 23:06:53 +03:00
Lewis Jackson
2d11d69067 Merge branch 'feature/weather-page' 2023-06-02 22:45:10 +03:00
Lewis Jackson
8d6edca411 Added backoff time in case weather updates fail 2023-06-02 22:24:00 +03:00
Lewis Jackson
74695597cf Removed unused openweathermap stuff now using wttr.in 2023-06-02 21:15:09 +03:00
Lewis Jackson
f7094077f7 Add WeatherIcons.h 2023-06-02 21:14:23 +03:00
Lewis Jackson
aa8a9193b0 Add icons for current weather, split weather icons into seperate file 2023-06-02 21:05:51 +03:00
Lewis Jackson
1b6f89faea Add fetching from wttr.in and moon display 2023-06-02 18:45:26 +03:00
Lewis Jackson
e11bcdc9cd Slight visual tweaks to weather display 2023-06-02 00:19:37 +03:00
Lewis Jackson
e91c194b98 Fix for Wday when offsetting time 2023-06-02 00:15:59 +03:00
Lewis Jackson
33dc87dfd0 Use newline geolocation api. make geolocation optional. 2023-06-02 00:04:53 +03:00
Lewis Jackson
5dea52ebe4 Move secrets.h stuff to the bottom so it can override everything 2023-06-01 21:33:44 +03:00
Lewis Jackson
5863b0db2c Add #if!def fallback for OPENWEATHERMAP_API_KEY, and compiler warning 2023-06-01 21:27:58 +03:00
Lewis Jackson
b0e5d281e0 Add city name display 2023-06-01 19:55:35 +03:00
Lewis Jackson
4e3800e332 Weather WIP 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 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 2023-06-01 17:17:57 +03:00
Lewis Jackson
93602ebb77 Timestamp bugfix 2023-06-01 16:49:57 +03:00
Lewis Jackson
67ff091775 Fixed braindead style, added a 2038+ compatible timestamp 2023-06-01 16:48:45 +03:00
Lewis Jackson
5993fda85e Add averaging to reading battery levels 2023-06-01 16:17:40 +03:00
Lewis Jackson
c1ed9a77c5 Replace inverse smoothstep with regular smoothstep for battery curve 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 2023-06-01 15:12:39 +03:00
Lewis Jackson
3e7ddb805c Add blank page for weather for now 2023-06-01 04:24:49 +03:00
Lewis Jackson
52478ec602 More formatting fixes 2023-06-01 03:39:27 +03:00
Lewis Jackson
f87d626925 Fix for drawing battery icon 2023-06-01 03:17:42 +03:00
Lewis Jackson
9e6f562287 Add stub secrets to allow compile on CI 2023-06-01 03:12:31 +03:00
Lewis Jackson
24e04577f8 Cleaning up indentation in WatchFace.cpp 2023-06-01 03:09:32 +03:00
Lewis Jackson
90c66be515 WIP refactoring 2023-06-01 03:07:52 +03:00
Lewis Jackson
1b843ce4b4 Update workflow to use preprepared docker image
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 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 2023-05-31 22:51:38 +03:00
Lewis Jackson
5aa5daac01 Clean up YML 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 2023-05-31 21:20:55 +03:00
Lewis Jackson
3ada2fb9a9 Need to init clock for timer to work properly 2023-05-31 04:21:19 +03:00
Lewis Jackson
29fa5486cb Use local bugfixed Rtc_Pcf8563 library 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 2023-05-30 21:41:26 +03:00
Lewis Jackson
7264f696e6 I bet it doesn't fucking alias python -> python3 2023-05-30 21:37:45 +03:00
Lewis Jackson
6ffaf521ff And of course python is missing 2023-05-30 21:33:34 +03:00
Lewis Jackson
22af37adc7 Missing newline 2023-05-30 21:30:56 +03:00
Lewis Jackson
bec5fb35d5 Apparently the platformio in Ubuntu isn't modern enough 2023-05-30 21:30:16 +03:00
Lewis Jackson
8fe0ed9f15 Add git to install list in workflow 2023-05-30 21:26:18 +03:00
Lewis Jackson
e76ce513d6 How can you not have curl installed by default what the fuck 2023-05-30 21:19:53 +03:00
Lewis Jackson
36455fb974 Seriously. 2023-05-30 21:18:29 +03:00
Lewis Jackson
fa62ffe384 grrr. 2023-05-30 21:16:28 +03:00
Lewis Jackson
fa61dbb4f9 Probably helps if I check out the source tree 2023-05-30 21:13:47 +03:00