Send Pushover notifications with pictures and hyperlinks

Please forgive me for my ignorance. But when you say blue iris action what does that specifically mean?
Example:
Camera settings > Alert tab > 'On alert' button > displays an 'Action set' dialog
1726790300077.png

Each entry in the 'Action set' is an 'Action'
The screenshot shows the dialog for the 1st Action in the Action set
 
Example:
Camera settings > Alert tab > 'On alert' button > displays an 'Action set' dialog
View attachment 203444

Each entry in the 'Action set' is an 'Action'
The screenshot shows the dialog for the 1st Action in the Action set
Okay so the syntax is being run in an action set in blue iris. So I am guessing my macros are not configured correctly because I changed the location of folders from the db instead. Will try to revert to default and update.
 
Few questions trying to get a understanding here why I'm having issues via Pushover:
I'm using Tailscale to connect while I'm not at home and am using the following to test with
-s --form-string "token=redacted" --form-string "user=redacted" --form-string "message=<b>&CAM</b> &MEMO" --form-string "html=1" --form-string "device=motog545g" --form-string "url_title=UI3" --form-string "url=&WAN/ui3.htm?r=&ALERT_DB&m=1&p=Jpeg%20HD" -F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH"

If I try to test an alert via Cam Settings, Alert, On Alert I don't receive anything, originally I did receive two alerts but nothing since, they also didn't have a preview of the alert just a grey envelope.

edit so I've just got it to work again, but it still doesn't trigger a preview image just a grey envelope, also the URL link is pointing to my public IP, I would think it should be hitting my Tailscale IP as the endpoints on there match what my BlueIris server is?
 
Last edited:
Update, I've got it working, how do I add my wife to the same Pushover that I have or is the best way to do it is with creating a Delivery group and then using the delivery group key in the code? I assume that we would both then need to purchase the Pushover application as well?
 
F
Example:
Camera settings > Alert tab > 'On alert' button > displays an 'Action set' dialog
View attachment 203444

Each entry in the 'Action set' is an 'Action'
The screenshot shows the dialog for the 1st Action in the Action set
Finally got push notications to work- the alert_path macros wasnt resolving so I just reverted all the storage settings to default. But whenever I click on the hi-res jpeg or the ui3 it all just times out in the browser. I am guessing I have something wrong with my web server set-up. any advice? but the alerts are spot on and are working!
 
Update, I've got it working, how do I add my wife to the same Pushover that I have or is the best way to do it is with creating a Delivery group and then using the delivery group key in the code? I assume that we would both then need to purchase the Pushover application as well?
I’d try spending the extra $5 for the spouse’s Pushover app, then try the Delivery Group option.

This issue has never crossed my radar. My spouse hasn’t been interested in receiving even MORE notifications.

Thanks for the heads-up, as I had never noticed the Delivery Group option until now. If you get it working, please let us know if it works out of the box, or requires more effort than it appears here
 
  • Like
Reactions: natharas
Few questions trying to get a understanding here why I'm having issues via Pushover:
I'm using Tailscale to connect while I'm not at home and am using the following to test with
-s --form-string "token=redacted" --form-string "user=redacted" --form-string "message=<b>&CAM</b> &MEMO" --form-string "html=1" --form-string "device=motog545g" --form-string "url_title=UI3" --form-string "url=&WAN/ui3.htm?r=&ALERT_DB&m=1&p=Jpeg%20HD" -F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH"

If I try to test an alert via Cam Settings, Alert, On Alert I don't receive anything, originally I did receive two alerts but nothing since, they also didn't have a preview of the alert just a grey envelope.

edit so I've just got it to work again, but it still doesn't trigger a preview image just a grey envelope, also the URL link is pointing to my public IP, I would think it should be hitting my Tailscale IP as the endpoints on there match what my BlueIris server is?
The syntax looks ok to me.

When you say ‘test’, you are actually walking in front of the cameras - right? The Action does not work if you are using only the Action Set lightning bolt icon.

To restore the picture, you might try the options discussed in post 655.
And some users have found it necessary to add argument --ssl-no-revoke.

It’s been awhile now, but when I last used TailScale, I recall that I had to enter the BI PC’s TailScale address and BI web server port in the WAN field in the Blue Iris Settings > Web server tab.
 
Last edited:
  • Like
Reactions: natharas
Few questions
I’d try spending the extra $5 for the spouse’s Pushover app, then try the Delivery Group option.

This issue has never crossed my radar. My spouse hasn’t been interested in receiving even MORE notifications.

Thanks for the heads-up, as I had never noticed the Delivery Group option until now. If you get it working, please let us know if it works out of the box, or requires more effort than it appears here

