GitXplorerGitXplorer
p

ring-screenshot

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
dcbed891ad19d400d8ef8e8224f7dba60a212a6d

Change naming structure of video downloads to support multiple devices

ppaulmaunders committed 6 years ago
Unverified
b6afaed160ebe2a663e85b1928336731cd1cffc8

Tidy and add comments to ring-slurp script

ppaulmaunders committed 6 years ago
Unverified
3d99badf9be9dddc75fc4d9da4c3301ac2877ab9

Add slurp script to fetch all event history

ppaulmaunders committed 6 years ago
Unverified
50be7a4a2dbcf01dc98e21b07123778da54c8600

Add logging handler, and switch back to override=True to suppress file exists errors

ppaulmaunders committed 6 years ago
Unverified
78d014ea87f195bae2904d12d3504407bb873884

Record last 10 videos

ppaulmaunders committed 6 years ago
Unverified
2541118accf38c492cdf52f583828ce8ef5ac7b5

Removed ~ from screenshot path as it has issues with node

ppaulmaunders committed 6 years ago

README

The README file for this repository.

ring-screenshot

A couple of scripts to help save screenshots from Ring doorbells and security cameras. One is written in node, the other in python.

Installation

git clone git@github.com:paulmaunders/ring-screenshot.git
cd ring-screenshot
npm install yarn -g
yarn install
pip install ring_doorbell

On Centos you may need to install some additional dependencies

yum install pango.x86_64 libXcomposite.x86_64 libXcursor.x86_64 libXdamage.x86_64 libXext.x86_64 libXi.x86_64 libXtst.x86_64 cups-libs.x86_64 libXScrnSaver.x86_64 libXrandr.x86_64 GConf2.x86_64 alsa-lib.x86_64 atk.x86_64 gtk3.x86_64 ipa-gothic-fonts xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-utils xorg-x11-fonts-cyrillic xorg-x11-fonts-Type1 xorg-x11-fonts-misc -y

Configuration

Set your configuration variables in config.ini

cp config.ini.example config.ini
RING_USERNAME=myuser 
RING_PASSWORD=mypassword 
SCREENSHOTS_DIRECTORY=~/ring-screenshot/screenshots

Usage

To run the Javascript version of the screenshot script

node ring-screenshot.js

To run the Python version of the screenshot script

python ring-screenshot.py