Commit Graph
65 Commits
Author SHA1 Message Date
ripplebiz c289e500d5 Merge pull request #2966 from Quency-D/heltec-rc32
Add Heltec rc32 board
2026-07-17 23:23:29 +10:00
Florent 59d845c44d uitask: screen and radio poweroff moved to board 2026-07-17 08:29:31 -04:00
Quency-D 89856d934a Avoid waking display from rotary input 2026-07-17 15:35:07 +08:00
Quency-D 6a651edbfe Add a rotary encoder 2026-07-15 17:45:24 +08:00
Florent e4738d125e restore display and radio poweroff in ui 2026-07-06 08:46:57 -04:00
Kevin Le f4cd0d24f5 board->powerOff() is sufficient to power off radio, display, GPS and components 2026-07-05 21:22:13 +07:00
Liam Cottle 1ca66e4cd4 Merge pull request #2671 from sefinek/fix/typos-grammar-formatting
Fix typos and formatting in documentation and comments
2026-06-04 15:57:48 +12:00
Sefinek 4ace26210c docs: fix typos, grammar, and formatting in FAQ and code comments 2026-06-02 22:12:18 +02:00
taco a6f3116fc7 bypass auto-shutdown delay for e-ink devices 2026-06-02 18:37:18 +10:00
taco 7f0610fea5 NRF52: disable autoshutdown if powered, add auto-shutdown warning for oled 2026-06-02 00:55:25 +10:00
Kemal HadimliandClaude Opus 4.7 3fd0ac9f74 companion_radio: opt-in KEEP_DISPLAY_ON_USB to keep OLED on while powered
AUTO_OFF_MILLIS is a power-save feature aimed at battery use. When the
board reports isExternalPowered() == true (USB or other DC source),
blanking the screen serves no purpose — there's nothing to conserve.

But OLEDs are vulnerable to burn-in with static content, so this
behaviour is gated behind a new build flag KEEP_DISPLAY_ON_USB. Default
is unchanged from upstream — the display blanks after AUTO_OFF_MILLIS
on USB or battery. Variants that ship with an LCD instead of an OLED
(e.g. heltec_t096) can opt in by adding -D KEEP_DISPLAY_ON_USB to
their env, gaining always-on-while-powered without exposing OLED users
to burn-in risk.

When the flag is enabled, the implementation refreshes _auto_off every
loop iteration while externally powered, so the timer naturally counts
a fresh AUTO_OFF_MILLIS window from the moment power is removed —
no instantaneous-blank-on-unplug.

Applied to all three companion_radio UI flavours (ui-new, ui-tiny,
ui-orig). Boards without an isExternalPowered() override use the
base-class default in MeshCore.h (returns false), so battery-powered
behaviour is unchanged everywhere.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-29 11:25:48 +01:00
liamcottle 17dcdc1b2c don't play startup tune if buzzer pref disabled 2026-05-02 01:47:35 +12:00
Liam Cottle 68c820e0b9 Merge pull request #2436 from chrisdavis2110/rak3401-comp-ana-button
feat: Add support for PIN_USER_BTN_ANA on rak3401 companion usb and companion ble envs
2026-04-30 16:57:00 +12:00
chrisdavis2110 ede17ac0b2 added PIN_USER_BTN_ANA for rak3401 companion usb and companion ble 2026-04-28 21:26:56 -07:00
liamcottle a63326c72c added website to companion splash screen 2026-04-28 20:37:17 +12:00
Scott Powell 2b3391b9d9 * Companion: applyGPSPrefs() now just in one place (moved out of UITask) 2026-03-25 16:26:51 +11:00
Leah 61a8a69a46 Add muted icon to show when buzzer is muted 2026-02-11 10:00:20 +01:00
taco ea085401ac refactor ui with ring buffer and display most recent 2026-02-04 09:38:05 +11:00
Steven Linn f866b484aa Add battery min/max voltage parameter support 2026-01-28 22:24:49 -07:00
liquidraver 709d5ff3e6 move showalert after saveprefs 2025-12-17 21:27:22 +01:00
fdlamotte 6fa1636928 Merge pull request #1057 from liquidraver/wiodev
Disable screen switching on when connected
2025-12-04 11:10:51 +01:00
ripplebiz ba5b9cb38c Merge pull request #996 from mattzzw/dev
Add display of IP address to companion screen
2025-12-03 13:52:48 +11:00
csrutil 4f6c16440a move GPS preference initialization to UITask 2025-11-29 18:35:34 +08:00
csrutil 5dbb91b80a 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 d3c4547f4d thinknode_m5: gps support 2025-11-28 13:15:11 +01:00
Florent 25658a2e75 thinknode_m5: manage baclight 2025-11-28 10:33:19 +01:00
ripplebiz c773b33ab3 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 2f20cb73ef 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 Škarvada fe6cea2c15 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 309f58710c Added buzzer config persistance accross restart 2025-11-20 19:02:32 -08:00
liquidraver bb213b5eff less unnecessary comments, less lines of code :) 2025-11-03 21:39:35 +01:00
liquidraver 4887e818bd stop OLED powering on every message if connected to phone 2025-11-03 21:25:31 +01:00
Adam Mealings 612cff8b33 Analogue button delay based on millis 2025-10-31 13:04:59 +00:00
Matthias Wientapper 766c96f55e * Add #ifdef, reuse variable 2025-10-27 17:58:29 +01:00
Matthias Wientapper 647cf55d13 * Add display of IP address to companion screen 2025-10-22 20:01:15 +02:00
Florent 4c9340f017 uitask: bring back buzzer toggle on tracker l1 2025-10-18 13:40:01 +02:00
Scott Powell 3926242975 * 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 0ab4045da4 DisplayDriver: introduce drawTextRightAlign and drawTextLeftAlign 2025-10-01 18:07:59 +02:00
Florent d95b32d107 gps_page: enable if gps enabled 2025-09-28 09:43:28 +02:00
Florent 250114d34b ui_task: initial gps page 2025-09-23 12:08:34 +02:00
ripplebiz 4589b3fbc0 Merge pull request #708 from csrutil/feature/vibration-feedback
✨ feat: add vibration feedback system
2025-09-18 13:12:36 +10:00
csrutil d49b30fb4c remove the unnecessary blank line 2025-09-17 09:19:18 +08:00
csrutil 86e608af41 ♻️ 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 dcccf3e641 ✨ 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 a9da34f1d3 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 417f6ac2bb ui: use LPPDataHelper and conditionals for sensors page 2025-09-09 16:32:41 +02:00
Florent de Lamotte 589b786539 Merge remote-tracking branch 'upstream/dev' into ui_sensors_page 2025-09-09 15:36:14 +02:00
Florent de Lamotte 099fe61d3a ui: refresh sensors on gps toggle 2025-09-05 15:35:04 +02:00
Florent de Lamotte cac8eb7600 ui: ENTER on SENSORS page toggles gps 2025-09-05 15:32:02 +02:00
Florent de Lamotte 51cbc8ee75 ui: sensors page 2025-09-05 15:20:52 +02:00