firmware icon indicating copy to clipboard operation
firmware copied to clipboard

[Feature Request]: Granular and Configurable Notification System

Open dragon1020 opened this issue 1 year ago • 0 comments

Platform

Cross-Platform

Description

  1. Current Problem and Use Case

The current notification system is inconvenient and lacks flexibility. All incoming messages trigger the same alert (buzzer, vibration, LED) without distinction. This makes it impossible to discern the message's priority or type without looking at the device screen.

A practical example: A user might want a loud, distinct alert for a direct message, a less intrusive one for a group chat, and a special "alarm" pattern for a Bell character, all while having the device in their pocket.

  1. Proposed Solution

Decouple the buzzer, vibration motor, and LED notification settings and allow them to be configured individually for different events.

2.1. Separate Activation and Patterns

  • Buzzer: Separate on/off toggle. Ability to select a pattern (e.g., a sequence of short and long beeps).
  • Vibration: Separate on/off toggle. Ability to select a pattern (e.g., short buzz, long buzz, double buzz).
  • LED: Separate on/off toggle. Ability to select a pattern (e.g., slow blink, fast blink, triple blink).

2.2. Configurable Events

The above settings should be configurable for the following specific events:

  • Direct Message (A private/direct message)
  • Group Message (A message in a group chat)
  • Bell Received (Reception of the Bell character, ASCII 0x07)

(The generic "any packet received" event is intentionally omitted to avoid unnecessary noise from system traffic like nodeinfo).

2.3. Global "Do Not Disturb" (DND) Mode

A global toggle to disable all audible and tactile notifications (Buzzer and Vibration), while optionally still allowing LED indicators. This would be essential for meetings or nighttime operation.

  1. Suggested Default Settings

To provide a great out-of-the-box experience, we suggest the following default patterns:

Direct Message:

  • Buzzer: ON (Pattern: Triple-beep)
  • Vibration: ON (Pattern: Long)
  • LED: ON (Pattern: Slow Blink)

Group Message:

  • Buzzer: ON (Pattern: Single short beep)
  • Vibration: ON (Pattern: Short)
  • LED: ON (Pattern: Single Blink)

Bell Received:

  • Buzzer: ON (Pattern: Double-beep)
  • Vibration: ON (Pattern: Double pulse)
  • LED: ON (Pattern: Fast Blink)

This setup would provide immediate, context-aware feedback, significantly improving usability.

dragon1020 avatar Nov 07 '25 13:11 dragon1020