Send Pushover notifications with pictures and hyperlinks

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.
If you have not enabled Hi-Res JPGs, or AI label markup, then Blue Iris creates short-lived temp JPGs for the ‘On alert’ actions that need images. These temp image files occasionally ‘expire’ before the script executed by the Action is finished. To avoid this scenario, try checking the following box in the Pushover action.
1726341151074.png

(learn more)

You can watch these images being created and deleted by using the trick described in this post.
 
Just got Pushover working thanks to this guide. How do I get a push notification for when a certain user logs on to BI? I havent figured that out yet.

Thank you,
Michael
 
  • Like
Reactions: jaydeel
Just got Pushover working thanks to this guide. How do I get a push notification for when a certain user logs on to BI? I havent figured that out yet.

Thank you,
Michael
Settings > Users > double-click user > Actions 'On login'
You can also add a unique Sound action. This may be more useful than a notification.
 
My BlueIris Android notifications stopped working a few weeks ago and I stumbled upon this as a workaround. I got it working except that my &WAN is actually &WAN:81 so it times out when I click the link(s) in the notification. I tried adding :81 and that broke it, so I then tried changing to &WAN%3A81 and it sees that as a BI macro. Does anyone know off hand how to add the port to the &WAN variable?

As of now, I can just manually open up the BI app and view it, but it would be nice if it worked with the URL too.

Thanks,

Jonn
 
My BlueIris Android notifications stopped working a few weeks ago and I stumbled upon this as a workaround. I got it working except that my &WAN is actually &WAN:81 so it times out when I click the link(s) in the notification. I tried adding :81 and that broke it, so I then tried changing to &WAN%3A81 and it sees that as a BI macro. Does anyone know off hand how to add the port to the &WAN variable?

As of now, I can just manually open up the BI app and view it, but it would be nice if it worked with the URL too.

Thanks,

Jonn
Macros &LAN and &WAN should exactly match the entries in the corresponding fields in the Settings > Web server tab.

Troubleshooting:
  1. Open the Settings > Web server tab
  2. Make sure 'Enable the HTTP web server on port' is checked.
  3. Try changing the port value and notice how it is automatically appended to the LAN and WAN fields
  4. Return the port field to your desired value (81 in your case)
  5. Click OK to exit the dialog.
Even after doing this, are you saying your &WAN macro expands to something like '192.168.0.14' (without the port)?
 
Pushover is working great. Is there a way to get it to alert and send notification on sound, example like a buzzer going off?

Thank you,

Michael
 
Tweaking is required. Click the Help button.
Well I couldn't get it to work for the life of me. I finally decided to shut down BI, kill the service and restarted it. Started working perfectly. Thanks again for your help.

Michael
 
Hi All - thanks for the great write-up and discussion on how to get this to work. I set this up on my pushover account, and everything is working, except that I can't get the attachment to actually show in the pushover notification. The 2 links work (the link to the high res marked up jpg, as well as the link to UI3), but pushover doesn't show a thumbnail attachment in the notification itself. I'm not sure what I'm doing wrong, so here is my command:

Code:
https://api.pushover.net/1/messages.json -s --form-string "token=%996" --form-string "user=%997" --form-string "message=<b>&CAM</b> &MEMO <a href='&WAN/alerts/&ALERT_DB?fulljpeg'>Hi-Res</a> <a href='&WAN/ui3.htm?rec=&ALERT_DB'>UI3</a>" --form-string "html=1" --form-string "device="%998" -F "attachment=@E:\alerts\&ALERT_PATH"

I confirmed that the path for my alerts folder is correct (see below), so I'm not sure what I'm doing wrong. Any insight would be greatly appreciated. Thanks!

1730757746491.png
 
Hi All - thanks for the great write-up and discussion on how to get this to work. I set this up on my pushover account, and everything is working, except that I can't get the attachment to actually show in the pushover notification. The 2 links work (the link to the high res marked up jpg, as well as the link to UI3), but pushover doesn't show a thumbnail attachment in the notification itself. I'm not sure what I'm doing wrong, so here is my command:

Code:
https://api.pushover.net/1/messages.json -s --form-string "token=%996" --form-string "user=%997" --form-string "message=<b>&CAM</b> &MEMO <a href='&WAN/alerts/&ALERT_DB?fulljpeg'>Hi-Res</a> <a href='&WAN/ui3.htm?rec=&ALERT_DB'>UI3</a>" --form-string "html=1" --form-string "device="%998" -F "attachment=@E:\alerts\&ALERT_PATH"

I confirmed that the path for my alerts folder is correct (see below), so I'm not sure what I'm doing wrong. Any insight would be greatly appreciated. Thanks!

Let's try these two things first:
  1. What's the typical size of your camera's alert JPGs? If over 2.5MB, then they are rejected by the Pushover API. If this appears to be the issue, then the solution might be my pushover_resize script.
  2. If not #1, then try checking setting 'Wait for process to complete' on the 'Run a program' action in the 'On alert' action set.
 
Let's try these two things first:
  1. What's the typical size of your camera's alert JPGs? If over 2.5MB, then they are rejected by the Pushover API. If this appears to be the issue, then the solution might be my pushover_resize script.
  2. If not #1, then try checking setting 'Wait for process to complete' on the 'Run a program' action in the 'On alert' action set.
Thanks for the quick reply!

Apologies, I forgot to mention that I did check the jpg sizes, and so far all have been under 2.5MB. For #2, I just checked that and will report back once my wife get's home and triggers the alert.
 
Thanks for the quick reply!

Apologies, I forgot to mention that I did check the jpg sizes, and so far all have been under 2.5MB. For #2, I just checked that and will report back once my wife get's home and triggers the alert.
Check out these posts for background on Blue Iris' short-lived temporary JPGs:
first
second

They matter if you are NOT saving high-res JPGs or creating AI markup images.