Webcam Dropbox Uploader - a plugin to store images to dropbox

[quote=“Exorcist, post:39, topic:176879”]Also, can videos be uploaded to dropbox using this plugin.
I was thinking if i could create a scene that could trigger to record videos for 1 min and upload to dropbox when the door lock is opened.[/quote]
Unless your webcam has a URL to download a fixed duration of video as a file, this isn’t possible.

Martin

[quote=“martin12345, post:41, topic:176879”][quote=“Exorcist, post:39, topic:176879”]Also, can videos be uploaded to dropbox using this plugin.
I was thinking if i could create a scene that could trigger to record videos for 1 min and upload to dropbox when the door lock is opened.[/quote]
Unless your webcam has a URL to download a fixed duration of video as a file, this isn’t possible.

Martin[/quote]

Fantastic plugin Martin.
Saw this morning over the night the plugin has dumped hundreds of pictures in my drop box folder.
It works!!

If i want to turn off the default action of webcam taking pictures every 10 mins… instead taking pictures and dumping them to the dropbox folder only at motion, how can i deactivate the 10 min action… setting it to 0?

I have used Crimsons code on a scene that turns on the light when motion is detected upon the sensor being tripped.

lul_settings={} lul_settings["webcamNumber"]=23 luup.call_action("urn:milliesoft-com:serviceId:WebcamDropboxUploader1","SendSnapshot", lul_settings,57)

But i need the automatic default action to stop.

As I recall, the version that you have doesn’t have the option to stop the auto-uploading. I created a new version 2 weeks ago which had the option to put “0” in for the update frequency to stop the auto-upload, but I am still waiting for MiCasaVerde to review and approve that new version.

For now, why not put a really large number in there, e.g. 9999999. That way it will auto-upload, but very infrequently.

Martin

[quote=“martin12345, post:43, topic:176879”]As I recall, the version that you have doesn’t have the option to stop the auto-uploading. I created a new version 2 weeks ago which had the option to put “0” in for the update frequency to stop the auto-upload, but I am still waiting for MiCasaVerde to review and approve that new version.

For now, why not put a really large number in there, e.g. 9999999. That way it will auto-upload, but very infrequently.

Martin[/quote]

Good idea. i will do that. Thanks for the suggestion, will keep a close eye on this thread for updates as well.

[quote=“martin12345, post:43, topic:176879”]As I recall, the version that you have doesn’t have the option to stop the auto-uploading. I created a new version 2 weeks ago which had the option to put “0” in for the update frequency to stop the auto-upload, but I am still waiting for MiCasaVerde to review and approve that new version.

For now, why not put a really large number in there, e.g. 9999999. That way it will auto-upload, but very infrequently.

Martin[/quote]

Martin just an update, adding a large value does not work. I tried to keep 600 mins, but in vain.
Awaiting your your new version update. Is there a mechanism to increase the frequency of screencaptures once motion is detected in your new version? for eg:- the default is 0 which disables screen captures, but once motion is detected, a time limit can be set to capture increased numbers of screenshots while motion is detected. This will be of great value cos this can compensate the loss of video feature.

I guess you’ll need to wait for the new version to be approved. It’s been waiting for review by MiCasaVerde for 10 days now, and I have no idea when they will review it.

Sorry

Martin

Good news - version 1.93 is now available, and should solve the problems that some folks had with the image being empty, and allow you to turn off the automatic updates if you like.

Martin

lMartin, I’m excited to see the results of the update 1.93. I looked onto micasaverde.com and it shows that my DropBox plugin has been upgraded to 1.93, but how do I get it to start working differently?

a) my updates have been 1k sized files that haven’t worked, and
b) although I set the timer to 30 minutes, it still does updates every 10 minutes.

thought that was the behaviour of the old version… ?

thanks!

Martin, the pictures work! scratch my last post. it started working on its own with your update.

you are a star, thanks again!!!

I have got it all working, created a scene which uploads pictures on a door sensor being tripped. Great. So far i have just copied this code 3 times to take 3 pictures. Is there an easy way to take lets say 20 pictures in a row ? I dont want to copy that code 20 times as it makes the scene luup code very cluttered.
Also is it now possible to set the automatic uploads to 0 ? I just installed the newest version from the app store today
Is there a way to change the snapshpt picture quality (I would like the highest possible quality) especailly for 1 of my cameras which is a Foscam HD

