Go to file
Mark Cotton fbfbb70f83 Playground goes to the DB for the refresh_token 2023-09-12 21:13:01 -05:00
static ripped off from EE-status-v3, changed it to pull list of videos and play recorded mp4s 2023-08-29 11:17:18 -05:00
templates ripped off from EE-status-v3, changed it to pull list of videos and play recorded mp4s 2023-08-29 11:17:18 -05:00
.gitignore WIP, most basic version is writing data to database 2023-09-06 16:49:42 -05:00
Dockerfile ripped off from EE-status-v3, changed it to pull list of videos and play recorded mp4s 2023-08-29 11:17:18 -05:00
LICENSE ripped off from EE-status-v3, changed it to pull list of videos and play recorded mp4s 2023-08-29 11:17:18 -05:00
README.md ripped off from EE-status-v3, changed it to pull list of videos and play recorded mp4s 2023-08-29 11:17:18 -05:00
app.py clean-up and using config to select days of videos to fetch 2023-09-11 22:27:54 -05:00
docker-compose.yaml ripped off from EE-status-v3, changed it to pull list of videos and play recorded mp4s 2023-08-29 11:17:18 -05:00
models.py WIP, most basic version is writing data to database 2023-09-06 16:49:42 -05:00
playground.ipynb Playground goes to the DB for the refresh_token 2023-09-12 21:13:01 -05:00
requirements.txt fixed login and moved up to EagleEyev3 0.0.20 2023-09-06 21:52:07 -05:00
startup.sh ripped off from EE-status-v3, changed it to pull list of videos and play recorded mp4s 2023-08-29 11:17:18 -05:00
tests.py ripped off from EE-status-v3, changed it to pull list of videos and play recorded mp4s 2023-08-29 11:17:18 -05:00
wsgi.py ripped off from EE-status-v3, changed it to pull list of videos and play recorded mp4s 2023-08-29 11:17:18 -05:00

README.md

EE-downloader-v3

Summary

This is a python webapp for downloading recorder videos from your cameras.

Settings File

There is file settings.py that is needed to run. It should look similar to this:

config = {

	# Set up your application and get client id/secrete first
	# https://developerv3.eagleeyenetworks.com/page/my-application
	"client_id": "",
	"client_secret": "",

	# you will need to add approved redirect_uris in your application
	# this examples assumes you've added http://127.0.0.1:3333/login_callback
	# change the following variables if you did something different
	# Note: do not use localhost for server_host, use 127.0.0.1 instead
	"server_protocol": "http",
	"server_host": "127.0.0.1", 
	"server_port": "3333",
	"server_path": "login_callback",

	# preferences
	"log_level": "INFO"
}

You can create your application and setup credentials at: [https://developerv3.eagleeyenetworks.com/page/my-application-html](my applications). You can also reach out to api_support@een.com for help.

Ideas on how to use

I encluded an example Flask server in app.py. You can run it locally with python flask run -p 3333 --debug