Commit graph

83 commits

Author SHA1 Message Date
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
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
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
Lewis Jackson
9b84fc464a Fixed syntax 2023-05-30 21:10:51 +03:00
Lewis Jackson
64dd39deaf Still debugging... 2023-05-30 21:09:07 +03:00
Lewis Jackson
75093df1bd Debugging workspace file 2023-05-30 21:04:49 +03:00
Lewis Jackson
14c3be6da0 No, the YML file was right, the forgje docs were wrong 2023-05-30 20:27:09 +03:00
Lewis Jackson
242d26336a OK, forgejo seems to ignore the runs-on? 2023-05-30 20:04:35 +03:00
Lewis Jackson
0253052fe9 Adding universe repo wasn't necessary, just update. 2023-05-30 20:01:16 +03:00
Lewis Jackson
b5de3d25ee Docker didn't like ubuntu-jammy? 2023-05-30 19:52:09 +03:00
Lewis Jackson
619d1003e6 Specify jammy docker image 2023-05-30 19:48:45 +03:00
Lewis Jackson
e1f478fce1 Stackoverflow is wrong, again. 2023-05-30 19:40:48 +03:00
Lewis Jackson
b0921c93b5 Fucking fucks. 2023-05-30 19:37:28 +03:00
Lewis Jackson
071b03095d Fucking. 2023-05-30 19:35:59 +03:00
Lewis Jackson
737c367b9c YML syntax fix 2023-05-30 19:34:50 +03:00
Lewis Jackson
796300e465 Fucking stackoverflow people who assume you have desktop ubuntu 2023-05-30 19:32:11 +03:00
Lewis Jackson
2227385d22 Add universe repository to workflow 2023-05-30 19:19:56 +03:00
Lewis Jackson
b9c8ad5507 Runner environment doesn't have sudo. 2023-05-30 19:12:19 +03:00
Lewis Jackson
8c5392c31a Maybe the yml syntax was fucked? 2023-05-30 19:09:57 +03:00