Shall let you know how I go with the delivery group option, won't have a chance to look at it now till the weekend.
 
All my cameras have been setup for Pushover as described in the posts found in this very instructive thread. Went for a walk around my backyard.
Photo 1 : The screen capture of the detections made by BI that are shown on the BI app
Photo 2 : The only alert received on my phone

Question : Is photo 2 showing an alert from BI app or PO?

Thanks
 

Attachments

  • Photo 1.jpg
    Photo 1.jpg
    190.2 KB · Views: 47
  • Photo 2.jpg
    Photo 2.jpg
    182.9 KB · Views: 43
Last edited:
All my cameras have been setup for Pushover as described in the posts found in this very instructive thread. Went for a walk around my backyard.
Photo 1 : The screen capture of the detections (All good) made by BI that are shown on the BI app
Photo 2 : The only alert received on my phone
Question : Is photo 2 showing an alert from BI app or PO?
Photo 2 is a Blue Iris notification.

Did you confirm that the Pushover app on your phone is receiving notifications when sent from your Blue Iris PC via the curl command in cmd.exe? See section Testing using the Windows Command Prompt in post #1.
 
I did the test suggested in post #1 and did not receive anything on my phone. So something is not right somewhere.
Any clue?
Photo 3 and 4 : Capture of Action Set parameters
Photo 5 : Parameters in Configure Run Action
 

Attachments

  • Photo 3.jpg
    Photo 3.jpg
    22.8 KB · Views: 40
  • Photo 4.jpg
    Photo 4.jpg
    44 KB · Views: 37
  • 1727365030295.png
    1727365030295.png
    85.2 KB · Views: 38
  • Photo 5.jpg
    Photo 5.jpg
    46.8 KB · Views: 40
Last edited:
I did the test suggested in post #1 and did not receive anything on my phone. So something is not right somewhere.
Any clue?
Photo 3 and 4 : Capture of Action Set parameters
You need to share the actual command that you are testing in cmd.exe. Not a screen grab of cmd.exe, but the actual command text, preferably in a code block.

1727365063035.png
 
I did C:\Windows\system32>curl.exe and right here the text found in picture 5 of my preceding reply
If you are using the exact text in your picture 5 to execute the curl command in cmd.exe, then it will fail.

Key Points:
  1. The Blue Iris macros are expanded only when executed via a Blue Iris Action. In cmd.exe testing you'll need to replace them with actual values.
  2. The -attachment= argument must point to a JPG file that actually exists in your Alerts folder.
 
  • Like
Reactions: looney2ns and Oneup
@jaydeel I think there's a small bug in your script.
I'm trying to not resize the image so your code mentions setting both Quality=100 and Width=0, but digging into the code I see that a third requirement is that TargetKB must be zero. This is due to function ResizeImage at line 496.
That's not the bug. The bug is at line 1278 when parsing the input. When I supplied arg "-Width 0", the conditional at line 1278 is
Code:
if ($Width) {
which ignores the passed in Width=0 because "if (0)" equates to false. I'm not a powershell coder, so chatgpt tells me it should be this:
Code:
if ($PSBoundParameters.ContainsKey('Width') -and $Width -ge 0) {
With that code change in place and applying all three args, I get my desired non-resized pushover image.
Code:
-Quality 100 -Width 0 -TargetKB 0
Thank you for your work
 
  • Like
Reactions: jaydeel
@jaydeel I think there's a small bug in your script.
I'm trying to not resize the image so your code mentions setting both Quality=100 and Width=0, but digging into the code I see that a third requirement is that TargetKB must be zero. This is due to function ResizeImage at line 496.
That's not the bug. The bug is at line 1278 when parsing the input. When I supplied arg "-Width 0", the conditional at line 1278 is
Code:
if ($Width) {
which ignores the passed in Width=0 because "if (0)" equates to false. I'm not a powershell coder, so chatgpt tells me it should be this:
Code:
if ($PSBoundParameters.ContainsKey('Width') -and $Width -ge 0) {
With that code change in place and applying all three args, I get my desired non-resized pushover image.
Code:
-Quality 100 -Width 0 -TargetKB 0
Thank you for your work
Thanks for the catch. I'll post an update soon.
 
I seem to be missing image generation when an alert is being sent out.
I managed to get pushover_resize.ps1 working on a clean pc, with newly installed Blue Iris 5, using a test camera. But when I manually eyeball-copied from this new setup back into an existing working copy of Blue Iris 5, the pushover messages are coming through but the powershell script complains about missing images. And indeed the Alerts folder is missing any images.
Can some kind person tell me which setting I need to flick on to get the images generated.

Thank you.