-
-
Notifications
You must be signed in to change notification settings - Fork 146
Unable to save Apprise notification body configuration #1033
Description
I am able to save the notification body for my apprise messages. I put this into the field, and I am able to successfully send (and receive) a test message. However, when I click the "Update Settings" button, once the response comes back, the notification body is cleared.
Here is the content of the body:
{"scientificName":"$sciname","commonName":"$comname","confidenceScore":"$confidence","link":"$listenurl","date":"$date","time":"$time","week":"$week","latitude":"$latitude","longitude":"$longitude","image":"$flickrimage"}
I did have a configuration successfully saved previously, but I tried to modify it today, and it is now exhibiting this behavior.
To Reproduce
Steps to reproduce the behavior:
- Go to Tools.
- Click on Settings
- Scroll down to Notifications, and fill out "Apprise Notification Configuration" and the "Notification Body"
- Click "Send Test Notification"
- Verify that the message was sent and received
- Scroll down to the bottom
- Click "Update Settings"
- When the save completes, scroll up and observe that the "Notification Body" is now blank.
Expected behavior
The Notification Body should save and be retained in the field
Additional context
On the receiver side, I did notice that the test message that I received appeared to be escaped json
(\{"scientificName":"Anser caerulescens", ... \}
). To make sure that this wasn't a receiver side issue, I ran a test from the command line (ssh'd in)
$HOME/BirdNET-Pi/birdnet/bin/apprise -vv -b "${PAYLOAD}" "mqtt://${HOMEASSISTANT}/birdnet/sightings"
This was received without escaped {
and }
characters
Your build
Raspberry Pi 3 B+ (PCB 1.3 Sony UK)
Running version: 762732c13434c5ab81d667da952e2345a04519cb