dohat leku
Getting the hang of it
Got it, btw what's the reason one has to click on a notification for the image to appear. Why not appear immediately? Is that a pushover limitation?
This isn't typical. Some user's have correlated these events with weak cellular/wifi connections.Got it, btw what's the reason one has to click on a notification for the image to appear. Why not appear immediately? Is that a pushover limitation?
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" <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" --form-string "priority=1"
Suggestions:I put the priority=1 syntax in but messages are still being delivered as normal priority.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" <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" --form-string "priority=1"
How I tested: Put iphone in sleep mode, did a manual priority 1 push from pushover's website and my phone does beep and shows a time sensisitive notification. Then I walk near the camera and no beep but I do see the pushover notification under 'While in sleep focus'. In pushover's guide, it says High-priority messages are highlighted in red in the device clients and it's not red in the pushover app
Parameter order should not matter.checked all those settings and also enabled 'critical alerts for high-priorioty'. How do I check if curl is actually generating a priority 1 alert?
Also is it worthwhile moving --form-string "priority=1" to earlier in the syntax or the order doesn't matter?
https://api.pushover.net/1/messages.json -s --form-string "priority=1" --form-string "token=%996" --form-string "user=%997" --form-string "message=<b>&CAM</b> &MEMO" -F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH" <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"
It only works because theye!!! got it working, All i did was move this to the beginning- --form-string "priority=1" instead of the end
Here's the syntax that's working well now and it's showing the alert with a red box around it on the app
Code:https://api.pushover.net/1/messages.json -s --form-string "priority=1" --form-string "token=%996" --form-string "user=%997" --form-string "message=<b>&CAM</b> &MEMO" -F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH" <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"
priority
parameter was re-positioned prior to a syntax error.https://api.pushover.net/1/messages.json -s
--form-string "priority=1"
--form-string "token=%996" --form-string "user=%997"
--form-string "message=<b>&CAM</b> &MEMO"
-F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH"
<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"
<a href='...'</a>
) from the message
parameter. And there exists a stray double-quote after the existing hyperlink code that must be deleted.<a href='&WAN/alerts/&ALERT_DB?fulljpeg'>Hi-Res</a> <a href='&WAN/ui3.htm?rec=&ALERT_DB'>UI3</a>
, must be relocated to the end of the message
parameter (before the terminating double-quote).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>" -F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH" --form-string "html=1" --form-string "device=%998" --form-string "priority=1"
I use Notepad++. It does not require a paid license, as Sublime Text appears too (I had never heard of the Sublime editor before now).I was using notepad, switched to sublime text
The request may be small, but from first hand experience, the effort required is not, haha... I've already got a working template from another project that I could start with, but I still think my time is better served by helping users directly.One small request for future users - if there's a GUI tool that's fairly easy to develop and just gives an output of a syntax one can copy/paste, that could be useful.
Understood, thanks and I’ll try notepad++ as wellI use Notepad++. It does not require a paid license, as Sublime Text appears too (I had never heard of the Sublime editor before now).
The request may be small, but from first hand experience, the effort required is not, haha... I've already got a working template from another project that I could start with, but I still think my time is better served by helping users directly.
https://api.pushover.net/1/messages.json -s --form-string "token=%996" --form-string "user=%998" --form-string "message=<b>&CAM</b> &MEMO" --form-string "html=1" --form-string "device=%997" --form-string "sound=%980" --form-string "url_title=Live Stream" --form-string "url=&WAN/ui3.htm?cam=&CAM" -F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH"
https://api.pushover.net/1/messages.json -s --form-string "token=%996" --form-string "user=%998" --form-string "message=<b>&CAM</b> &MEMO" --form-string "html=1" --form-string "device=%997" --form-string "sound=%980" --form-string "url_title=Stream Alert" --form-string "url=&WAN/ui3.htm?rec=&ALERT_DB" -F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH"
https://api.pushover.net/1/messages.json -s --form-string "token=%996" --form-string "user=%998" --form-string "message=<b>&CAM</b> &MEMO" --form-string "html=1" --form-string "device=%997" --form-string "sound=%980" --form-string "url_title=Live Stream" --form-string "url=&WAN/ui3.htm?cam=&CAM" --form-string "url_title=Stream Alert via UI3" --form-string "url=&WAN/ui3.htm?rec=&ALERT_DB" -F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH"
The Pushover API calls these ‘Supplementary URLs’. Reviewing the syntax at this link offers no clues for sending more than one supplementary URL per notification.Kudos to @jaydeel for creating this thread. This makes all the difference in getting timely Blue Iris notifications.
Is it possible to get a notification with two hyperlinks,based on example 2 on the first page. One hyperlink to the stream alert and one to the live stream of the camera. I can get either to work when the parameter string contains one or the other, but if I include both in the parameter string only the second one in the string works. I'd like to use the example 2 setup because when the notification arrives, there is a button when touched that directly opens to ui3, without actually having to open the notification itself. I'm trying to get two buttons to appear so I can select Stream Alert, or Live stream directly without having to actually open the notification itself. I hope all this makes sense. I know syntax is critical. I've tried to be sure it is correct, but I'm just fumbling around in the dark here.
View attachment 199780
This works for a Live Stream hyperlink.
Code:https://api.pushover.net/1/messages.json -s --form-string "token=%996" --form-string "user=%998" --form-string "message=<b>&CAM</b> &MEMO" --form-string "html=1" --form-string "device=%997" --form-string "sound=%980" --form-string "url_title=Live Stream" --form-string "url=&WAN/ui3.htm?cam=&CAM" -F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH"
This works for a Stream Alert hyperlink.
Code:https://api.pushover.net/1/messages.json -s --form-string "token=%996" --form-string "user=%998" --form-string "message=<b>&CAM</b> &MEMO" --form-string "html=1" --form-string "device=%997" --form-string "sound=%980" --form-string "url_title=Stream Alert" --form-string "url=&WAN/ui3.htm?rec=&ALERT_DB" -F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH"
This one only works for the Stream Alert hyperlink. If I switch the positions in the parameter string then only the Live Stream works.
Code:https://api.pushover.net/1/messages.json -s --form-string "token=%996" --form-string "user=%998" --form-string "message=<b>&CAM</b> &MEMO" --form-string "html=1" --form-string "device=%997" --form-string "sound=%980" --form-string "url_title=Live Stream" --form-string "url=&WAN/ui3.htm?cam=&CAM" --form-string "url_title=Stream Alert via UI3" --form-string "url=&WAN/ui3.htm?rec=&ALERT_DB" -F "attachment=@C:\BlueIris\Alerts\&ALERT_PATH"
device=iphone,nexus5
. So you might give that a try.