Skip to content

pat-sullivan/nest-camera-site

 
 

Repository files navigation

nest-camera-site

Capture images from a nest camera and host in a local server.

Configuration

issueToken, cookies and apiKey can be obtain by following the following instruction: https://github.com/chrisjshull/homebridge-nest#using-a-google-account

uuid is the camera uuid you would like to capture. Similar to the instruction linked above, expect that you need to Filter for get_image. The string after uuid= and before & is your camera uuid.

These four items needs to be included into config.json. An example of config.json can be find as _config.json.

Install

After clone the repo, change directory in to the folder.

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ./selfsigned.key -out ./selfsigned.crt
npm install
npm run start

open a browser and go to the following url: https://[IP]:5000.

Docker Install

Build image

docker build -t nest-camera-site:latest .

Start container:

docker run --name nest-camera-site -d -p 5500:5500 -v [/path/to/your/nest_folder]:/nest nest-camera-site:latest

open a browser and go to the following url: https://[IP]:5500.

If you want to change crendentials delete file database.json and rebuild image.

docker build --no-cache -t nest-camera-site:latest .

Acknowledgement

Thanks to Humpheh/nest-observe and chrisjshull/homebridge-nest for authentication, and dend/foggycam for the idea.

About

Capture images from a nest camera and host in a local server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 66.9%
  • HTML 28.7%
  • Dockerfile 4.4%