Skip to content

Grabs the latest event from a Wyze camera and generates HTML with still images

License

Notifications You must be signed in to change notification settings

baltimorenode/limbo-pics-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sloppy quick example

Run via cron every 5 minutes:

nodepress@localhost:~/limbo-pics-fetcher$ crontab -l | tail -n 1
*/5 * * * * /home/nodepress/limbo-pics-fetcher/run.sh

Send output to a public directory:

nodepress@localhost:~/limbo-pics-fetcher$ cat run.sh
#!/bin/bash

cd /home/nodepress/limbo-pics-fetcher/

. e/bin/activate
script_dir="$(pwd)"
cd '/home/nodepress/www.baltimorenode.org/www/limbo-cam'
export IMAGE_OUTPUT_PATTERN='{n}.jpg'
export HTML_OUTPUT_PATH='index.html'
export WYZE_EMAIL='[email protected]'
export WYZE_PASSWORD='yum yum yummy'
export WYZE_DEVICE_MAC=0000000DECAF
python3 "$script_dir/get-limbo-pics.py"

About

Grabs the latest event from a Wyze camera and generates HTML with still images

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages