Skip to content

feat: Add config option for payload on bridge notification - #3737

Open
jmrt47 wants to merge 1 commit into
eclipse-mosquitto:masterfrom
jmrt47:feat/notification-payload
Open

jmrt47 wants to merge 1 commit into
eclipse-mosquitto:masterfrom
jmrt47:feat/notification-payload

Conversation

@jmrt47

@jmrt47 jmrt47 commented Sep 8, 2026

Copy link
Copy Markdown

Summary

Add support for custom bridge notification payloads with the new config options:

  • notification_payload_up
  • notification_payload_down

This allows bridge state notifications to use configurable payload values, including values with spaces, instead of the default payloads. Config is optional and defaults to the previous values 1 and 0.

This partially implements: #214

Changes

  • Added config parsing for notification_payload_up and notification_payload_down
  • Updated bridge notification handling to publish the configured up/down payloads
  • Added broker test coverage for the new behavior
  • Updated config/docs examples

  • Have you signed the Eclipse Contributor Agreement, using the same email address as you used in your commits?
  • Do each of your commits have a "Signed-off-by" line, with the correct email address? Use "git commit -s" to generate this line for you.
  • If you are contributing a new feature, is your work based off the develop branch?
  • If you are contributing a bugfix, is your work based off the fixes branch?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run make test with your changes locally?

Signed-off-by: Jonas Martin <jonasmartin94@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant