Skip to content

Conversation

@ford-jones
Copy link
Collaborator

@ford-jones ford-jones commented Sep 23, 2025

Resolves #7943

Introduces mechanisms to mute message notifications received from certain nodes.
When a message is received from a muted node, the device's buzzer (if present) should not be activated. Drawing of any alert UI notification to the device's screen should also be blocked.

The exception to this is bell alerts (when activated), which should still sound the buzzer and display a notification.

It should be noted that this behaviour is distinctly different to ignoring a node - an action which blocks the message entirely. Muted messages can still be viewed in the messages menu of the device or client application, they are just delivered discreetly - similar to muting a channel.

  • Buzzer always sounds when no nodes are muted
  • OLED popup always displays when no nodes are muted
  • When a specific node is muted, messages received from that node don't invoke the buzzer or a popup

Protobuf changes: meshtastic/protobufs#779
Python CLI Changes: meshtastic/python#822
Docs: meshtastic/meshtastic#2038

🤝 Attestations

  • I have tested that my proposed changes behave as described.
  • I have tested that my proposed changes do not cause any obvious regressions on the following devices:
    • Heltec (Lora32) V3
    • Seeed Studio T-1000E tracker card
    • LilyGo T-Deck

@ford-jones ford-jones changed the title Mutes: Nodes Mute: Nodes Sep 23, 2025
@ford-jones
Copy link
Collaborator Author

@garthvh Here's the one for nodes, should we revisit this in future.
Will leave it in draft for now.

@ford-jones ford-jones added enhancement New feature or request module Modules not otherwise mentioned - rangetest, serial, dropzone, neighbourinfo, storeforward labels Oct 19, 2025
@ford-jones ford-jones self-assigned this Oct 19, 2025
@ford-jones ford-jones marked this pull request as ready for review November 6, 2025 10:51
@ford-jones
Copy link
Collaborator Author

@garthvh the is_muted flag has now been added to NodeInfo, let me know if this checks out 👍

/* Tell the node to store UI data persistently. */
meshtastic_DeviceUIConfig store_ui_config;
/* Set specified node-num to be ignored on the NodeDB on the device */
uint32_t set_ignored_node;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the protobufs have been updated, we shouldn't see the changes in here. Someone probably needs to do a protobuf merge from master or something ...

Copy link
Collaborator Author

@ford-jones ford-jones Nov 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Not sure I'm understanding correctly.
These protobuf additions (set_muted_node and remove_muted_node) were added by me and pertain to this pull request. This stuff here is the result of running regen-protos.sh.

Is that what you're referring to?

The protobuf changes are here: meshtastic/protobufs#779

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally the protobuf changes are merged into the repo separately through an automated process, so individual patches shouldn't need to carry the changes...

Copy link
Collaborator Author

@ford-jones ford-jones Nov 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hear ya, that's why I opened the proto PR. I'm just a little confused as this file we're discussing is one of the generated/meshtastic/*.pb.h. Should these not be checked in? Otherwise this wouldn't build or pass the CI.

Happy to jump in a call to get on the same page when you're next available 🙂
Sorry if I'm totally misunderstanding.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New, you're right - since the protobuf was released they should be here, and so these changes would just magically disappear . But it's not, so the automation is not working.

@ford-jones ford-jones requested a review from fifieldt November 16, 2025 21:54
@ford-jones
Copy link
Collaborator Author

@thebentern here's the PR we were chattin about on the phone today 🙂

@ford-jones
Copy link
Collaborator Author

ford-jones commented Nov 28, 2025

@fifieldt let me know if this is looking better to you, I just resolved a conflict in the protobuf submodule's ref's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request module Modules not otherwise mentioned - rangetest, serial, dropzone, neighbourinfo, storeforward

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Mute Notifications for Specific Chats

2 participants