Send Pushover notifications with pictures and hyperlinks

EDIT: solved by changing "&WAN" to "&LAN" in Blue Iris: Alerts/Pushover / Parameters Maybe there's a better way I missed, but this seems to work now.

I've lost a portion of my Pushover (with ZeroTier) use: all is good except opening a Pushover alert on my android phone, when I click on the alert photo, and then click on the "HiRes UI3" choice, instead of getting a photo or video clip I get an network error. It is trying to use the WAN address from the BI PC. That doesn't work with/without ZeroTier running, as expected. (no port forwarding) How do I tell Pushover to use the ZeroTier IP there? Does it get the WAN from BI webserver setup? I can't change that. I'm pretty sure this worked before, I must have changed something? I can see UI3 fine using zerotier... and the pushover alerts work, just not the hires jpg or video clip option in the Pushover alert.
(I was thinking maybe change the Pushover Alert string in BI's Alerts, substituting the BI ZeroTier IP for "&WAN" in the parameters string, but I didn't need that before. Thoughts anyone?
 
Last edited:
How do I tell Pushover to use the ZeroTier IP there? Does it get the WAN from BI webserver setup?
Yes, when used in Blue Iris actions, the macros &WAN, &LAN expand to the values on the Settings > Web server page.

Yes, you can hard code the ZeroTier IP and port in the Blue Iris pushover action.

Another option might be to use your DDNS address and port in the WAN field on the Settings > Web server page.

BTW, I would suggest an alternative to hardcoding the actions. You can create your own macro that will expand to any address you want (&WAN, the ZeroTier IP, or DDNS address). The final section in post #1 describes how to do this. By doing this you only have to change the macro’s value and not all the pushover actions used in all your cameras (once you’ve set them up).
 
  • Like
Reactions: rdxny
Yes, when used in Blue Iris actions, the macros &WAN, &LAN expand to the values on the Settings > Web server page.

Yes, you can hard code the ZeroTier IP and port in the Blue Iris pushover action.

Another option might be to use your DDNS address and port in the WAN field on the Settings > Web server page.

BTW, I would suggest an alternative to hardcoding the actions. You can create your own macro that will expand to any address you want (&WAN, the ZeroTier IP, or DDNS address). The final section in post #1 describes how to do this. By doing this you only have to change the macro’s value and not all the pushover actions used in all your cameras (once you’ve set them up).
Thanks much, I will look at the macros. Any negative to using "&LAN"? And I can't seem to edit the WAN address at all in the Blue Iris settings/ Web Server (to use ddns for ex) any change disappears and original WAN address comes back.
 
About 3 days ago, I stop receiving any pushover alerts. Does anyone know if a recent update might have broke it?

When I test the alert I get nothing either. Nothing has changed to the PC or network.
 
About 3 days ago, I stop receiving any pushover alerts. Does anyone know if a recent update might have broke it?

When I test the alert I get nothing either. Nothing has changed to the PC or network.
I’m currently running the latest update (5.9.5.3), and have been updating regularly. I’ve experienced no issues.

Maybe you’ve inadvertently disabled notifications for the Pushover app on your device?

Have you checked your Pushover dashboard to see if the server is receiving API commands? Here’s an example for one of my Application tokens…

1723222723114.jpeg
 
I’m currently running the latest update (5.9.5.3), and have been updating regularly. I’ve experienced no issues.

Maybe you’ve inadvertently disabled notifications for the Pushover app on your device?

Have you checked your Pushover dashboard to see if the server is receiving API commands? Here’s an example for one of my Application tokens…

View attachment 200683
Seems Blue Iris just stopped sending messages since the 6.

1723474509502.png
 
Or your Pushover account stopped receiving API requests.
Make sure the alert's pushover Action is not disabled, or otherwise prevented from executing by the profile/zones/inputs settings.
Are you refering to this? the enabled alert is push, all of my camera have it enabled. When I test the alert it says complete but nada
1723477175831.png
 

Attachments

  • 1723477142340.png
    1723477142340.png
    96.8 KB · Views: 53
Are you refering to this? the enabled alert is push, all of my camera have it enabled. When I test the alert it says complete but nada
View attachment 200877
Yes. This looks good.

You are using the same device as before, correct? And you haven't disabled your device (or changed the device's name) in the Pushover dashboard?

