Skip to content

Upload Ring Doorbell Recordings to Google Drive

Notifications You must be signed in to change notification settings

mdnahian/ring-gdrive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ring Doorbell using Google Drive storage

This project is made possible by:

Requirements

  • Docker
  • Google Drive Account Setup
    • Enable the Drive API and download the credentials.json
      • Add the file to app/monitor/credentials.json
    • Create the OAuth client ID and download the client_secret.json
      • Add the file to app/monitor/client_secret.json
  • Ring
    • Create a credentials.env file with the following variables:
      • RING_EMAIL=<email>
        RING_PASS=<password>
        GDRIVE_FOLDER_ID=<folder_id>
        • GDRIVE_FOLDER_ID (optional) the ID of the folder on Google Drive where the files will be uploaded to. To get the ID, go to Google Drive on the browser, select the folder where the recordings will be uploaded to, and copy the last part of the URL.
          • i.e. 3rE4Hg5vnPfOSZgjq9IrFGk6FWjrJs4Lf
      • Add the file to ./

Build

docker build -t ring-gdrive .

Deploy

docker run --env-file credentials.env -d ring-gdrive

This will return the container ID. Run the following to start an interactive terminal.

docker exec -it <container_id> tmux attach

A Google Sign In link will appear. Copy and paste the link on a browser to sign in with your Google account. After allowing the necessary permissions, copy and paste the verification code into the terminal and press enter.

Now exit the terminal by holding down the ctrl+b key and pressing the d key.

About

Upload Ring Doorbell Recordings to Google Drive

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published