This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Send notifications via pushover
#8
Daniel.Hi
[quote pid='7142' dateline='1517397272']
Why do you bother with this, use our notifications see this thread
https://forum.logicmachine.net/showthrea...ifications
BR
[/quote]

Hi Daniel,
I have been using pushover for several months now and am sending more than 10.000 messages a month using the LM5 in my KNX-system. Since the number of messages is too (limit of 7.500)  high I use different pushover-applications to separate the messages (weather, heating, alarmsystem, ventilation, etc...). It also allows formatting in the messages (I included a screendump from my ipad). Apart from that it also allows for priority-messaging: most of my message are just logging (low priority), you can elevate priority level so a pop-up box shows f.e. when an alarm is triggered.
I did not know that it also allows for sending of attachments - apparently since mid january... This was for me the only thing still missing since I want to send pics taken by my security cams.
So I do think that the pushover platform still has some advantages...maybe some good ideas for your next version...
Keep up the good work, still loving my LM.
Thanks, Bart
   

(30.01.2018, 18:02)Keitz Wrote: I will send a jpeg file attachments with pushover. But I do not know how.
Can anybody help me ?

i have tried this : 
local data_str = 'token=****************&user=*******************&device=gsm&message=snapshot.jpeg&attachment=' .. image .. '&title=LogicMachine&sound=bike&priority=0'

local res, code, headers, status = ssl.https.request(pushover_url, data_str)
 
I receive a message with an icon of a image but no my image is not there.

this is info from pushover :
other HTTP headers]

Content-Type: multipart/form-data; boundary=--abcdefg



----abcdefg

Content-Disposition: form-data; name="user"



[ your Pushover user key ]

----abcdefg

Content-Disposition: form-data; name="token"



[ your Pushover API token ]

----abcdefg

Content-Disposition: form-data; name="message"



your message here

----abcdefg

Content-Disposition: form-data; name="attachment"; filename="your_image.jpg"

Content-Type: image/jpeg



[ raw binary data of image file here ]
----abcdefg--

Hi Keitz,
I am very much interested in this feature also...
This is the link with some more info: https://pushover.net/api#attachments
Apparently it needs some sub-headers to identify what type of image.
Don't know on how to implement it in the existing code.
Maybe admin, Daniel or Erwin can have a look...
Thanks, Bart
Reply


Messages In This Thread
RE: Send notifications via pushover - by bmodeco - 31.01.2018, 12:21

Forum Jump: