Save snapshots from an Hikvision camera every X minutes during certain hours Macro (v9.2)

I make a Mac app to stream IP cameras in realtime and today I was providing support to a User who wanted to save snapshots from an Hikvision camera, a feature my app doesn't include yet.

The User discovered a URL path that returns a snapshot image, so I built a quick macro to download the image into a folder with Keyboard Maestro, to point them in the right direction to solve their problem.

Basically this is a wrapper for curl (with digest login) that adds the date and time to the file name and handles scheduling the frequency and hours for the macro to be executed.

Since I believe this might be a good example of how versatile KM can be, and possibly a good starting point for people who want to download files automatically, I thought of sharing it here.

Save snapshots from an Hikvision camera every X minutes during certain hours.kmmacros (2.7 KB)

image

1 Like