-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
43 lines (36 loc) · 1.57 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#### INSTRUCTIONS
"""
1. Set the weather below.
2. Calibrate if part of your screen is hidden by a frame or mat.
3. Set the program to run at the frequency you wish with crontab.
"""
#### WEATHER INFO HERE
"""
Set the following equal to your dark sky API key and your location.
"""
dark_sky_api_key = "yourkeyhere"
dark_sky_coords = "37.931331,-76.187730"
#### RUN THE CALIBRATION FOR THE SCREEN
"""
This section is designed to center the display on the
part of the screen that is actually showing in a picture
frame. Most 5x7 frames will have a mat that covers up
part of the screen. Just make sure that your screen is
straight inside of the frame and then you can set the
calibration so that no part of the screen will be covered.
Run calibration.py and take a look at the numbers and boxes.
Set the following to the number line that is closest to
the edges specified.
For more instructions, see the example_calibration.png.
You can also set the following to zero to use the full display.
"""
left_edge = 49
top_edge = 46
right_edge = 579
bottom_edge = 375
#### OTHER MISC. SETTINGS
last_updated_choice = False # if you want to display a "last updated" timestamp at the bottom right
check_calibration_choice = False # if you want to display calibration stuff
display_outside_bounds_choice = False # if you want to display a box that shows your calibration bounds
debugging_choice_weather = False # if you don't want to call the weather API
debugging_choice_screen = False # if you don't want the screen to refresh (only save to file)