-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
local_settings.py.example
53 lines (41 loc) · 1.6 KB
/
local_settings.py.example
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
44
45
46
47
48
49
50
51
52
53
import python_weather
# Set to the appropriate driver for your Waveshare e-paper display
DRIVER = "epd2in7b"
# Set to True to enable debug messages
DEBUG = False
# ** Leave commented to log to console **
# LOGFILE = '/home/pi/epd.log'
# Path to the logo to print on the `uptime` screen
# ** Must be a black and white 45x45 image file **
LOGO = '/home/pi/epdtext/logo.png'
# Monospace fonts are recommended, as the text wrapping is based on character length
FONT = '/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf'
# How long to wait (in seconds) before automatically redrawing the screen
TIME = 900
# Note: you *must* define at least one calendar to use the 'calendar' screen,
# and at least one caldav calendar to use the 'tasks' screen.
CALENDAR_URLS = [
{ type: 'webcal', url: '<enter your webcal address>' },
{ type: 'caldav', url: '<enter your caldav address>', username: '<caldav username>', password: '<caldav password' },
]
# How long to wait before pulling the calendar events from the web again
CALENDAR_REFRESH = 900
# Default timezone to use for calendar and tasks screens
TIMEZONE = "UTC"
# See the `screens` directory for available screens, or create your own (see the wiki)
SCREENS = [
'affirmations',
'calendar',
'fortune',
'system',
]
# The affirmations to display, include anything that would help to be occasionally reminded of!
AFFIRMATIONS = [
'<list your affirmations here>',
]
# City to display weather for
WEATHER_CITY = "Ladysmith, VA"
# Format for weather output
WEATHER_FORMAT = python_weather.IMPERIAL
# Refresh interval in seconds for o
WEATHER_REFRESH = 900