Commit Graph

216 Commits (c3587d04a7c2269ad9daadd5472f0ed37467ca5a)

Author SHA1 Message Date
sqfmi c3587d04a7 Update config.h 2023-01-12 07:43:09 -05:00
sqfmi ce71292ea9 Add new watchface and uptime 2023-01-12 07:40:27 -05:00
sqfmi e5556cb700 Merge branch 'dev' 2022-12-30 02:01:35 -05:00
SQFMI 83aada6452
Merge pull request #201 from sukhpalhub/wifi-feature
Issue #89 Added mac address and local ip
2022-12-30 01:57:52 -05:00
Sukhpal Singh 3a7eff4a8e Remove wifi setup guide from readme 2022-12-30 14:23:32 +10:00
SQFMI aaa3d91113
Merge pull request #202 from khenderick/feature/weather-source
Keep track on weather source
2022-12-29 18:34:06 -05:00
Kenneth Henderick f49e1a5fab
Keep track on whether weather data was fetched from external source 2022-12-29 14:08:24 +01:00
Sukhpal Singh 9ac9aeded9 Issue #89 Added mac address and local ip
- Displayed mac address when setting up wifi
- Display local ip when wifi is connected from the setup
2022-12-28 01:12:48 +10:00
SQFMI ef0534e92b Update to version 1.4.5 2022-12-27 03:39:09 +00:00
SQFMI 2cdfeaa0d1
Merge pull request #199 from sqfmi/dev
Dev
2022-12-26 12:53:02 -05:00
SQFMI 7333873f08
Merge pull request #193 from Alex-K37/ambig_overload
fixed compilation error: ambiguous overload for 'operator='
2022-12-26 12:51:10 -05:00
SQFMI 9a64af8b3d
Merge pull request #178 from DarkZeros/OptimizeDisplay
Optimise GxEPD2 Display
2022-12-26 12:21:00 -05:00
SQFMI 5921655691
Merge pull request #188 from shtrom/fix/gmtOffset_from_weather
Set GMT offset from weatherdata. Will override GMT offset in settings after API call.
2022-12-26 12:16:40 -05:00
SQFMI 472eee733d
Merge branch 'master' into fix/gmtOffset_from_weather 2022-12-26 12:15:56 -05:00
SQFMI 6e41b9c982
Merge pull request #190 from shtrom/feature/exit-inactive-menu
Exit menu after some inactive time
2022-12-26 12:07:11 -05:00
Olivier Mehani dd3797f2d5
Exit menu after some inactive time
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2022-12-07 22:27:34 +11:00
Alex-K37 5e451fbf04 fixed compilation error: ambiguous overload for 'operator='
.pio/libdeps/watchy/Watchy/src/Watchy.cpp: In member function 'weatherData Watchy::getWeatherData(String, String, String, String, String, uint8_t)':
.pio/libdeps/watchy/Watchy/src/Watchy.cpp:620:48: error: ambiguous overload for 'operator=' (operand types are 'String' and 'JSONVar')
             responseObject["weather"][0]["main"];
                                                ^
In file included from /home/krupp/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:166,
                 from .pio/libdeps/watchy/Watchy/src/Watchy.h:4,
                 from .pio/libdeps/watchy/Watchy/src/Watchy.cpp:1:
/home/build/.platformio/packages/framework-arduinoespressif32/cores/esp32/WString.h:102:18: note: candidate: 'String& String::operator=(const String&)'
         String & operator =(const String &rhs);
                  ^~~~~~~~
/home/build/.platformio/packages/framework-arduinoespressif32/cores/esp32/WString.h:103:18: note: candidate: 'String& String::operator=(const char*)'
         String & operator =(const char *cstr);
                  ^~~~~~~~
2022-11-26 22:07:29 +01:00
SQFMI c5344d9d42
Merge pull request #189 from shtrom/feature/vibrate-o-clock
Vibrate every hour on the dot
2022-11-13 04:18:05 -05:00
Olivier Mehani cbb4820d85
fixup! Add opion to vibrate every hour (and on reset) 2022-10-26 23:31:36 +11:00
Olivier Mehani c750754e8a
fixup! Get gmtOffset from weather data, for use in all NTP requests 2022-10-24 22:20:12 +11:00
Olivier Mehani 5f07f2ec63
Add opion to vibrate every hour (and on reset)
Set watchySettings.vibrateOClock to true

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2022-10-16 22:30:49 +11:00
Olivier Mehani b0e405e187
Use designated initialisers for watchySettings
This [0] allows to skip obsolete fields, and generally not have to rely
on field ordering.

