Skip to content

mironiasty/hue-airly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hue-airly

Simple script to set hue light based on airly readings for current location

usage

Create apikeys.py that looks more or less like this:

hueuser = "heu_id" # use register.py to obtain key
airlykey = 'airly key' # register on airly

location = {'longitude': 19.123,
            'latitude': 50.123} # your location

add to cron

*/15 6-9 * * * python3 /home/pi/hue-airly/checkAirly.py
15 9 * * * python3 /home/pi/hue-airly/disable.py

It will run every 15 minutes in mornings

About

Simple script to set hue light based on airly readings for current location

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages