Send Pushover notifications with pictures and hyperlinks

No alerts unfortunately ! Have you gotten 2 devices to get alerts in your testing?

Code:
https://api.pushover.net/1/messages.json -s --form-string "token=%996" --form-string  "user=%997" --form-string "message=<b>&CAM</b> &MEMO" -F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH" --form-string "device=iphone1,iphone2"
Yes. Three actually...
--form-string "device=%991"
1754366968440.png


All three devices as-named AND ENABLED on my Pushover dashboard...
1754367735605.png
 
I'll try to send only to this single new device and see if it gets alerts and if it still doesn't, something else could be wrong. Should I dabble with any pushover settings?
 
I'll try to send only to this single new device and see if it gets alerts and if it still doesn't, something else could be wrong. Should I dabble with any pushover settings?
So, the missing macro &ALERT_PATH did not resolve your issue (post #859)?

If not, start simple (with essential arguments: token, user, message) and make sure a notification is being delivered, then add optional arguments and complexity one-by-one until you find the culprit.
 
Last edited:
I am stumped. My alerts are showing up via ONVIF from my EmpireTech cam in my alerts timeline, the alerts are mapped to "E:\BI Alerts". However, I don't see any alert images in that folder since last night when I turned off the AI confirmation for alerts.

I cannot even get the pushover to come through on my iPhone without the "attachment" code

Below is the code I am trying to use but cannot get it to work. I have 0 programming knowledge and this is my first IPC after ditching ReoLink.

-s --form-string "REDACTED" --form-string "user=REDACTED" --form-string "message=<b>&CAM</b> &MEMO" -F "attachment=@E:\BI Alerts\&ALERT_PATH" --form-string "url_title=Stream Alert via UI3" --form-string "url=&LAN/ui3.htm?rec=&ALERT_DB&maximize=1"

1760421206343.png


1760421229745.png


1760421599749.png


1760421816065.png
 
Last edited:
I am stumped. My alerts are showing up via ONVIF from my EmpireTech cam in my alerts timeline, the alerts are mapped to "E:\BI Alerts". However, I don't see any alert images in that folder since last night when I turned off the AI confirmation for alerts.

I cannot even get the pushover to come through on my iPhone without the "attachment" code

Below is the code I am trying to use but cannot get it to work. I have 0 programming knowledge and this is my first IPC after ditching ReoLink.

-s --form-string "REDACTED" --form-string "user=REDACTED" --form-string "message=<b>&CAM</b> &MEMO" -F "attachment=@E:\BI Alerts\&ALERT_PATH" --form-string "url_title=Stream Alert via UI3" --form-string "url=&LAN/ui3.htm?rec=&ALERT_DB&maximize=1"

View attachment 229860

View attachment 229861

View attachment 229862

View attachment 229863

Let's start simple... Please try these commands from the console:
Code:
curl https://api.pushover.net/1/messages.json -s --form-string "token=YOUR_TOKEN" --form-string "user=YOUR_USER" --form-string "message=Test"

curl https://api.pushover.net/1/messages.json -s --form-string "token=YOUR_TOKEN" --form-string "user=YOUR_USER" --form-string "message=Test with <b>HTML</b>"

curl https://api.pushover.net/1/messages.json -s --form-string "token=YOUR_TOKEN" --form-string "user=YOUR_USER" --form-string "message=Test with <b>HTML</b>" --form-string "html=1"

Your command syntax as provided above appears to be OK, but it is missing the argument --form-string "html=1", but that omission alone SHOULD NOT prevent the command from executing. Without it, the message will display the HTML code, not bolded text and links.
 
Last edited:
I am stumped. My alerts are showing up via ONVIF from my EmpireTech cam in my alerts timeline, the alerts are mapped to "E:\BI Alerts". However, I don't see any alert images in that folder since last night when I turned off the AI confirmation for alerts.

And make sure the Run a Program action is configured to trigger on ONVIF (as shown in the screenshot).

Likewise, make sure the other settings make sense. Start simple with:
  • Enabling all profiles
  • Disabling motion zones, and
  • Clearing 'Required AI objects' and 'Skip with'
1760480374271.png
 
Let's start simple... Please try these commands from the console:
Code:
curl https://api.pushover.net/1/messages.json -s --form-string "token=YOUR_TOKEN" --form-string "user=YOUR_USER" --form-string "message=Test"

curl https://api.pushover.net/1/messages.json -s --form-string "token=YOUR_TOKEN" --form-string "user=YOUR_USER" --form-string "message=Test with <b>HTML</b>"

curl https://api.pushover.net/1/messages.json -s --form-string "token=YOUR_TOKEN" --form-string "user=YOUR_USER" --form-string "message=Test with <b>HTML</b>" --form-string "html=1"

Your command syntax as provided above appears to be OK, but it is missing the argument --form-string "html=1", but that omission alone SHOULD NOT prevent the command from executing. Without it, the message will display the HTML code, not bolded text and links.
All 3 of these came through correctly on my iPhone
 
All 3 of these came through correctly on my iPhone
Excellent, so now start adding arguments one by one.

The show stopper is usually -F "attachment=@E:\BI Alerts\&ALERT_PATH".

If this is the case, then check the 'msg.exe trick' troubleshooting tip in my original post.
It allows you to 'see' what the macros actually expand to from the action.
 
  • Like
Reactions: TonyR and looney2ns
And make sure the Run a Program action is configured to trigger on ONVIF (as shown in the screenshot).

Likewise, make sure the other settings make sense. Start simple with:
  • Enabling all profiles
  • Disabling motion zones, and
  • Clearing 'Required AI objects' and 'Skip with'
View attachment 229954
I just noticed my code was missing the token part....still not working with this syntax

1760481441887.png



-s --form-string "token=REDACTED" --form-string "user=REDACTED" --form-string "message=<b>&CAM</b> &MEMO" -F "attachment=@E:\BI Alerts\&ALERT_PATH" --form-string "url_title=Stream Alert via UI3" --form-string "url=&LAN/ui3.htm?rec=&ALERT_DB&maximize=1"
 
I cant seem to see this msg.exe trick?

Here's one post...

Post in thread 'Send Pushover notifications with pictures and hyperlinks'