December 3, 20196 yr I setup notifications to go to Pushover. The problem is that the notifications go to ALL devices configured in Pushover. I have a lot of different devices configured in there, and don't want the notifications to go to all of them. Rather, I would like them to go to one specific device. Is there any way to do that?
December 3, 20196 yr Unsetup the other devices? Or set the app to ignore notifications on those devices? 😁
August 19, 20241 yr Old thread, but posting for anyone else who needs this information. Edit pushover.sh in /boot/config/plugins/dynamix/notifications/agents/ to include -F "device=my device" \. Change my device to whatever your device name is within the Pushover dashboard. #!/bin/bash ############ USER_KEY="user key" APP_TOKEN="app token" MESSAGE="$EVENT\n$SUBJECT\n$DESCRIPTION" ############ MESSAGE=$(echo -e "$MESSAGE") case "$IMPORTANCE" in 'normal' ) PRIORITY="-1" ;; 'warning' ) PRIORITY="0" ;; 'alert' ) PRIORITY="1" ;; esac curl -s -k \ -F "token=$APP_TOKEN" \ -F "user=$USER_KEY" \ -F "device=my device" \ -F "message=$MESSAGE" \ -F "timestamp=$TIMESTAMP" \ -F "priority=$PRIORITY" \ -F "html=1" \ https://api.pushover.net/1/messages.json 2>&1
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.