[0] https://www.cppstories.com/2021/designated-init-cpp20/

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2022-10-16 22:30:21 +11:00
Olivier Mehani 2bd89ef250
Get gmtOffset from weather data, for use in all NTP requests
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2022-10-16 22:29:21 +11:00
SQFMI eb43be0634
Update README.md 2022-10-14 22:37:50 -04:00
sqfmi 9e5d7ad19c Merge branch 'master' into dev 2022-10-14 22:23:24 -04:00
sqfmi 99158e19d4 v1.4.3
- add ntp sync to weather call
- removed dst param since it's not used
2022-10-14 22:23:06 -04:00
sqfmi a24b1d0945 Merge branch 'master' into dev 2022-10-08 16:23:36 -04:00
sqfmi 8adde783be update library 2022-10-08 16:22:33 -04:00
SQFMI 4c56a38f34
Merge pull request #181 from ITCactus/fix-version-about-screen
fix "LibVer" info on "About Watchy" screen
2022-10-08 02:55:25 -04:00
SQFMI 53acbe6929
Merge pull request #179 from DarkZeros/Arduino_2.0.3+_fix
Tentative fixes for 2.0.3+
2022-10-07 22:17:27 -04:00
sqfmi c5ceab1a49 Merge branch 'pr/178' into dev 2022-08-27 16:09:25 -04:00
sqfmi 5e0834f309 Merge branch 'master' into dev 2022-08-27 16:06:03 -04:00
SQFMI fdfe7ee2be
Merge pull request #177 from DarkZeros/SPI20MHz
SPI set to 20MHz
2022-08-27 16:05:25 -04:00
ITCactus 819606e892 fix "LibVer" info on "About Watchy" screen 2022-08-05 15:07:56 +02:00
Daniel Ansorregui 04126ce5f6 Tentative fixes for 2.0.3+
* Found that the Resets were caused
  by the timer wakeup being set
* Also, some pins will crash the
  device if we access them.
  Maybe they were protected in 2.0.2
  and now they are not.
2022-08-03 18:21:27 +01:00
Daniel Ansorregui 5c27f4721f Optimise GxEPD2 Display
* This change implements certain
  speed improvements on top of
  upstream GxEPD2 that are not fully
  accepted by the upstream maintainer.
* The change Adds a new WatchyDisplay class
  and implements the mods in there.

* Using transactions for SPI communication
* Remove extra delays for yield()
* Remove 10ms active waits in resets

* This reduces (874ms -> 657ms) the display
  update. Making it more responsive and
  Saving 21mJ/update or 2.6mAh/day
2022-08-03 17:08:12 +01:00
Daniel Ansorregui 561673927c Set SPI to 20MHz
* Speed up SPI transfer to the display
  by using 20Mhz instead of default 4Mhz
  This saves around 16ms = 1.5mJ/refresh
  or 2160mJ/day = 0.6mWh/day = 0.2mAh/day
  (890ms -> 874ms)
2022-08-03 11:52:52 +01:00
sqfmi 2e957fb80b Merge branch 'master' into dev 2022-07-10 12:10:28 -04:00
SQFMI 5690db077f
Merge pull request #168 from stuartpb/patch-1
PCF8563: Call rtc_pcf.getDateTime in WatchyRTC::read
2022-07-10 12:09:53 -04:00
sqfmi 44c51fce90 Merge branch 'master' into dev 2022-07-10 12:09:04 -04:00
Stuart P. Bentley 37ea6135da
PCF8563: Call rtc_pcf.getDateTime in WatchyRTC::read
Fixes #128 as noted by @neaket
2022-05-17 11:22:54 -07:00
SQFMI 3e3a8859a9
Update README.md 2022-05-07 00:06:06 -04:00
sqfmi 715a0e1bd3 fix include order 2022-05-06 23:58:07 -04:00
SQFMI 00dc02fe21
Merge pull request #162 from ajraymond/fix_missing_defines
Fix missing defines breaking compilation
2022-05-06 23:54:33 -04:00
SQFMI 4b739afbd0
Merge branch 'master' into fix_missing_defines 2022-05-06 23:54:27 -04:00
SQFMI c5ddfb4e7b
Update library.json 2022-05-06 22:29:08 -04:00
SQFMI 8440fc7960
Update library.properties 2022-05-06 22:28:55 -04:00
SQFMI 0bdbcbc348
Update README.md 2022-05-06 22:16:54 -04:00
SQFMI 433050a63a
Merge pull request #161 from aneeshdurg/formatter
Introduce and use a consistent style
2022-05-06 22:12:03 -04:00
Alexandre J. Raymond 170029672a Fix missing defines breaking compilation 2022-05-03 21:41:35 -04:00