-
-
Notifications
You must be signed in to change notification settings - Fork 32.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
Add MQTT notify platform #64728
Merged
Merged
Add MQTT notify platform #64728
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
probot-home-assistant
bot
added
core
has-tests
integration: mqtt
new-feature
new-platform
labels
Jan 22, 2022
Hey there @emontnemery, mind taking a look at this pull request as it has been labeled with an integration ( |
8 tasks
emontnemery
reviewed
Feb 16, 2022
emontnemery
reviewed
Feb 16, 2022
emontnemery
reviewed
Feb 17, 2022
Co-authored-by: Erik Montnemery <[email protected]>
Co-authored-by: Erik Montnemery <[email protected]>
emontnemery
reviewed
Feb 17, 2022
emontnemery
reviewed
Feb 18, 2022
emontnemery
approved these changes
Mar 8, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @jbouwh 👍
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed change
Add new MQTT platform
notify
.The platform implements a MQTT notify service that supports setup from configuration.yaml and auto discovery.
The platform does not generate entities but does support a device payload to be sent in auto discovery mode.
The device will be created at discovery and will be automatically be removed if the device is unregistered with an empty discovery payload. If the device is removed from the device registry it will also remove the registered notify services.
A device can support displaying notification message through a LCD or OLED screen. The notify service can be discovered automatically and message can be send from automation scripts.
The current MQTT notify documentation page is also updated.
Some real-time other applications are:
https://github.com/jpmens/mqttwarn
https://support.kaspersky.com/IoTSecureGateway/2.0/en-US/193697.htm
https://github.com/maxbachmann/mqtt-mm2-gateway a gateway to https://github.com/MichMich/MagicMirror
MQTT can be used natively for other integrations to subscribe for notitications.
https://www.academia.edu/44759428/Secure_Push_notification_service_based_on_MQTT_Protocol_for_mobile_platforms
Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: