-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
80 lines (72 loc) · 1.26 KB
/
config.yml
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# CORE SYSTEM CONFIG
main:
# LOG CONFIGS
show_log: true
# SOUL CARD CONFIG
soul_card:
uid: '44556677'
# CARD CONFIGS
cards:
- name: 'test1'
uid: '00112233'
- name: 'test2'
uid: 'aabbccdd'
##### CORE PLUGINS #####
# TWINTAIL PLUGIN CONFIGS
twintail:
active: false
# REDIS PLUGIN CONFIGS
redis:
active: false
#:path: '/tmp/redis.sock'
host: '127.0.0.1'
port: 6379
# NFC PLUGIN CONFIGS
nfc:
active: false
timeout: 10
max_try: 32
# GPIO PLUGIN CONFIGS
gpio:
active: false
pins:
led_eye_left: 32
led_eye_right: 33
led_eye_left_sub: 29
led_eye_right_sub: 31
led_battery_low: 7
led_others:
- 37
- 38
vibrator: 36
# SOUND PLUGIN CONFIGS
sound:
active: false
sounds:
- trigger: 'mode_changed'
file: 'mode_chg.wav'
voices:
# test1
- file: 'test_a.wav'
event: 'nfc'
mode: 1
card: 'test1'
- file: 'test_b.wav'
event: 'nfc'
mode: 2
card: 'test1'
# test2
- file: 'test2_a.wav'
event: 'nfc'
mode: 1
card: 'test2'
- file: 'test2_b.wav'
event: 'nfc'
mode: 2
card: 'test2'
# BATTERY PLUGIN CONFIGS
battery:
active: false
low_threshold: 3300
address: 0x68
sensor_value_write: 0x88