Commit Graph

11 Commits

Author SHA1 Message Date
Damian Schneider
6e9dc181e1 deepsleep cleanup, use toki to check for valid time 2026-01-10 12:36:07 +01:00
elanworld
fe3a158264 Improvements to deepsleep UM (#4456)
- add touch pin option
- add wake-up on timer macro
- fix powerup behaviour: now works as intended i.e. if no sleep delay set, it enters deepsleep on powerup but only then
- apply macro after wake up even if the window is missed
- respect date-range setting of macro
- removed non-existing pin from touch list
- removed non existing voltageCheck setting
- fixed incorrect threshold setting
- code cleanup
- fix pullup/pulldown for deep-sleep GPIOs

pin init is now working correctly, tested on all platforms

* remove unused statement

---------

Co-authored-by: Damian Schneider <daedae@gmx.ch>
2026-01-10 11:28:07 +01:00
Will Miles
a8dd2435ec Revert "Usermods: Remove libArchive"
This reverts commit 0d44e7ec27.
2025-05-06 22:12:01 -04:00
Will Miles
7db52d794b Fix incorrect json value in all usermods
Must've been a bad search-and-replace on my part somewhere..
2025-03-28 21:35:37 -04:00
Will Miles
b3f9983f44 First half of usermod readme updates
Describe the new usermod enable process, and update sample
platformio_override.ini stubs.
2025-01-31 03:57:23 +00:00
Will Miles
0d44e7ec27 Usermods: Remove libArchive
This is now managed centrally.
2025-01-21 00:12:37 +00:00
Will Miles
193926c795 usermods: Remove #pragma once from cpps 2025-01-17 00:50:02 +00:00
Will Tatam
b380d5e2c7 reinstate libArchive:false 2025-01-14 00:10:55 +00:00
Will Tatam
24accf96a8 Remove now redundant build section from library.json 2025-01-13 10:53:24 +00:00
Will Tatam
90b18158fc Convert usermods from header to library 2025-01-11 21:14:20 +00:00
Damian Schneider
ae4de2782a DeepSleep usermod (#4190)
* DeepSleep Usermod

- sleep delay is now 1 by default, disabling sleep at powerup
- renamed bootup variable to powerup
- using delay counter for proper bootup
- changed power-up and bootup logic
- added fallback to always power-on at boot except at powerup
- fixed bug in settings page
2025-01-04 08:07:11 +01:00