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.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 appCode: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"
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).