SQFMI
ffc7de15b8
Add WiFi info to About Watchy
2023-04-28 15:33:15 -04:00
SQFMI
9c50085077
Add offline sensor read icon
...
Added new icon to indicate internal sensor reading when not connected to WiFi
2023-04-28 14:59:41 -04:00
Adam Minchinton
0e319fe3e7
Reset weather counter on Wifi connection
2023-02-14 20:22:05 +01: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
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
2cdfeaa0d1
Merge pull request #199 from sqfmi/dev
...
Dev
2022-12-26 12:53:02 -05:00
SQFMI
9a64af8b3d
Merge pull request #178 from DarkZeros/OptimizeDisplay
...
Optimise GxEPD2 Display
2022-12-26 12:21:00 -05:00
SQFMI
472eee733d
Merge branch 'master' into fix/gmtOffset_from_weather
2022-12-26 12:15:56 -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
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
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
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
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
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
Aneesh Durg
8f55e2f694
Format all files
2022-04-28 20:17:00 -05:00
sqfmi
3c9afbb6d2
update to 1.4.0
...
moved pin definitions to pins_arduino.h
2022-01-19 21:38:26 -05:00
Lyndon Nerenberg
7bd9cf3ab0
Tag lib version with 'dev' for the dev branch and tighten up the
...
About menu to allow for longer lib version strings.
2022-01-15 19:58:58 -08:00
sqfmi
f79f7482c1
use units params so it can be overridden
2022-01-12 19:23:02 -05:00
наб
a7637604b4
Properly handle metric temperature w/o wifi
2022-01-11 00:09:58 +01:00
sqfmi
c5b43d2eac
small tweaks to "About Watchy"
2022-01-06 17:20:57 -05:00
Lyndon Nerenberg
bf7425c7dc
Add an "About Watchy" menu item.
...
This replaces "Check Battery" and adds the following info:
* Firmware version
* RTC chip type
The firmware version is #defined in Watchy.h. There might be a
way to do this that's friendlier to the library release process,
but I'll leave that up to the people who actually build the releases.
I plan to extend the About menu with some radio-related info as
I work on getting BLE pairing working with my iPhone.
2022-01-05 00:25:22 -08:00
sqfmi
de126cd292
Updated NTP to use NTPClient.h
2022-01-03 21:41:36 -05:00
SQFMI
2bfe297e7b
change line endings
2021-12-30 23:16:03 -05:00
sqfmi
9f0ce88057
user definable settings
2021-12-30 22:47:38 -05:00
sqfmi
eb89c09a31
moved NTP sync to main Watchy lib
2021-12-30 13:02:40 -05:00
sqfmi
a454e65ba2
add NTP to menu
2021-12-30 01:50:13 -05:00
sqfmi
12915a48e6
Native NTP support & bug fixes
...
- Added native NTP sync support
- Fixed bug with WiFi AP not working due to busy lightsleep callback
- Removed year offsets and use TimeLib macros for consistency
2021-12-29 02:06:38 -05:00
Guðni Þ. Björgvinsson
9434ffd1fc
Fixes issue #129 - stops writing over previous text
2021-12-26 20:17:21 +00:00
SQFMI
afb2e23dea
Merge branch 'master' into light_sleep_display
2021-12-12 17:12:31 -05:00
SQFMI
b794d8ee79
Moved clear alarm function
2021-12-12 16:43:38 -05:00
Daniel Ansorregui
76e202739d
Set all pins to INPUT before deep sleep
...
* Some pins otherwise are left as output
And their value is kept in deep sleep
This can cause power usage in deep sleep
* From my measurements 0.13mA
Or, 3mAh / day extra usage
2021-12-11 16:19:09 +00:00
Daniel Ansorregui
d66f848ba6
Optimize display update
...
* Hibernate should only be called before deep sleep
* Init should only be called once and notify the last init
* Set up init properly with 10ms reset and pulldown
* Use GxEDP2 1.4.0 library new busy callback
to trigger a lightsleep in the mean time
Saving 600ms of CPU time per update, (12mAs/minute)
That is -4mAh per day savings
2021-12-11 14:32:29 +00:00
sqfmi
ac82f48c45
fixed freeze bug
2021-12-03 11:11:00 -05:00
sqfmi
8fb1902cbe
fixed setting datetime
2021-12-01 22:04:52 -05:00
sqfmi
7a28210b41
fixed bugs and change temp. sensor
2021-12-01 18:34:42 -05:00
sqfmi
6363caeac2
auto switch ADC pin
2021-11-29 17:01:25 -05:00
sqfmi
241f568e71
Fix RTC
...
- Added RTC scan
- Support for both RTCs in abstraction lib
2021-11-29 02:34:21 -05:00
SQFMI
2f12a2babd
Merge pull request #87 from clayton-rogers/change-battery-adc-call
...
Change to more accurate ADC call
2021-08-25 21:20:53 -04:00
Clayton Rogers
d2d4ea4d08
Change to more accurate ADC call
2021-07-31 18:47:13 -04:00