Pushover Plugin - push notifications

This subforum holds the older topics about this plugin before it was moved to open source. It's locked and only provided as historical reference.
User avatar
haavarda
Posts: 702
Joined: Sat Aug 18, 2012 4:40 am
Location: Norway

Re: Pushover Plugin - push notifications

Post by haavarda »

Works very good. Nice to get the image with the notification. Thanks for the work with this plugin.
One thing I noticed. In the log, the picture file is listed multiple times. Is this normal? Does it send the image 4 times?

Code: Select all

19. feb. 2018, 16:10:52
   Trigger                         Doorbell main entrance activated - Rich Push
   Trigger                         Oppdater alarmliste
   Schedule                        Doorbell main entrance activated - Rich Push (delayed action)
   Pushover Debug                  Det er noen ved døra
   Pushover Debug                  Ringeklokke aktivert!
   Pushover Debug                  Vis utgang
   Pushover Debug                  indigo://controlpage/Ute
   Pushover Debug                  /Users/Server/SecuritySpy/Doorbell/picturePE.jpg
   Pushover Debug                  /Users/Server/SecuritySpy/Doorbell/picturePE.jpg
   Pushover Debug                  /Users/Server/SecuritySpy/Doorbell/picturePE.jpg
   Pushover Debug                  /Users/Server/SecuritySpy/Doorbell/picturePE.jpg
   Pushover Debug                  /Users/Server/SecuritySpy/Doorbell/picturePE.jpg
Håvard
jcs
Posts: 5
Joined: Wed Dec 13, 2017 10:15 pm

Re: Pushover Plugin - push notifications

Post by jcs »

No, it's just because

Code: Select all

prepareTextValue()
is being called multiple times to expand variables in the attachment field and that function logs the result each time. It should probably just be called once for

Code: Select all

msgAttachment
and the result put in a variable.
vtmikel
Posts: 646
Joined: Fri Aug 31, 2012 12:45 pm
Location: Boston, MA
Contact:

Re: Pushover Plugin - push notifications

Post by vtmikel »

I noticed this too. I'll see if I can improve it.
User avatar
jay (support)
Site Admin
Posts: 18345
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Pushover Plugin - push notifications

Post by jay (support) »

Hey guys - seeing as there are multiple people contributing (which is fantastic), when you guys are ready to create a new release let me know (I don't think we want to create a new release every time there's a pull request, particularly given that there have been 3 or 4 in the past day or so).

So, when you're done with any changes for the short-term (next several days for instance) then let me know and I'll generate a new release. I will go ahead and merge the 2 outstanding pull requests so the master is caught up.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
User avatar
jay (support)
Site Admin
Posts: 18345
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Pushover Plugin - push notifications

Post by jay (support) »

I just sent the two contributors (@jcs and @vtmikel) to this plugin invitations to give you write access so you can just push directly to the repo. When you think it's ready for a release let me know and I'll create it.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
vtmikel
Posts: 646
Joined: Fri Aug 31, 2012 12:45 pm
Location: Boston, MA
Contact:

Re: Pushover Plugin - push notifications

Post by vtmikel »

I'm curious how the SecuritySpy users plan to implement the attachments.

My SecuritySpy server is the same as my Indigo. As far as I can tell, the continuous capture feature in SecuritySpy only allows for a FTP transfer. And the other image options adds timestamps so you will never know the name of the jpg file you need.

I could send it to my NAS, and download it back to the Mac, but that round trip seems silly and would likely cause a delay in the image that gets sent to pushover.

I'm thinking that, instead, I would get the jpeg of the camera via the SecuritySpy web server. Easiest place to script this would be to do this via the Pushover plugin. If we allowed http/https in the attachments dialog, the plugin would grab the image, store it temporarily, and send that to pushover. I'm thinking this would be useful not just for SecuritySpy users, but others as well. Thoughts?
vtmikel
Posts: 646
Joined: Fri Aug 31, 2012 12:45 pm
Location: Boston, MA
Contact:

Re: Pushover Plugin - push notifications

Post by vtmikel »

Jay, with no error reports I’d say you can create a new release.


Sent from my iPad using Tapatalk Pro
siclark
Posts: 1964
Joined: Tue Jun 13, 2017 5:08 am
Location: UK

Re: Pushover Plugin - push notifications

Post by siclark »

vtmikel wrote:I'm curious how the SecuritySpy users plan to implement the attachments.

My SecuritySpy server is the same as my Indigo. As far as I can tell, the continuous capture feature in SecuritySpy only allows for a FTP transfer. And the other image options adds timestamps so you will never know the name of the jpg file you need.

. ?
Have you tried the webcam image rather than image capture? . Stores image on local Mac and just updates the same file every x seconds so no changing name. Always gives you most recent image




Sent from my iPhone using Tapatalk
User avatar
FlyingDiver
Posts: 7299
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

Post by FlyingDiver »

vtmikel wrote:My SecuritySpy server is the same as my Indigo. As far as I can tell, the continuous capture feature in SecuritySpy only allows for a FTP transfer.
The current Beta version of SecuritySpy allows for local file storage as an alternative to FTP transfer. See https://www.bensoftware.com/forum/discu ... mment_7412
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
vtmikel
Posts: 646
Joined: Fri Aug 31, 2012 12:45 pm
Location: Boston, MA
Contact:

Re: Pushover Plugin - push notifications

Post by vtmikel »

FlyingDiver wrote:
vtmikel wrote:My SecuritySpy server is the same as my Indigo. As far as I can tell, the continuous capture feature in SecuritySpy only allows for a FTP transfer.
The current Beta version of SecuritySpy allows for local file storage as an alternative to FTP transfer. See https://www.bensoftware.com/forum/discu ... mment_7412
Well. If you told me a day earlier, you could have saved me from building a plugin to do this :). That's frustrating. I even contacted bensoftware to ask about the location of the Web Camera image, and they didn't mention the beta feature. Oh well. I added stitching to my plugin which may be useful to some.
User avatar
FlyingDiver
Posts: 7299
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

Post by FlyingDiver »

Sorry about that, but I didn't know before I posted that. I was browsing their support forum, and noticed some threads about FTP issues in HS. It was buried in there.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
vtmikel
Posts: 646
Joined: Fri Aug 31, 2012 12:45 pm
Location: Boston, MA
Contact:

Re: Pushover Plugin - push notifications

Post by vtmikel »

@Jay, bumping this thread so that you can push a release.
User avatar
FlyingDiver
Posts: 7299
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: Pushover Plugin - push notifications

Post by FlyingDiver »

Version 1.4.0 has been released on GitHub:

https://github.com/IndigoDomotics/indig ... /tag/1.4.0

There's an issue getting the store updated. I'm working with Jay on that now.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
User avatar
jay (support)
Site Admin
Posts: 18345
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Pushover Plugin - push notifications

Post by jay (support) »

Updated in the Plugin Store.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
User avatar
Chad_NE
Posts: 16
Joined: Sun Aug 19, 2018 1:56 pm

Positive experience with version 1.4.0

Post by Chad_NE »

I've needed a method of posting notifications to all my iOS devices and a Mac OS desktop. This is exactly what I've been hoping for! It has been working perfectly.

Thanks to all the contributors who have made the requests in this forum a reality. All of your contributions are evident and appreciated!

-- Chad
Locked

Return to “Archives”