boneIO 1.5.0.dev4__py3-none-any.whl → 1.5.0.dev6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- boneio/boards/1.0/input.yaml +202 -0
- boneio/boards/1.0/output_24_16.yaml +132 -0
- boneio/boards/1.0/output_32_10.yaml +172 -0
- boneio/boards/1.0/output_48_4.yaml +254 -0
- boneio/boards/1.0/output_cover.yaml +172 -0
- boneio/boards/1.0/output_cover_mix.yaml +172 -0
- boneio/components/irrigation/controller.py +36 -6
- boneio/components/output/__init__.py +3 -0
- boneio/components/output/basic.py +14 -2
- boneio/components/output/buzzer.py +85 -0
- boneio/components/output/mcp.py +2 -0
- boneio/core/config/config_helper.py +9 -0
- boneio/core/config/yaml_util.py +5 -0
- boneio/core/manager/outputs.py +11 -0
- boneio/core/messaging/lox.py +44 -4
- boneio/core/state/manager.py +26 -1
- boneio/integration/interlock.py +16 -0
- boneio/migrations/actions.py +34 -0
- boneio/migrations/bootstrap/boneio-migrate +36 -0
- boneio/migrations/versions/v1_5_1_ufw_lox_udp.py +32 -0
- boneio/modbus/entities/derived/text.py +0 -1
- boneio/runner.py +13 -0
- boneio/schema/schema.yaml +8 -3
- boneio/version.py +1 -1
- boneio/webui/frontend-dist/assets/{ConfigEditor-DSm0FS9G.js → ConfigEditor-DbZgmkmq.js} +1 -1
- boneio/webui/frontend-dist/assets/{aiWizardPrompt-ChA7lLsf.js → aiWizardPrompt-BubjUKaK.js} +1 -1
- boneio/webui/frontend-dist/assets/{index-BT7TrtpF.css → index-D6g-vdBv.css} +1 -1
- boneio/webui/frontend-dist/assets/index-qx3gjAAI.js +130 -0
- boneio/webui/frontend-dist/index.html +2 -2
- boneio/webui/frontend-dist/schema/boneio.schema.json +3 -1
- boneio/webui/frontend-dist/schema/config.schema.json +11 -3
- boneio/webui/frontend-dist/schema/output.schema.json +8 -2
- boneio/webui/frontend-dist/sw.js +1 -1
- boneio/webui/schema/boneio.schema.json +3 -1
- boneio/webui/schema/config.schema.json +11 -3
- boneio/webui/schema/output.schema.json +8 -2
- {boneio-1.5.0.dev4.dist-info → boneio-1.5.0.dev6.dist-info}/METADATA +1 -1
- {boneio-1.5.0.dev4.dist-info → boneio-1.5.0.dev6.dist-info}/RECORD +42 -34
- {boneio-1.5.0.dev4.dist-info → boneio-1.5.0.dev6.dist-info}/WHEEL +1 -1
- boneio/webui/frontend-dist/assets/index-wbedWLv9.js +0 -130
- {boneio-1.5.0.dev4.dist-info → boneio-1.5.0.dev6.dist-info}/entry_points.txt +0 -0
- {boneio-1.5.0.dev4.dist-info → boneio-1.5.0.dev6.dist-info}/licenses/LICENSE +0 -0
- {boneio-1.5.0.dev4.dist-info → boneio-1.5.0.dev6.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
input_mapping:
|
|
2
|
+
in_01:
|
|
3
|
+
pin: P8_37
|
|
4
|
+
gpiochip: 1
|
|
5
|
+
line: 14
|
|
6
|
+
in_02:
|
|
7
|
+
pin: P8_38
|
|
8
|
+
gpiochip: 1
|
|
9
|
+
line: 15
|
|
10
|
+
in_03:
|
|
11
|
+
pin: P8_39
|
|
12
|
+
gpiochip: 1
|
|
13
|
+
line: 12
|
|
14
|
+
in_04:
|
|
15
|
+
pin: P8_40
|
|
16
|
+
gpiochip: 1
|
|
17
|
+
line: 13
|
|
18
|
+
in_05:
|
|
19
|
+
pin: P8_41
|
|
20
|
+
gpiochip: 1
|
|
21
|
+
line: 10
|
|
22
|
+
#PU
|
|
23
|
+
in_06:
|
|
24
|
+
pin: P8_42
|
|
25
|
+
gpiochip: 1
|
|
26
|
+
line: 11
|
|
27
|
+
#PU
|
|
28
|
+
in_07:
|
|
29
|
+
pin: P8_43
|
|
30
|
+
gpiochip: 1
|
|
31
|
+
line: 8
|
|
32
|
+
#PU
|
|
33
|
+
in_08:
|
|
34
|
+
pin: P8_44
|
|
35
|
+
gpiochip: 1
|
|
36
|
+
line: 9
|
|
37
|
+
in_09:
|
|
38
|
+
pin: P8_45
|
|
39
|
+
gpiochip: 1
|
|
40
|
+
line: 6
|
|
41
|
+
in_10:
|
|
42
|
+
pin: P8_46
|
|
43
|
+
gpiochip: 1
|
|
44
|
+
line: 7
|
|
45
|
+
in_11:
|
|
46
|
+
pin: P9_42
|
|
47
|
+
gpiochip: 3
|
|
48
|
+
line: 7
|
|
49
|
+
in_12:
|
|
50
|
+
pin: P9_31
|
|
51
|
+
gpiochip: 2
|
|
52
|
+
line: 14
|
|
53
|
+
in_13:
|
|
54
|
+
pin: P9_30
|
|
55
|
+
gpiochip: 2
|
|
56
|
+
line: 16
|
|
57
|
+
in_14:
|
|
58
|
+
pin: P9_29
|
|
59
|
+
gpiochip: 2
|
|
60
|
+
line: 15
|
|
61
|
+
in_15:
|
|
62
|
+
pin: P9_28
|
|
63
|
+
gpiochip: 2
|
|
64
|
+
line: 17
|
|
65
|
+
in_16:
|
|
66
|
+
pin: P9_27
|
|
67
|
+
gpiochip: 2
|
|
68
|
+
line: 19
|
|
69
|
+
in_17:
|
|
70
|
+
pin: P9_25
|
|
71
|
+
gpiochip: 2
|
|
72
|
+
line: 21
|
|
73
|
+
in_18:
|
|
74
|
+
pin: P9_23
|
|
75
|
+
gpiochip: 0
|
|
76
|
+
line: 17
|
|
77
|
+
in_19:
|
|
78
|
+
pin: P9_22
|
|
79
|
+
gpiochip: 3
|
|
80
|
+
line: 2
|
|
81
|
+
in_20:
|
|
82
|
+
pin: P9_21
|
|
83
|
+
gpiochip: 3
|
|
84
|
+
line: 3
|
|
85
|
+
in_21:
|
|
86
|
+
pin: P9_18
|
|
87
|
+
gpiochip: 3
|
|
88
|
+
line: 4
|
|
89
|
+
in_22:
|
|
90
|
+
pin: P9_17
|
|
91
|
+
gpiochip: 3
|
|
92
|
+
line: 5
|
|
93
|
+
in_23:
|
|
94
|
+
pin: P9_16
|
|
95
|
+
gpiochip: 0
|
|
96
|
+
line: 19
|
|
97
|
+
in_24:
|
|
98
|
+
pin: P9_15
|
|
99
|
+
gpiochip: 0
|
|
100
|
+
line: 16
|
|
101
|
+
in_25:
|
|
102
|
+
pin: P9_14
|
|
103
|
+
gpiochip: 0
|
|
104
|
+
line: 18
|
|
105
|
+
in_26:
|
|
106
|
+
pin: P8_7
|
|
107
|
+
gpiochip: 1
|
|
108
|
+
line: 2
|
|
109
|
+
in_27:
|
|
110
|
+
pin: P8_8
|
|
111
|
+
gpiochip: 1
|
|
112
|
+
line: 3
|
|
113
|
+
in_28:
|
|
114
|
+
pin: P8_9
|
|
115
|
+
gpiochip: 1
|
|
116
|
+
line: 5
|
|
117
|
+
in_29:
|
|
118
|
+
pin: P8_36
|
|
119
|
+
gpiochip: 1
|
|
120
|
+
line: 16
|
|
121
|
+
in_30:
|
|
122
|
+
pin: P8_35
|
|
123
|
+
gpiochip: 3
|
|
124
|
+
line: 8
|
|
125
|
+
in_31:
|
|
126
|
+
pin: P8_34
|
|
127
|
+
gpiochip: 1
|
|
128
|
+
line: 17
|
|
129
|
+
in_32:
|
|
130
|
+
pin: P8_33
|
|
131
|
+
gpiochip: 3
|
|
132
|
+
line: 9
|
|
133
|
+
in_33:
|
|
134
|
+
pin: P8_32
|
|
135
|
+
gpiochip: 3
|
|
136
|
+
line: 11
|
|
137
|
+
in_34:
|
|
138
|
+
pin: P8_31
|
|
139
|
+
gpiochip: 3
|
|
140
|
+
line: 10
|
|
141
|
+
in_35:
|
|
142
|
+
pin: P8_30
|
|
143
|
+
gpiochip: 1
|
|
144
|
+
line: 25
|
|
145
|
+
##
|
|
146
|
+
in_36:
|
|
147
|
+
pin: P8_29
|
|
148
|
+
gpiochip: 1
|
|
149
|
+
line: 23
|
|
150
|
+
in_37:
|
|
151
|
+
pin: P8_28
|
|
152
|
+
gpiochip: 1
|
|
153
|
+
line: 24
|
|
154
|
+
in_38:
|
|
155
|
+
pin: P8_27
|
|
156
|
+
gpiochip: 1
|
|
157
|
+
line: 22
|
|
158
|
+
in_39:
|
|
159
|
+
pin: P8_26
|
|
160
|
+
gpiochip: 0
|
|
161
|
+
line: 29
|
|
162
|
+
##
|
|
163
|
+
in_40:
|
|
164
|
+
pin: P8_19
|
|
165
|
+
gpiochip: 3
|
|
166
|
+
line: 22
|
|
167
|
+
in_41:
|
|
168
|
+
pin: P8_18
|
|
169
|
+
gpiochip: 1
|
|
170
|
+
line: 1
|
|
171
|
+
in_42:
|
|
172
|
+
pin: P8_17
|
|
173
|
+
gpiochip: 3
|
|
174
|
+
line: 27
|
|
175
|
+
in_43:
|
|
176
|
+
pin: P8_16
|
|
177
|
+
gpiochip: 0
|
|
178
|
+
line: 14
|
|
179
|
+
in_44:
|
|
180
|
+
pin: P8_15
|
|
181
|
+
gpiochip: 0
|
|
182
|
+
line: 15
|
|
183
|
+
in_45:
|
|
184
|
+
pin: P8_14
|
|
185
|
+
gpiochip: 3
|
|
186
|
+
line: 26
|
|
187
|
+
in_46:
|
|
188
|
+
pin: P8_13
|
|
189
|
+
gpiochip: 3
|
|
190
|
+
line: 23
|
|
191
|
+
in_47:
|
|
192
|
+
pin: P8_12
|
|
193
|
+
gpiochip: 0
|
|
194
|
+
line: 12
|
|
195
|
+
in_48:
|
|
196
|
+
pin: P8_11
|
|
197
|
+
gpiochip: 0
|
|
198
|
+
line: 13
|
|
199
|
+
in_49:
|
|
200
|
+
pin: P8_10
|
|
201
|
+
gpiochip: 1
|
|
202
|
+
line: 4
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
mcp23017:
|
|
2
|
+
- id: mcp_left
|
|
3
|
+
address: 35
|
|
4
|
+
- id: mcp_right
|
|
5
|
+
address: 36
|
|
6
|
+
output_mapping:
|
|
7
|
+
out_01:
|
|
8
|
+
kind: mcp
|
|
9
|
+
mcp_id: mcp_left
|
|
10
|
+
pin: 8
|
|
11
|
+
output_type: switch
|
|
12
|
+
out_02:
|
|
13
|
+
kind: mcp
|
|
14
|
+
mcp_id: mcp_left
|
|
15
|
+
pin: 9
|
|
16
|
+
output_type: switch
|
|
17
|
+
out_03:
|
|
18
|
+
kind: mcp
|
|
19
|
+
mcp_id: mcp_left
|
|
20
|
+
pin: 10
|
|
21
|
+
output_type: switch
|
|
22
|
+
out_04:
|
|
23
|
+
kind: mcp
|
|
24
|
+
mcp_id: mcp_left
|
|
25
|
+
pin: 11
|
|
26
|
+
output_type: switch
|
|
27
|
+
out_05:
|
|
28
|
+
kind: mcp
|
|
29
|
+
mcp_id: mcp_left
|
|
30
|
+
pin: 12
|
|
31
|
+
output_type: switch
|
|
32
|
+
out_06:
|
|
33
|
+
kind: mcp
|
|
34
|
+
mcp_id: mcp_left
|
|
35
|
+
pin: 13
|
|
36
|
+
output_type: switch
|
|
37
|
+
out_07:
|
|
38
|
+
kind: mcp
|
|
39
|
+
mcp_id: mcp_left
|
|
40
|
+
pin: 14
|
|
41
|
+
output_type: switch
|
|
42
|
+
out_08:
|
|
43
|
+
kind: mcp
|
|
44
|
+
mcp_id: mcp_left
|
|
45
|
+
pin: 15
|
|
46
|
+
output_type: switch
|
|
47
|
+
out_09:
|
|
48
|
+
kind: mcp
|
|
49
|
+
mcp_id: mcp_right
|
|
50
|
+
pin: 8
|
|
51
|
+
output_type: switch
|
|
52
|
+
out_10:
|
|
53
|
+
kind: mcp
|
|
54
|
+
mcp_id: mcp_right
|
|
55
|
+
pin: 9
|
|
56
|
+
output_type: switch
|
|
57
|
+
out_11:
|
|
58
|
+
kind: mcp
|
|
59
|
+
mcp_id: mcp_right
|
|
60
|
+
pin: 10
|
|
61
|
+
output_type: switch
|
|
62
|
+
out_12:
|
|
63
|
+
kind: mcp
|
|
64
|
+
mcp_id: mcp_right
|
|
65
|
+
pin: 11
|
|
66
|
+
output_type: switch
|
|
67
|
+
out_13:
|
|
68
|
+
kind: mcp
|
|
69
|
+
mcp_id: mcp_left
|
|
70
|
+
pin: 7
|
|
71
|
+
output_type: switch
|
|
72
|
+
out_14:
|
|
73
|
+
kind: mcp
|
|
74
|
+
mcp_id: mcp_left
|
|
75
|
+
pin: 6
|
|
76
|
+
output_type: switch
|
|
77
|
+
out_15:
|
|
78
|
+
kind: mcp
|
|
79
|
+
mcp_id: mcp_left
|
|
80
|
+
pin: 5
|
|
81
|
+
output_type: switch
|
|
82
|
+
out_16:
|
|
83
|
+
kind: mcp
|
|
84
|
+
mcp_id: mcp_left
|
|
85
|
+
pin: 4
|
|
86
|
+
output_type: switch
|
|
87
|
+
out_17:
|
|
88
|
+
kind: mcp
|
|
89
|
+
mcp_id: mcp_left
|
|
90
|
+
pin: 3
|
|
91
|
+
output_type: switch
|
|
92
|
+
out_18:
|
|
93
|
+
kind: mcp
|
|
94
|
+
mcp_id: mcp_left
|
|
95
|
+
pin: 2
|
|
96
|
+
output_type: switch
|
|
97
|
+
out_19:
|
|
98
|
+
kind: mcp
|
|
99
|
+
mcp_id: mcp_left
|
|
100
|
+
pin: 1
|
|
101
|
+
output_type: switch
|
|
102
|
+
out_20:
|
|
103
|
+
kind: mcp
|
|
104
|
+
mcp_id: mcp_left
|
|
105
|
+
pin: 0
|
|
106
|
+
output_type: switch
|
|
107
|
+
out_21:
|
|
108
|
+
kind: mcp
|
|
109
|
+
mcp_id: mcp_right
|
|
110
|
+
pin: 12
|
|
111
|
+
output_type: switch
|
|
112
|
+
out_22:
|
|
113
|
+
kind: mcp
|
|
114
|
+
mcp_id: mcp_right
|
|
115
|
+
pin: 13
|
|
116
|
+
output_type: switch
|
|
117
|
+
out_23:
|
|
118
|
+
kind: mcp
|
|
119
|
+
mcp_id: mcp_right
|
|
120
|
+
pin: 14
|
|
121
|
+
output_type: switch
|
|
122
|
+
out_24:
|
|
123
|
+
kind: mcp
|
|
124
|
+
mcp_id: mcp_right
|
|
125
|
+
pin: 15
|
|
126
|
+
output_type: switch
|
|
127
|
+
buzzer:
|
|
128
|
+
kind: buzzer
|
|
129
|
+
output_type: switch
|
|
130
|
+
ds2482:
|
|
131
|
+
- id: ds2482_bus
|
|
132
|
+
address: '0x18'
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
mcp23017:
|
|
2
|
+
- id: mcp_left
|
|
3
|
+
address: 35
|
|
4
|
+
- id: mcp_right
|
|
5
|
+
address: 36
|
|
6
|
+
output_mapping:
|
|
7
|
+
out_01:
|
|
8
|
+
kind: mcp
|
|
9
|
+
mcp_id: mcp_left
|
|
10
|
+
pin: 7
|
|
11
|
+
output_type: light
|
|
12
|
+
out_02:
|
|
13
|
+
kind: mcp
|
|
14
|
+
mcp_id: mcp_left
|
|
15
|
+
pin: 6
|
|
16
|
+
output_type: light
|
|
17
|
+
out_03:
|
|
18
|
+
kind: mcp
|
|
19
|
+
mcp_id: mcp_left
|
|
20
|
+
pin: 5
|
|
21
|
+
output_type: light
|
|
22
|
+
out_04:
|
|
23
|
+
kind: mcp
|
|
24
|
+
mcp_id: mcp_left
|
|
25
|
+
pin: 4
|
|
26
|
+
output_type: light
|
|
27
|
+
out_05:
|
|
28
|
+
kind: mcp
|
|
29
|
+
mcp_id: mcp_left
|
|
30
|
+
pin: 3
|
|
31
|
+
output_type: light
|
|
32
|
+
out_06:
|
|
33
|
+
kind: mcp
|
|
34
|
+
mcp_id: mcp_left
|
|
35
|
+
pin: 2
|
|
36
|
+
output_type: light
|
|
37
|
+
out_07:
|
|
38
|
+
kind: mcp
|
|
39
|
+
mcp_id: mcp_left
|
|
40
|
+
pin: 1
|
|
41
|
+
output_type: light
|
|
42
|
+
out_08:
|
|
43
|
+
kind: mcp
|
|
44
|
+
mcp_id: mcp_left
|
|
45
|
+
pin: 0
|
|
46
|
+
output_type: light
|
|
47
|
+
out_09:
|
|
48
|
+
kind: mcp
|
|
49
|
+
mcp_id: mcp_right
|
|
50
|
+
pin: 7
|
|
51
|
+
output_type: light
|
|
52
|
+
out_10:
|
|
53
|
+
kind: mcp
|
|
54
|
+
mcp_id: mcp_right
|
|
55
|
+
pin: 6
|
|
56
|
+
output_type: light
|
|
57
|
+
out_11:
|
|
58
|
+
kind: mcp
|
|
59
|
+
mcp_id: mcp_right
|
|
60
|
+
pin: 5
|
|
61
|
+
output_type: light
|
|
62
|
+
out_12:
|
|
63
|
+
kind: mcp
|
|
64
|
+
mcp_id: mcp_right
|
|
65
|
+
pin: 4
|
|
66
|
+
output_type: light
|
|
67
|
+
out_13:
|
|
68
|
+
kind: mcp
|
|
69
|
+
mcp_id: mcp_right
|
|
70
|
+
pin: 3
|
|
71
|
+
output_type: light
|
|
72
|
+
out_14:
|
|
73
|
+
kind: mcp
|
|
74
|
+
mcp_id: mcp_right
|
|
75
|
+
pin: 2
|
|
76
|
+
output_type: light
|
|
77
|
+
out_15:
|
|
78
|
+
kind: mcp
|
|
79
|
+
mcp_id: mcp_right
|
|
80
|
+
pin: 1
|
|
81
|
+
output_type: light
|
|
82
|
+
out_16:
|
|
83
|
+
kind: mcp
|
|
84
|
+
mcp_id: mcp_right
|
|
85
|
+
pin: 0
|
|
86
|
+
output_type: light
|
|
87
|
+
out_17:
|
|
88
|
+
kind: mcp
|
|
89
|
+
mcp_id: mcp_left
|
|
90
|
+
pin: 8
|
|
91
|
+
output_type: light
|
|
92
|
+
out_18:
|
|
93
|
+
kind: mcp
|
|
94
|
+
mcp_id: mcp_left
|
|
95
|
+
pin: 9
|
|
96
|
+
output_type: light
|
|
97
|
+
out_19:
|
|
98
|
+
kind: mcp
|
|
99
|
+
mcp_id: mcp_left
|
|
100
|
+
pin: 10
|
|
101
|
+
output_type: light
|
|
102
|
+
out_20:
|
|
103
|
+
kind: mcp
|
|
104
|
+
mcp_id: mcp_left
|
|
105
|
+
pin: 11
|
|
106
|
+
output_type: light
|
|
107
|
+
out_21:
|
|
108
|
+
kind: mcp
|
|
109
|
+
mcp_id: mcp_left
|
|
110
|
+
pin: 12
|
|
111
|
+
output_type: light
|
|
112
|
+
out_22:
|
|
113
|
+
kind: mcp
|
|
114
|
+
mcp_id: mcp_left
|
|
115
|
+
pin: 13
|
|
116
|
+
output_type: light
|
|
117
|
+
out_23:
|
|
118
|
+
kind: mcp
|
|
119
|
+
mcp_id: mcp_left
|
|
120
|
+
pin: 14
|
|
121
|
+
output_type: light
|
|
122
|
+
out_24:
|
|
123
|
+
kind: mcp
|
|
124
|
+
mcp_id: mcp_left
|
|
125
|
+
pin: 15
|
|
126
|
+
output_type: light
|
|
127
|
+
out_25:
|
|
128
|
+
kind: mcp
|
|
129
|
+
mcp_id: mcp_right
|
|
130
|
+
pin: 8
|
|
131
|
+
output_type: light
|
|
132
|
+
out_26:
|
|
133
|
+
kind: mcp
|
|
134
|
+
mcp_id: mcp_right
|
|
135
|
+
pin: 9
|
|
136
|
+
output_type: light
|
|
137
|
+
out_27:
|
|
138
|
+
kind: mcp
|
|
139
|
+
mcp_id: mcp_right
|
|
140
|
+
pin: 10
|
|
141
|
+
output_type: light
|
|
142
|
+
out_28:
|
|
143
|
+
kind: mcp
|
|
144
|
+
mcp_id: mcp_right
|
|
145
|
+
pin: 11
|
|
146
|
+
output_type: light
|
|
147
|
+
out_29:
|
|
148
|
+
kind: mcp
|
|
149
|
+
mcp_id: mcp_right
|
|
150
|
+
pin: 12
|
|
151
|
+
output_type: light
|
|
152
|
+
out_30:
|
|
153
|
+
kind: mcp
|
|
154
|
+
mcp_id: mcp_right
|
|
155
|
+
pin: 13
|
|
156
|
+
output_type: light
|
|
157
|
+
out_31:
|
|
158
|
+
kind: mcp
|
|
159
|
+
mcp_id: mcp_right
|
|
160
|
+
pin: 14
|
|
161
|
+
output_type: light
|
|
162
|
+
out_32:
|
|
163
|
+
kind: mcp
|
|
164
|
+
mcp_id: mcp_right
|
|
165
|
+
pin: 15
|
|
166
|
+
output_type: light
|
|
167
|
+
buzzer:
|
|
168
|
+
kind: buzzer
|
|
169
|
+
output_type: switch
|
|
170
|
+
ds2482:
|
|
171
|
+
- id: ds2482_bus
|
|
172
|
+
address: '0x18'
|