Send Pushover notifications with pictures and hyperlinks

Joined
Oct 16, 2018
Messages
1,696
Reaction score
5,582
Location
Florida, USA
I purchased an Apple Watch and for the life of me can’t figure out how to display the URL on it. Any suggestions?
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,222
Reaction score
1,285
Location
SF Bay Area
Try this...
  1. Email a URL to yourself.
  2. Open the email on your Watch.
  3. Touch the hyperlink.
Safari will take a moment to load, then hopefully run the web page.

EDIT: this link describes an alternate method using the Blue Iris SMS action.

UI3 URLs used to open just fine, but I just tried it and got this
1714774508493.png

Other URLs are working just fine.
 
Last edited:

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,222
Reaction score
1,285
Location
SF Bay Area
BTW, the iOS Pushover app supports the Apple Watch.
On your iPhone, open the Watch app. Add Pushover.

HOWEVER, when the Watch receives a Pushover notification, I'm noticing that the 'Hi-Res' and 'UI3' links are not active.
The URLs work just fine when tapped in the iPhone Pushover app.
1714774591190.png
 
Last edited:

Pogo

Getting the hang of it
Joined
Apr 26, 2022
Messages
157
Reaction score
52
Location
Reportedly in the Area
On a slightly different note, and courtesy of another forum, this just popped up as a method for locally storing single alert images which seemed to be a desired feature earlier in this thread. I believe this particular feature was from a request to separate a single confirmed alert image from non-confirmed images for FTP and/or local folder storage vs. the BI directory structure and default method.

Thought it may come in handy for Pushover image manipulation as well if something similar hasn't already been conjured up.

Locally Saving Trigger Image.png
 

dohat leku

Getting the hang of it
Joined
May 19, 2018
Messages
338
Reaction score
36
Location
usa
BI v5.5.5.13 with Deepstack 2022.01.01. I'm looknig to get notifications on Deepstack confirmed alerts ONLY

What a great guide in post #1, thank you!Using macros, if I'm not using a custom sound, should I just delete --form-string "sound=%999" (i didn't define any 999 in registry)
-s --form-string "token=%996" --form-string "user=%997" --form-string "message=<b>&CAM</b> &MEMO" -F "attachment=@D:\BlueIris\Alerts\&ALERT_PATH" --form-string "device="%998" --form-string "sound=%999"

Within each camera configuration;
  • Deepstack - Do I need to enable burn label mark-up on images
  • Within Trigger - Aadd to alerts list - what option within there do I need to choose?

Thx
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,222
Reaction score
1,285
Location
SF Bay Area
if I'm not using a custom sound, should I just delete --form-string "sound=%999" (i didn't define any 999 in registry)
Yes.

Within each camera configuration;
  • Deepstack - Do I need to enable burn label mark-up on images
  • Within Trigger - Aadd to alerts list - what option within there do I need to choose?
If (much later than the alert event) you want to view the image via the Pushover notification's 'Hi-Res' hyperlink, it's best to enable 'Burn label mark-up on images' OR add 'Hi-res JPEG files' to the alert list (moved to the Alerts tab in v5.8.0).

OTH, if you don't care about viewing hi-res images, you can remove the 'Hi-Res' hyperlink and not save any alert images for this purpose
 
Last edited:

dohat leku

Getting the hang of it
Joined
May 19, 2018
Messages
338
Reaction score
36
Location
usa
Not working for me and here's what I did so far to troubleshoot
  • Pushover website push a test notification working
  • I'm seeing image files generate after deepstack confirms in C:\BlueIris\Alerts.
  • I didn't enable Hi-res JPEG files in Trigger/Add to alerts list (it's showing database only) but I did enable deepstack burn label mark-up
  • Here is my syntax
-s --form-string "token=%996" --form-string "user=%997" --form-string "message=<b>&CAM</b> &MEMO" -F "attachment=@C:\BlueIris\Alerts" --form-string "device="%998"
  • 996 in registry is my API Token from pushover website
  • 997 is my user key from pushover website
  • I didn't enable Hi-res JPEG files in Trigger/Add to alerts list (it's showing database only) but I did enable deepstack burn label mark-up
  • Registry screenshot -

Thanks
 

dohat leku

Getting the hang of it
Joined
May 19, 2018
Messages
338
Reaction score
36
Location
usa
Testing at command prompt also failing
C:\Users\BIuser>curl -s --form-string "token=%996" --form-string "user=%997" --form-string "message=<b>&CAM</b> &MEMO" -F "attachment=@C:\BlueIris\Alerts\20240519_160000039.front.13701655.5123-7.15785.16770.jpg" --form-string "device="%998"
{"token":"invalid","errors":["application token is invalid, see Pushover: API"],"status":0,"request":"babeeffd-e180-439d-a18f-bbce0f7d8b9f"}
C:\Users\BIuser>
 

dohat leku

Getting the hang of it
Joined
May 19, 2018
Messages
338
Reaction score
36
Location
usa
It's working without using macros so I suspect something is wrongly configured in my registry. This is what I have in blue iris and got an alert

-s --form-string "token=ae6redacted" --form-string "user=udmredacted" --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=iphone13" -F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH"
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,222
Reaction score
1,285
Location
SF Bay Area
Testing at command prompt also failing
C:\Users\BIuser>curl -s --form-string "token=%996" --form-string "user=%997" --form-string "message=<b>&CAM</b> &MEMO" -F "attachment=@C:\BlueIris\Alerts\20240519_160000039.front.13701655.5123-7.15785.16770.jpg" --form-string "device="%998"
{"token":"invalid","errors":["application token is invalid, see Pushover: API"],"status":0,"request":"babeeffd-e180-439d-a18f-bbce0f7d8b9f"}
C:\Users\BIuser>
The macros work only from Blue Iris Actions. Replace them with actual values.
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,222
Reaction score
1,285
Location
SF Bay Area
So any idea how do I get macros to work? Thx
Have you tried the these suggestions in the Debugging section in post #1?

If you are already running the Blue Service service using a user account, then try these 'tricks':
1. Make sure the macros are resolving when requested from the service <link>, and/or
2. Capture the actual Pushover API command in a *.txt file for inspection <link>.
 

dohat leku

Getting the hang of it
Joined
May 19, 2018
Messages
338
Reaction score
36
Location
usa
1) Blue iris service - running with a user(admin) account
2) Did msg.exe as a trigger and get a dialog box both with manual trigger from blue iris console and the mobile app
3) I didn't try this yet - Need help setting up BI5 text alerts.
Am I supposed to use my actual API token & user key or simply the macros for creating the syntax for logging?
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,222
Reaction score
1,285
Location
SF Bay Area
1) Blue iris service - running with a user(admin) account
2) Did msg.exe as a trigger and get a dialog box both with manual trigger from blue iris console and the mobile app
3) I didn't try this yet - Need help setting up BI5 text alerts.
Am I supposed to use my actual API token & user key or simply the macros for creating the syntax for logging?
2. Did the msg.exe popup show the expected values for the macros?

3. Use the macros. What you want to see in the *.txt file is that the macros are expanding to the expected values.

Additionally, you should be able to select/copy each full entry added to the *.txt file and paste/test it into cmd.exe (or PowerShell console) after 'curl.exe '.
e.g., curl.exe <pasted line here>

The benefit of this approach is that it might reveal other syntax errors, like unwanted spaces. If the curl command is not working, study the syntax very closely.
 
Last edited:
Top