Home | Random | Downloads | About | Hikes | WebCam | 7,223,683,900 | Search | Feed

ITHCWY WebCam

ITHCWY WebCam

I Thought He Came With You now has a WebCam looking out towards the Pacific Ocean from West Portal, San Francisco.

Capture DropCam frames to Google Drive

Capture DropCam frames to Google Drive

Here's an easy way to capture frames from a DropCam to Google Drive. This only works if you have a public feed for your DropCam.

Go to the public page for your DropCam (Settings -> Public -> Short URL Link) and then view source for that page. Near the top you can find the still image URL for your DropCam:

<meta property="og:image" content="https://nexusapi.dropcam.com/get_image?uuid=12345&height=200" />

In Google Drive create a new Apps Script (If you don't already have Apps Script you can find it via Connect more apps...). Paste in the following code:

function downloadFrame() {
  var timestamp = Date.now().toString();
  
  var url = 'https://nexusapi.dropcam.com/get_image?uuid=12345&height=1280&cb=' + timestamp;
  var response = UrlFetchApp.fetch(url);
  var blob = response.getBlob();
  blob.setName(timestamp + '.jpg');
  
  var folders = DriveApp.getFoldersByName('DCFrames');
  while (folders.hasNext()) {
    var folder = folders.next();
    folder.createFile(blob);
    break;
  }
}

Replace the uuid parameter in the URL with the uuid from the still image URL for your DropCam. Note that the height parameter in the script has been changed to 1280 to get the largest possible image. A timestamp is being used to add a random cache busting parameter to the still image URL and is also used as the filename for the image.

The script will save the images to a folder called DCFrames - either create this folder in your drive or change this parameter to the desired folder.

Run the script and check that it's working. If everything looks good go to Resources -> Current project's triggers in the Apps Script editor. You can now set up a timer to save a frame as frequently as every minute (which I'm using to collect frames to make a daily time lapse movie). You can also ask Apps Script to send you an email when the script fails.

Book reviews for January 2015

Odyssey One (Odyssey One, #1) by Evan C. Currie

Odyssey One (Odyssey One, #1) by Evan C. Currie

1/5

Stopped reading after a couple of chapters. It's excruciable. Cliched, lazy, boring and self-contradictory. The most charitable thing I can say is that it might get better after I gave up (but I doubt it).

 

Everything I Never Told You by Celeste Ng

Everything I Never Told You by Celeste Ng

3/5

Depressing novel about a dead girl. It's very well written but left me a bit cold. Unhappy families may be unhappy in their own way but that doesn't necessarily make them interesting.

 

The Girl with All the Gifts by M.R. Carey

The Girl with All the Gifts by M.R. Carey

4/5

Not particularly into zombie fiction but this is great - different perspective, interesting plot and a stunning ending.

 

News: AI will not kill us, says Microsoft

AI will not kill us, says Microsoft

Almost certainly true of Microsoft AI.

Baby tech should let everyone sleep

Baby tech should let everyone sleep

The range of baby technology now available is astonishing. You can load up with a smart sock, smart diapers, smart pacifier, phone connected scales (doppler, ultrasound...), Nespresso for formula, a cry translator and of course a wide range of ultra-sensitive, night-vision stalking, shrieking / vibrating baby monitoring systems.

But all this innovation is mostly being wasted on paranoid first time parents who need to obsessively check that everything is OK every five seconds (not judging, have been there).

What I need is a baby monitor that does one thing: wait a minute per month of age and see if there is still a problem. Stay silent until this threshold is passed.

As usual, billionaire investor readers please call me.

Every House I've Ever Lived In

Every House I've Ever Lived In

Here's a list of every house I've ever lived in. It's 32 across four continents - a different one every 15 months or so which is impressive as I lived in one of them for ten years.

News: No need to breed like rabbits - Pope

No need to breed like rabbits - Pope

Breeding like Popes also not a great idea - Rabbits.

GDP, The Music Video

GDP, The Music Video

The time on screen for each country is proportional to its Gross Domestic Product.

GDP figures are from the United Nations for 2013 from Wikipedia. Flag images are also from Wikipedia via the handy Google region-flags project. Music is "Money to Burn" by Alex (cc).

Book reviews for December 2014

The Peripheral by William Gibson

The Peripheral by William Gibson

5/5

William Gibson does time travel with a twist. Gripping and weird and wonderful.

 

JavaScript: The Good Parts by Douglas Crockford

JavaScript: The Good Parts by Douglas Crockford

4/5

A very quick (and helpful) read....

 

ISS

ISS

ISS

Next Page

I Thought He Came With You
Robert Ellison's blog.