-
Notifications
You must be signed in to change notification settings - Fork 19
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
Notification customization options #61
Comments
Hey ! I was going to try and get notifications to work via the addon that I helped make. |
That would be neat. I think with Home Assistant it could just be as easy as writing a template that can ingest the MQTT notification from birdCAGE. However, if the notification could be customized in birdCAGE directly, it could have generality to other notification services. |
I'd rather not build notification customization into birdcage as my gut feeling is that it is a more general capability (reformatting an MQTT message) that could be done somewhere else. I would be open to making it more parse-able so that other software (like the HA addon) could more easily make use of it. What do you think Matt? Would it be better if the payload was JSON or something like that? |
Unless I'm mistaken, apprise can output in a json format. So just use apprise as the general notification server and keep it simple. There are a couple templates floating around for Birdpi / apprise / templates so shouldn't be too different. How much data is easily available for apprise to parse? |
First, thanks for crating birdCAGE!
I have birdCAGE notifying Home Assistant via MQTT. All is good, except that I'm not knowledgeable enough to create a HA template to reformat the notification to be more readable when viewed in HA.
Here is an example of a notification that birdCAGE sends:
changed to log level bird: White-winged Dove
Common Name: White-winged Dove
Scientific Name: Zenaida asiatica
Confidence Score: 0.9559
Stream Name: Side Driveway
Time: 2023-07-21 09:34:10
It would be neat to be able to customize this message. For example, to be:
White-winged Dove - Zenaida asiatica - Confidence:0.9559
The text was updated successfully, but these errors were encountered: