Commit Graph
50 Commits
Author SHA1 Message Date
liquidraver e855706abb move showalert after saveprefs 2025-12-17 21:27:22 +01:00
fdlamotteandGitHub 01f7a3c95e Merge pull request #1057 from liquidraver/wiodev
Disable screen switching on when connected
2025-12-04 11:10:51 +01:00
ripplebizandGitHub 0082149c60 Merge pull request #996 from mattzzw/dev
Add display of IP address to companion screen
2025-12-03 13:52:48 +11:00
ripplebizandGitHub acc32aa166 Merge pull request #1156 from csrutil/persist-gps
Persist GPS enabled state to preferences
2025-12-02 21:50:21 +11:00
Rastislav Vysoky 052f17738c add default LED_STATE_ON for boards that don't have it defined 2025-11-30 10:52:33 +01:00
csrutil 39503ad0b4 move GPS preference initialization to UITask 2025-11-29 18:35:34 +08:00
csrutil c641beabd3 https://github.com/meshcore-dev/MeshCore/issues/989 - persist GPS enabled state to preferences
Add GPS configuration to NodePrefs structure and persist the GPS
enabled state when toggled via UI. This ensures GPS settings are
retained across device restarts.
2025-11-29 16:37:23 +08:00
Florent 1c0017b634 thinknode_m5: gps support 2025-11-28 13:15:11 +01:00
Florent ee4e87c3ee thinknode_m5: manage baclight 2025-11-28 10:33:19 +01:00
ripplebizandGitHub 13bf82f1c4 Merge pull request #1130 from zaquaz/buzzer-feature-pr
Added buzzer config persistance across restart
2025-11-27 16:04:44 +11:00
Frieder Schrempf 048bd268a1 companion: ui: Respect LED_STATE_ON for status LED
The current logic only works for active high LEDs. Some boards need
an active low level control and therefore they set LED_STATE_ON to 0.
Take this into account and use the correct LED pattern for both cases.

Signed-off-by: Frieder Schrempf <frieder@fris.de>
2025-11-22 15:05:08 +01:00
Jaroslav ŠkarvadaandFrieder Schrempf 07e7e2d44b companion: Suspend radio when hibernating
This should significantly reduce power consumption in hibernation.

Fixes: #1014

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Signed-off-by: Frieder Schrempf <frieder@fris.de> # generalize for all radios and UIs
2025-11-22 15:05:01 +01:00
zaquaz 2bd47de3b9 Added buzzer config persistance accross restart 2025-11-20 19:02:32 -08:00
liquidraver eae16cfc5f less unnecessary comments, less lines of code :) 2025-11-03 21:39:35 +01:00
liquidraver 397d280c3b stop OLED powering on every message if connected to phone 2025-11-03 21:25:31 +01:00
Adam Mealings c13b4ae481 Analogue button delay based on millis 2025-10-31 13:04:59 +00:00
Matthias Wientapper f339c74bb4 * Add #ifdef, reuse variable 2025-10-27 17:58:29 +01:00
Matthias Wientapper a38418e09a * Add display of IP address to companion screen 2025-10-22 20:01:15 +02:00
Florent 7d62a27836 uitask: bring back buzzer toggle on tracker l1 2025-10-18 13:40:01 +02:00
Scott Powell cd920693ec * UITask: new UI_HAS_JOYSTICK
* MomentaryButton: new constructor 'multiclick' param
* WIoTrackerL1: now just use joystick, joystick press for KEY_ENTER, no multi-click for snappier UI
2025-10-16 17:33:22 +11:00
Florent de Lamotte 18bfc2d81a DisplayDriver: introduce drawTextRightAlign and drawTextLeftAlign 2025-10-01 18:07:59 +02:00
Florent db7635102d gps_page: enable if gps enabled 2025-09-28 09:43:28 +02:00
Florent 76aa7cf488 ui_task: initial gps page 2025-09-23 12:08:34 +02:00
Scott Powell 384b02bec4 * GenericVibration: code style refactor 2025-09-18 13:19:54 +10:00
ripplebizandGitHub b3e9fd76ce Merge pull request #708 from csrutil/feature/vibration-feedback
 feat: add vibration feedback system
2025-09-18 13:12:36 +10:00
csrutil 6f8ce425d8 remove the unnecessary blank line 2025-09-17 09:19:18 +08:00
csrutil 043f37a08e ♻️ refactor: unify UI notification methods into single notify() function
Consolidates soundBuzzer() and triggerVibration() into a unified notify() method
that handles both audio and haptic feedback based on UIEventType.
2025-09-17 08:56:18 +08:00
csrutil 2da50882c0 feat: add vibration feedback support for UI events
- Add genericVibration class with 5-second cooldown and 1-second pulse
- Integrate vibration triggers for new messages and contact discoveries
- Add conditional compilation support with PIN_VIBRATION guard
- Implement abstract interface for vibration in UITask system
2025-09-17 08:56:18 +08:00
Michael Hart bd6aa983a3 feat: add DisplayDriver methods for UTF-8 filtering and text ellipsis
- Add translateUTF8ToBlocks() method to convert UTF-8 characters to displayable blocks
- Add drawTextEllipsized() method for text truncation with ellipsis
- Apply UTF-8 filtering to node names, recent contacts, and message content
- Use ellipsized text rendering for recent contacts to prevent overflow
- Addresses PR feedback by moving text processing to DisplayDriver level
2025-09-16 17:17:15 -07:00
Florent de Lamotte d83cdc501f ui: use LPPDataHelper and conditionals for sensors page 2025-09-09 16:32:41 +02:00
Florent de Lamotte 2d4b77c998 Merge remote-tracking branch 'upstream/dev' into ui_sensors_page 2025-09-09 15:36:14 +02:00
Florent de Lamotte 8fdaaceb1c ui: refresh sensors on gps toggle 2025-09-05 15:35:04 +02:00
Florent de Lamotte f974cb2a4f ui: ENTER on SENSORS page toggles gps 2025-09-05 15:32:02 +02:00
Florent de Lamotte 2d651221c4 ui: sensors page 2025-09-05 15:20:52 +02:00
recrof 5b2c1715f4 lilygo t-echo cleanup, add AUTO_SHUTDOWN_MILLIVOLTS 2025-09-04 21:45:42 +02:00
ripplebizandGitHub 5782c2e799 Merge pull request #720 from oltaco/newui-multiclick-toggles
new-ui: add double/triple clicks, buzzer and gps toggle functions
2025-09-04 13:41:54 +10:00
Florent 9f97edcb21 gxepd: use a crc to track damage ! 2025-09-03 18:17:37 +02:00
Florent cb3049e706 cleanups (remove statics and typos) 2025-09-03 17:41:05 +02:00
taco 96a71bb21b alter keycode keycode handling 2025-09-03 16:28:58 +10:00
taco a9ab1f072a increase gps/buzzer alert times
600 is a bit short for eink
2025-09-03 14:02:35 +10:00
taco 43c3105bf1 wake screen on double and triple clicks 2025-09-03 08:31:38 +10:00
taco ce31fd7c57 multi click support including buzzer toggle 2025-09-03 08:25:59 +10:00
Florent de Lamotte 3cdf2f9b4d techo: display backlight behavior 2025-09-02 11:43:48 +02:00
Scott Powell 74722c24b8 * MomentaryButton: added support for analog button (with threshold)
* RAK: support for PIN_USER_BTN_ANA
2025-09-01 17:11:55 +10:00
liamcottle 18ef1ba804 add low battery shutdown alert for thinknode m1 2025-08-30 23:09:01 +12:00
Scott Powell cb96503b92 * Companion: new-ui, power off now labelled "hibernate" 2025-08-23 14:45:18 +10:00
taco cb8ca91d27 WioTrackerL1: add joystick left and right for new UI 2025-08-17 19:01:28 +10:00
Florent b332b06304 techo_ui: some tweaks 2025-08-17 08:52:57 +02:00
Scott Powell e14b022a7c * original UITask now in /ui-orig folder 2025-08-16 21:09:35 +10:00
Scott Powell acde9921b5 * Refactor of UITask, moved to /ui-new 2025-08-16 20:04:54 +10:00