If the device looks good, share your 'Parameters' string from the Pushover Action (sanitize the keys). However, I'm not sure how a syntax error would just show up, as it was working previously.
 
Last edited:
Yes. This looks good.

You are using the same device as before, correct? And you haven't disabled your device (or changed the device's name) in the Pushover dashboard?

If the device looks good, share your 'Parameters' string from the Pushover Action (sanitize the keys). However, I'm not sure how a syntax error would just show up, as it was working previously.

The only thing that happened was my storage drive died but I've since moved the path to the new drive and also changed the drive letter to match.

-s --form-string "token=XXXXXXX" --form-string "user=XXXXXXX" --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>" -F "attachment=@D:\BlueIris\Alerts\&ALERT_PATH" --form-string "html=1"
 
Forgive my slight diversion from the topic under discussion. I'll be brief.

Is there an easy way to make a basic (small) notification .jpg image full screen by a simple screen tap like most all other apps? It's the only function I miss from my previous SMS/MMS notification method.
 
Forgive my slight diversion from the topic under discussion. I'll be brief.

Is there an easy way to make a basic (small) notification .jpg image full screen by a simple screen tap like most all other apps? It's the only function I miss from my previous SMS/MMS notification method.
Not that I'm aware of without doing some research.

But you can get close by:
  1. tapping the image in the notification,
  2. then tapping the image once again
  3. then rotating the device to landscape orientation.
The app header still shows however.
 
Thanks jay, I found the issue. the source of the alert image was changed when I was troubleshooting it. Double checking and configuring the storage drive letter to match across the board fixed the issue.

What threw me off is when you click on test alert it doesn't trigger but I remember reading that it has to be tested with an actual motion.
 
  • Like
Reactions: jaydeel
The only thing that happened was my storage drive died but I've since moved the path to the new drive and also changed the drive letter to match.
EDIT: I sent this reply before seeing your response above

If you mapped a network drive to a letter, and are running Blue Iris as a service, then you might be running into the following issue described in the Help PDF... see the final bullet.

1723591176114.png

From the Help PDF, chapter 'Alerts and Actions', section 'Testing the Action Set'.
 
  • Like
Reactions: dannieboiz
Thanks for the reply and input.

Here is where it ultimately goes after a third tap -- which is evidently to the phone clipboard at a small thumbnail size which can then be digitally zoomed and panned, both quite poorly and not exactly practical on any usable level.

PushoverScreenshot_20240814-131353_resized.png

It would seem like writing the app/script to simply go full screen on rotation or double tap like any other displayed image from any other source on any other app would be much easier in the first place anyway. The same image does sorta do so using the Pushover email function after navigating to the third tap zoom/pan window which is still a slightly less than efficient way to enlarge the original thumbnail.

It would seem to indicate enlargement upon rotation is in the mix somewhere but simply isn't integrated on an app-wide basis at present.

How would one go about requesting consideration for further exploration of this?
Or maybe there is another way of initiating the feature (if exists) by aspects or the image itself or how it is presented to the app?
 
Here's another idea...

For a full resolution (main stream) attachment image, You can try this argument
-F "attachment=@&IMAGE_PATH".

Ken added the &IMAGE_PATH macro in update 5.8.0.16 (10/18/2023)...
1723669893727.png


This macro resolves to something like
C:\ProgramData\Blue Iris\temp\DW1_image.jpg

However, beware of these things:
  1. The image timestamp will not exactly match that of the Alert image; the image file is created the moment the macro is used, which means it will trail the alert's trigger image.
  2. Using this image can result in notifications without an image if the JPG size exceeds the API limit of 2.5 MB. 8MP cameras are susceptible to this issue. Read more here.

How would one go about requesting consideration for further exploration of this?
If you join the Pushover support forum, you can request improvements. The Share an idea link is at the bottom of the page... I did a quick search and did not find anyone else requesting this feature. You might have more luck. The forum lets members upvote ideas, presumably used by the developer to prioritize improvements.
 
Last edited:
  • Like
Reactions: Pogo and TonyR