Send Pushover notifications with pictures and hyperlinks

rdxny

Pulling my weight
Joined
Oct 15, 2022
Messages
184
Reaction score
138
Location
ny
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:

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,253
Reaction score
1,301
Location
SF Bay Area
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).
 

rdxny

Pulling my weight
Joined
Oct 15, 2022
Messages
184
Reaction score
138
Location
ny
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.
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,253
Reaction score
1,301
Location
SF Bay Area
Yes, you can use macro &LAN. However, the links will only work when you are at home.

As a possible work around, this is another place you can experiment with using your DDNS address (e,g, IP Cam Talk DDNS).
 

rdxny

Pulling my weight
Joined
Oct 15, 2022
Messages
184
Reaction score
138
Location
ny
&LAN does seem to work with ZeroTier and away from home (cell connect). Thanks!
 

dannieboiz

Getting the hang of it
Joined
May 13, 2015
Messages
496
Reaction score
72
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.
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,253
Reaction score
1,301
Location
SF Bay Area
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
 

dannieboiz

Getting the hang of it
Joined
May 13, 2015
Messages
496
Reaction score
72
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
 

dannieboiz

Getting the hang of it
Joined
May 13, 2015
Messages
496
Reaction score
72
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

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,253
Reaction score
1,301
Location
SF Bay Area
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:

dannieboiz

Getting the hang of it
Joined
May 13, 2015
Messages
496
Reaction score
72
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"
 

Pogo

Getting the hang of it
Joined
Apr 26, 2022
Messages
163
Reaction score
61
Location
Reportedly in the Area
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.
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,253
Reaction score
1,301
Location
SF Bay Area
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.
 

dannieboiz

Getting the hang of it
Joined
May 13, 2015
Messages
496
Reaction score
72
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.
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,253
Reaction score
1,301
Location
SF Bay Area
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'.
 
Top