-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathconfig.py.sample
executable file
·65 lines (45 loc) · 1.83 KB
/
config.py.sample
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
54
55
56
57
58
59
60
61
62
63
64
65
""" Override config values from config_base using this file """
from config_base import *
""" Configure the plugin set """
# -- Enable camera, replays and video motiondetector
#plugins.update(set(['replay', 'camera', 'motiondetector']))
# -- Modify this to tune your camera settings - see raspivid --help for more info
#camera_extra_params = "--ev 7"
# -- Enable league sync with server
#plugins.add('league_sync')
# -- Enable Youtube video upload
#plugins.add('upload')
# -- Enable hipchat bot
#plugins.add('hipbot')
# -- Enable Arduino serial input and led output
#plugins.add('io_serial')
# -- Enable auto-TV standby
#plugins.add('standby')
# -- Enable IO using Raspberry Pi. Change pin numbers according to your setup.
# -- PWM output for the IR led is BCM18 (hardware PWM pin)
#plugins.add('io_raspberry')
#io_raspberry_pins = {
# "irbarrier_team_black": 8, # Physical pin 8
# "irbarrier_team_yellow": 26, # Physical pin 26
# "yellow_plus" : 10, # Physical pin 10
# "yellow_minus": 16, # Physical pin 16
# "black_plus": 3, # Physical pin 3
# "black_minus": 22, # Physical pin 22
# "ok_button": 24, # Physical pin 24
#}
# -- Modify clock format: see strftime
#clock_format = "%-I:%M %p" # 12 hour format
""" Configure team names and colors """
#team_names = {"yellow": "blue", "black": "red"}
#team_colors = {"yellow": (0.1, 0.1, 0.4), "black": (0.7, 0, 0)}
""" Configure paths """
# -- replay path
#replay_path = "..."
# -- or the location of the file_handler
#log["handlers"]["file_handler"]["filename"] = ""
""" Override tokens for plugins """
#hipchat_token = 'your_token'
#hipchat_room = 'your_room_id'
#league_url = 'http://localhost:8888/api'
#league_apikey = 'put-your-apikey-here'
slack_webhook = 'https://hooks.slack.com/services/BLAW/BLAW'