[quote=“mikee123, post:50, topic:176879”]I have got it all working, created a scene which uploads pictures on a door sensor being tripped. Great. So far i have just copied this code 3 times to take 3 pictures. Is there an easy way to take lets say 20 pictures in a row ? I dont want to copy that code 20 times as it makes the scene luup code very cluttered.
Also is it now possible to set the automatic uploads to 0 ? I just installed the newest version from the app store today
Is there a way to change the snapshpt picture quality (I would like the highest possible quality) especailly for 1 of my cameras which is a Foscam HD[/quote]
Yes, you can put the service call in a loop to call it as many times as you like, e.g.

lul_settings={} lul_settings["webcamNumber"]=23 for loopNumber= 1, 20, 1 do luup.call_action("urn:milliesoft-com:serviceId:WebcamDropboxUploader1","SendSnapshot", lul_settings,57) end

Yes, it is possible to set the auto upload value to 0 now.

The picture quality depends on what you specify in the URL parameter of the webcam, but I don’t know what the foscam URL parameters are.

Martin

Ok great, thats all working, just have to investigate how to set the snapshot picture quality to highest, but thats probably somewhere in the Foscam manual.
Thanks

I just noticed, i set the picture update frequency to 0, it did not take any picture for about 6 hours, and just now i had two pictures 5 minutes apart (without any othe trigger)

If you restart your vera, that will cause it to run the startup code, which always takes a picture. I can’t see any other way it would have been triggered.

Martin

Ok i will have to watch that, i have been updating things so that might explain it.
Something else.
I would like to upload pictures to 2 different dropbox accounts. I have achieved this by creating a second plugin, that works fine. This is the code i am using in a scene:

for loopNumber= 1, 4, 1 do
lul_settings={}
lul_settings[“webcamNumber”]=214
luup.call_action(“urn:milliesoft-com:serviceId:WebcamDropboxUploader1”,“SendSnapshot”, lul_settings,304)
luup.call_action(“urn:milliesoft-com:serviceId:WebcamDropboxUploader1”,“SendSnapshot”, lul_settings,309)
end

The only little problem is, the pictures in each dropbox are a few seconds more apart now as it is sending one picture first, next picture goes into the other dropbox, and then back to the first. Is it possible to send each picture taken to 2 dropbox accounts at the same time, meaning i would have exactly the same pictures in each dropbox and therefore more pictures per minute on each account

[quote=“mikee123, post:55, topic:176879”]Ok i will have to watch that, i have been updating things so that might explain it.
Something else.
I would like to upload pictures to 2 different dropbox accounts. I have achieved this by creating a second plugin, that works fine. This is the code i am using in a scene:

for loopNumber= 1, 4, 1 do
lul_settings={}
lul_settings[“webcamNumber”]=214
luup.call_action(“urn:milliesoft-com:serviceId:WebcamDropboxUploader1”,“SendSnapshot”, lul_settings,304)
luup.call_action(“urn:milliesoft-com:serviceId:WebcamDropboxUploader1”,“SendSnapshot”, lul_settings,309)
end

The only little problem is, the pictures in each dropbox are a few seconds more apart now as it is sending one picture first, next picture goes into the other dropbox, and then back to the first. Is it possible to send each picture taken to 2 dropbox accounts at the same time, meaning i would have exactly the same pictures in each dropbox and therefore more pictures per minute on each account[/quote]
No, that’s not possible with the plugin, but I think you can share folders in dropbox.

Martin

You can share folders in dropbox, and they update automatically on the invited PC. You cannot do that with app folders tough, and Vera uploads to a app folder. Maybe i’ll find a way to copy the Vera app folder content to another folder within dropbox which i can then share

Are you planning to add a nice icon to the plugin?

eg: http://www.iconarchive.com/show/ios7-style-metro-ui-icons-by-igh0zt/MetroUI-Apps-Dropbox-icon.html

[quote=“Crismaison, post:58, topic:176879”]Are you planning to add a nice icon to the plugin?

eg: http://www.iconarchive.com/show/ios7-style-metro-ui-icons-by-igh0zt/MetroUI-Apps-Dropbox-icon.html[/quote]
I am indeed - it’s pending approval.

Martin

Installed it here. Works great. Took a Reload on the Vera to get it to start running initially but that was it. Set up the Drop box account and link to Vera automatically as an app. Worked good. Working now sending pictures over. Pretty cool idea considering I can’t get the Vera alerts images to show up. Gives a good alternative image shack.

Steve newby to Vera but oldie to Zwave