-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enchancement: Bridge notifications only locally #233
Comments
Expanding bridge notifications like you've said seems like a reasonable plan. Needs a little bit of thought as to how it will work with the existing settings. |
This update adds an option to only publishes bridge notification messages to the local side of the bridge. It adds a config file option called notifications_local_only that accepts a boolean value, defaults to false to be consistent with existing behaviour. Fixes eclipse#233 Signed-off-by: Ben Hardill <[email protected]>
This update adds an option to only publishes bridge notification messages to the local side of the bridge. It adds a config file option called notifications_local_only that accepts a boolean value, defaults to false to be consistent with existing behaviour. Fixes eclipse#233 Signed-off-by: Ben Hardill <[email protected]>
This update adds an option to only publishes bridge notification messages to the local side of the bridge. It adds a config file option called notifications_local_only that accepts a boolean value, defaults to false to be consistent with existing behaviour. Fixes eclipse#233 Signed-off-by: Ben Hardill <[email protected]>
I think there might be a problem here. Yesterday I tried Ben's patch and set |
I added a comment to 740b710 as well. I can confirm that I don't get the 0 state when the bridge connection is lost, only the 1 when it's established. using mosquitto devel branch |
Would it be possible to introduce a configuration that would publish bridge state only locally (0 | 1). A remote broker does not allow retained messages to be published. However the notifications can be used on a device. E.g. I was thinking to make Raspberry Pi senseHAT App that would monitor the notification and then make it into LED light ( green | red ) based on state.
The text was updated successfully, but these errors were encountered: