Skip to content

Conversation

@sumi1194
Copy link
Member

Added file camera_relay.py that turns camera on/off based on daylight status. Camera remains on for daylight and astronomical twilight, and turns off for night, determined by calculating sun altitude at given location. Check frequency, sun altitude threshhold, and location are parameters that can be adjusted.

Also added a 'setting up systemd services' section in readme with instructions on creating and starting .service file.

Resolves Issue #118

this script calculates sun altitude every minute to determine if it is
daytime or nighttime to turn the camera on/off. Currently is
set to have camera on during daytime and astronomical twilight.
Frequency of checks and sun altitude threshold can be adjusted.
add section with instructions on how to set up systemd service  to turn camera on/off based on time of day for cyclops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants