forked from project-alice-assistant/HermesLedControl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardware.json
148 lines (148 loc) · 2.96 KB
/
hardware.json
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"respeaker2Mics": {
"name": "ReSpeaker 2-Mics",
"numberOfLeds": 3,
"interface": "apa102",
"endFrame": 255,
"doa": false,
"extras": {
"buttons": {
"button1": {
"bcm_gpio": 17,
"function": "onButton1"
}
}
}
},
"respeaker4MicArray": {
"name": "ReSpeaker 4-Mic Array",
"numberOfLeds": 12,
"interface": "apa102",
"doa": "doa_respeaker_4mic_array",
"rate": 16000,
"channels": 4,
"endFrame": 255
},
"respeakerMicArrayV2": {
"name": "ReSpeaker Mic array v2",
"numberOfLeds": 12,
"interface": "respeakerMicArrayV2",
"doa": "doa_respeaker_6p1_mic_array",
"rate": 16000,
"channels": 8,
"vid": "0x2886",
"pid": "0x0018",
"endFrame": 0,
"extras": {
"volume": {
"min": 0,
"max": 12
},
"vadLed": true
}
},
"respeakerMicArrayV1": {
"name": "ReSpeaker Mic array v1",
"numberOfLeds": 12,
"interface": "respeakerMicArrayV1",
"doa": "doa_respeaker_6p1_mic_array",
"rate": 16000,
"channels": 8,
"vid": "0x2886",
"pid": "0x0007",
"endFrame": 0,
"extras": {
"volume": {
"min": 0,
"max": 12
},
"vadLed": true
}
},
"respeaker6MicArray": {
"name": "ReSpeaker 6-Mic Circular Array",
"numberOfLeds": 12,
"interface": "apa102",
"doa": "doa_respeaker_v2_6mic_array",
"rate": 16000,
"channels": 8,
"endFrame": 255,
"extras": {
"buttons": {
"button1": {
"bcm_gpio": 26,
"function": "onButton1"
}
}
}
},
"respeaker7MicArray": {
"name": "ReSpeaker 7-Mic Array",
"numberOfLeds": 12,
"interface": "respeaker7MicArray",
"doa": false,
"extras": {
"volume": {
"min": 0,
"max": 12
}
}
},
"respeakerCoreV2": {
"name": "Respeaker Core v2",
"numberOfLeds": 12,
"interface": "apa102",
"doa": "doa_respeaker_v2_6mic_array",
"rate": 16000,
"channels": 8,
"endFrame": 0
},
"neoPixelsSK6812RGBW": {
"name": "Adafruit NeoPixels SK6812 RGBW",
"numberOfLeds": 12,
"interface": "neopixels",
"gpioPin": 10,
"type": "SK6812_RGBW"
},
"neoPixelsWS2812RGB": {
"name": "Adafruit NeoPixels WS2812 RGB",
"numberOfLeds": 12,
"interface": "neopixels",
"gpioPin": 10,
"type": "WS2812"
},
"matrixvoice": {
"name": "Matrix Voice",
"numberOfLeds": 18,
"interface": "matrixvoice"
},
"matrixcreator": {
"name": "Matrix Creator",
"numberOfLeds": 35,
"interface": "matrixvoice"
},
"googleAIY": {
"__comment__": "Use the broadcom gpio number, not the physical pin number!",
"name": "Google AIY",
"numberOfLeds": 1,
"interface": "pureGPIO",
"activeHigh": true,
"gpios": [25]
},
"puregpio": {
"__comment__": "Use the broadcom gpio number, not the physical pin number!",
"name": "Pure GPIO",
"numberOfLeds": 3,
"interface": "pureGPIO",
"activeHigh": true,
"gpios": [14, 15, 18]
},
"dummy": {
"__comment__": "Dummy Device to prevent crashing. Used for a clean setup in custom environments",
"name": "dummy",
"numberOfLeds": 0,
"interface": "pureGPIO",
"activeHigh": true,
"gpios": []
}
}