Skip to content

daifukusensei/wyze-cam-to-google-drive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages