SecuritySpy Image Downloading and Stitching

Posted on
Wed Apr 24, 2019 5:28 pm
vtmikel offline
Posts: 407
Joined: Aug 31, 2012
Location: Boston, MA

Re: SecuritySpy Image Downloading and Stitching

In the Indigo variable window, set the value of the variable to the full path and filename / extension of where you want the image to go. Such as: /Users/mike/Documents/CameraImages/basement_image.jpg

If you are making a gif, then change the extension.

Once you save the image to the variable location correctly, use the same variable to send to Pushover


Sent from my iPhone using Tapatalk Pro

Posted on
Wed Apr 24, 2019 6:07 pm
norcoscia offline
User avatar
Posts: 808
Joined: Sep 09, 2015

Re: SecuritySpy Image Downloading and Stitching

Thanks, I did have some problems using the variable - it kept trying to use your default path (/Users/myuser/Documents) vice the one I entered. I just put the path in directly and it started working.

I will mess with it more and let you know if I see anything - I'm a bit confused by the amount of frames in the resulting gif - when I pick 5 seconds @ .5 FPS I end up with three frames in the GIF file - is that normal/expected?

In any case thanks for the help sorting this out!!!!!!!

_______
Norm

Posted on
Thu May 23, 2019 8:40 am
whmoorejr offline
User avatar
Posts: 267
Joined: Jan 15, 2013
Location: Houston, TX

Re: SecuritySpy Image Downloading and Stitching

I'm stuck. I just installed the plugin and I can't find an action menu item for it. Just re-booted my server (because sometimes a new plugin makes my indigo go nuts.), but still no joy.

Posted on
Thu May 23, 2019 9:38 am
norcoscia offline
User avatar
Posts: 808
Joined: Sep 09, 2015

Re: SecuritySpy Image Downloading and Stitching

it is under actions see below
Attachments
2019-05-23_08-37-46.jpeg
2019-05-23_08-37-46.jpeg (122.23 KiB) Viewed 191 times
2019-05-23_08-35-15.jpeg
2019-05-23_08-35-15.jpeg (118.57 KiB) Viewed 191 times

_______
Norm

Posted on
Thu May 23, 2019 10:07 am
whmoorejr offline
User avatar
Posts: 267
Joined: Jan 15, 2013
Location: Houston, TX

Re: SecuritySpy Image Downloading and Stitching

I figured that is where it would be.... your post clarified that. Had to delete the plugin, restart the server, reinstall the plugin and Poof!* Now it works.

So... I know I'm not a long time user of your plugin, but feature request.... Save an animated .gif as an animated .png?

I created an action group that made the animated.gif file and a follow-up python script to copy it as a .png... which worked. Now that .png file can be used on a control page in either a browser or domopad.

Code: Select all
from shutil import copyfile

copyfile('/Users/williammoore/Desktop/Camera.gif','/Users/williammoore/Desktop/Camera.png')


Anyway, if you alter the plugin, that would remove that one step of adding script and would make the plugin useful for control page coolness.

Posted on
Fri May 24, 2019 6:22 am
vtmikel offline
Posts: 407
Joined: Aug 31, 2012
Location: Boston, MA

Re: SecuritySpy Image Downloading and Stitching

whmoorejr wrote:
I figured that is where it would be.... your post clarified that. Had to delete the plugin, restart the server, reinstall the plugin and Poof!* Now it works.

So... I know I'm not a long time user of your plugin, but feature request.... Save an animated .gif as an animated .png?

I created an action group that made the animated.gif file and a follow-up python script to copy it as a .png... which worked. Now that .png file can be used on a control page in either a browser or domopad.

Code: Select all
from shutil import copyfile

copyfile('/Users/williammoore/Desktop/Camera.gif','/Users/williammoore/Desktop/Camera.png')


Anyway, if you alter the plugin, that would remove that one step of adding script and would make the plugin useful for control page coolness.


In my very quick google searches, animated PNG isn't the same as an animated GIF. Though if there is a python library to create them and they reduce the file size, I'd consider looking at it.

Posted on
Fri May 24, 2019 6:26 am
vtmikel offline
Posts: 407
Joined: Aug 31, 2012
Location: Boston, MA

Re: SecuritySpy Image Downloading and Stitching

norcoscia wrote:
Thanks, I did have some problems using the variable - it kept trying to use your default path (/Users/myuser/Documents) vice the one I entered. I just put the path in directly and it started working.

I will mess with it more and let you know if I see anything - I'm a bit confused by the amount of frames in the resulting gif - when I pick 5 seconds @ .5 FPS I end up with three frames in the GIF file - is that normal/expected?

In any case thanks for the help sorting this out!!!!!!!


Yes that's expected, but no, it doesn't make any sense and I should make some changes.

.5 FPS is 1 frame every 2 seconds. Therefore a 5 second animation should have only 2 frames. I might change this to 1 FPS in the next rls so that the math always comes out evenly. But anything over 3 frames is hard to get under the limit for Pushover.

Posted on
Fri May 24, 2019 6:47 am
norcoscia offline
User avatar
Posts: 808
Joined: Sep 09, 2015

Re: SecuritySpy Image Downloading and Stitching

Thx

_______
Norm

Posted on
Fri Jul 19, 2019 4:25 pm
agame offline
Posts: 234
Joined: Jul 13, 2017
Location: Melbourne, Australia

Re: SecuritySpy Image Downloading and Stitching

just fyi, the link from the plugin update menu is broken. (download from plugin store works fine).

Who is online

Users browsing this forum: No registered users and 1 guest