Coder Social home page Coder Social logo

daifukusensei / wyze-cam-to-google-drive Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 3 KB

A script used by wz_mini_hacks to upload motion-detected video recordings taken from a Wyze Cam to Google Drive

Shell 100.00%
cloud googledrive googledriveapi wyze wyze-cam wyzecam wz-mini-hacks wzminihacks

wyze-cam-to-google-drive's Introduction

Wyze Cam-to-Google Drive

A script used by wz_mini_hacks on a Wyze Cam to upload motion-detected recordings to Google Drive.

Why?

Wyze Cams offer the ability to upload video recordings to cloud, but only via paid subscription. This script is used alongside wz_mini_hacks on a compatible Wyze Cam to instead upload to a Google Drive account at no additional cost.

Requirements

Setup instructions

  1. Get wz_mini_hacks up-and-running on a compatible Wyze Cam
  2. Enable API access to your Google Drive account, making note of the client ID, client secret and refresh token. For reference:
  3. Download this repository's script and update the following variables, values enclosed in quotes:
    • CLIENTID
    • CLIENTSECRET
    • REFRESHTOKEN
    • RECORDINGDIR
  4. Copy the updated script to wz_mini/etc/rc.local.d on the Wyze Cam's microSD card
  5. Boot, and new motion-detected recordings will be uploaded to the root of your Google Drive in the naming-convention of YYYYMMDD-HHMM.mp4

Disclaimer

Use at your own risk. It's bad practise to hard-code credentials in a script, though the light-weight BusyBox Linux environment used by wz_mini_hacks made implementation of service accounts challenging. Thus, a Google account dedicated for use by this script is preferred.

wyze-cam-to-google-drive's People

Contributors

daifukusensei avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.