Mon, 25 Mar 2024 17:14:56 +0100
Brought the retry attempts to read the DHT11 sensors to the main devices loop. The actual read function is now very simple. Called every 30 seconds when all is well, or 2 seconds if something is wrong.
626 | 1 | { |
2 | "board": { | |
633
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
3 | "3dviewports": [], |
626 | 4 | "design_settings": { |
5 | "defaults": { | |
6 | "board_outline_line_width": 0.1, | |
7 | "copper_line_width": 0.2, | |
8 | "copper_text_size_h": 1.5, | |
9 | "copper_text_size_v": 1.5, | |
10 | "copper_text_thickness": 0.3, | |
11 | "other_line_width": 0.15, | |
12 | "silk_line_width": 0.15, | |
13 | "silk_text_size_h": 1.0, | |
14 | "silk_text_size_v": 1.0, | |
15 | "silk_text_thickness": 0.15 | |
16 | }, | |
17 | "diff_pair_dimensions": [], | |
18 | "drc_exclusions": [], | |
19 | "rules": { | |
20 | "solder_mask_clearance": 0.0, | |
21 | "solder_mask_min_width": 0.0 | |
22 | }, | |
23 | "track_widths": [], | |
24 | "via_dimensions": [] | |
25 | }, | |
633
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
26 | "layer_presets": [], |
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
27 | "viewports": [] |
626 | 28 | }, |
29 | "boards": [], | |
30 | "cvpcb": { | |
31 | "equivalence_files": [] | |
32 | }, | |
33 | "erc": { | |
34 | "erc_exclusions": [], | |
35 | "meta": { | |
36 | "version": 0 | |
37 | }, | |
38 | "pin_map": [ | |
39 | [ | |
40 | 0, | |
41 | 0, | |
42 | 0, | |
43 | 0, | |
44 | 0, | |
45 | 0, | |
46 | 1, | |
47 | 0, | |
48 | 0, | |
49 | 0, | |
50 | 0, | |
51 | 2 | |
52 | ], | |
53 | [ | |
54 | 0, | |
55 | 2, | |
56 | 0, | |
57 | 1, | |
58 | 0, | |
59 | 0, | |
60 | 1, | |
61 | 0, | |
62 | 2, | |
63 | 2, | |
64 | 2, | |
65 | 2 | |
66 | ], | |
67 | [ | |
68 | 0, | |
69 | 0, | |
70 | 0, | |
71 | 0, | |
72 | 0, | |
73 | 0, | |
74 | 1, | |
75 | 0, | |
76 | 1, | |
77 | 0, | |
78 | 1, | |
79 | 2 | |
80 | ], | |
81 | [ | |
82 | 0, | |
83 | 1, | |
84 | 0, | |
85 | 0, | |
86 | 0, | |
87 | 0, | |
88 | 1, | |
89 | 1, | |
90 | 2, | |
91 | 1, | |
92 | 1, | |
93 | 2 | |
94 | ], | |
95 | [ | |
96 | 0, | |
97 | 0, | |
98 | 0, | |
99 | 0, | |
100 | 0, | |
101 | 0, | |
102 | 1, | |
103 | 0, | |
104 | 0, | |
105 | 0, | |
106 | 0, | |
107 | 2 | |
108 | ], | |
109 | [ | |
110 | 0, | |
111 | 0, | |
112 | 0, | |
113 | 0, | |
114 | 0, | |
115 | 0, | |
116 | 0, | |
117 | 0, | |
118 | 0, | |
119 | 0, | |
120 | 0, | |
121 | 2 | |
122 | ], | |
123 | [ | |
124 | 1, | |
125 | 1, | |
126 | 1, | |
127 | 1, | |
128 | 1, | |
129 | 0, | |
130 | 1, | |
131 | 1, | |
132 | 1, | |
133 | 1, | |
134 | 1, | |
135 | 2 | |
136 | ], | |
137 | [ | |
138 | 0, | |
139 | 0, | |
140 | 0, | |
141 | 1, | |
142 | 0, | |
143 | 0, | |
144 | 1, | |
145 | 0, | |
146 | 0, | |
147 | 0, | |
148 | 0, | |
149 | 2 | |
150 | ], | |
151 | [ | |
152 | 0, | |
153 | 2, | |
154 | 1, | |
155 | 2, | |
156 | 0, | |
157 | 0, | |
158 | 1, | |
159 | 0, | |
160 | 2, | |
161 | 2, | |
162 | 2, | |
163 | 2 | |
164 | ], | |
165 | [ | |
166 | 0, | |
167 | 2, | |
168 | 0, | |
169 | 1, | |
170 | 0, | |
171 | 0, | |
172 | 1, | |
173 | 0, | |
174 | 2, | |
175 | 0, | |
176 | 0, | |
177 | 2 | |
178 | ], | |
179 | [ | |
180 | 0, | |
181 | 2, | |
182 | 1, | |
183 | 1, | |
184 | 0, | |
185 | 0, | |
186 | 1, | |
187 | 0, | |
188 | 2, | |
189 | 0, | |
190 | 0, | |
191 | 2 | |
192 | ], | |
193 | [ | |
194 | 2, | |
195 | 2, | |
196 | 2, | |
197 | 2, | |
198 | 2, | |
199 | 2, | |
200 | 2, | |
201 | 2, | |
202 | 2, | |
203 | 2, | |
204 | 2, | |
205 | 2 | |
206 | ] | |
207 | ], | |
208 | "rule_severities": { | |
209 | "bus_definition_conflict": "error", | |
210 | "bus_entry_needed": "error", | |
211 | "bus_to_bus_conflict": "error", | |
212 | "bus_to_net_conflict": "error", | |
633
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
213 | "conflicting_netclasses": "error", |
626 | 214 | "different_unit_footprint": "error", |
215 | "different_unit_net": "error", | |
216 | "duplicate_reference": "error", | |
217 | "duplicate_sheet_names": "error", | |
633
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
218 | "endpoint_off_grid": "warning", |
626 | 219 | "extra_units": "error", |
220 | "global_label_dangling": "warning", | |
221 | "hier_label_mismatch": "error", | |
222 | "label_dangling": "error", | |
223 | "lib_symbol_issues": "warning", | |
633
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
224 | "missing_bidi_pin": "warning", |
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
225 | "missing_input_pin": "warning", |
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
226 | "missing_power_pin": "error", |
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
227 | "missing_unit": "warning", |
626 | 228 | "multiple_net_names": "warning", |
229 | "net_not_bus_member": "warning", | |
230 | "no_connect_connected": "warning", | |
231 | "no_connect_dangling": "warning", | |
232 | "pin_not_connected": "error", | |
233 | "pin_not_driven": "error", | |
234 | "pin_to_pin": "warning", | |
235 | "power_pin_not_driven": "error", | |
236 | "similar_labels": "warning", | |
633
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
237 | "simulation_model_issue": "ignore", |
626 | 238 | "unannotated": "error", |
239 | "unit_value_mismatch": "error", | |
240 | "unresolved_variable": "error", | |
241 | "wire_dangling": "error" | |
242 | } | |
243 | }, | |
244 | "libraries": { | |
245 | "pinned_footprint_libs": [], | |
246 | "pinned_symbol_libs": [] | |
247 | }, | |
248 | "meta": { | |
249 | "filename": "ThermFerm.kicad_pro", | |
250 | "version": 1 | |
251 | }, | |
252 | "net_settings": { | |
253 | "classes": [ | |
254 | { | |
633
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
255 | "bus_width": 12, |
626 | 256 | "clearance": 0.2, |
257 | "diff_pair_gap": 0.25, | |
258 | "diff_pair_via_gap": 0.25, | |
259 | "diff_pair_width": 0.2, | |
260 | "line_style": 0, | |
261 | "microvia_diameter": 0.3, | |
262 | "microvia_drill": 0.1, | |
263 | "name": "Default", | |
264 | "pcb_color": "rgba(0, 0, 0, 0.000)", | |
265 | "schematic_color": "rgba(0, 0, 0, 0.000)", | |
266 | "track_width": 0.25, | |
267 | "via_diameter": 0.8, | |
268 | "via_drill": 0.4, | |
633
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
269 | "wire_width": 6 |
626 | 270 | } |
271 | ], | |
272 | "meta": { | |
633
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
273 | "version": 3 |
626 | 274 | }, |
633
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
275 | "net_colors": null, |
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
276 | "netclass_assignments": null, |
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
277 | "netclass_patterns": [] |
626 | 278 | }, |
279 | "pcbnew": { | |
280 | "last_paths": { | |
281 | "gencad": "", | |
282 | "idf": "", | |
283 | "netlist": "", | |
284 | "specctra_dsn": "", | |
285 | "step": "", | |
286 | "vrml": "" | |
287 | }, | |
288 | "page_layout_descr_file": "" | |
289 | }, | |
290 | "schematic": { | |
291 | "annotate_start_num": 0, | |
292 | "drawing": { | |
633
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
293 | "dashed_lines_dash_length_ratio": 12.0, |
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
294 | "dashed_lines_gap_length_ratio": 3.0, |
626 | 295 | "default_line_thickness": 6.0, |
296 | "default_text_size": 50.0, | |
297 | "field_names": [], | |
298 | "intersheets_ref_own_page": false, | |
299 | "intersheets_ref_prefix": "", | |
300 | "intersheets_ref_short": false, | |
301 | "intersheets_ref_show": false, | |
302 | "intersheets_ref_suffix": "", | |
303 | "junction_size_choice": 3, | |
304 | "label_size_ratio": 0.25, | |
305 | "pin_symbol_size": 0.0, | |
306 | "text_offset_ratio": 0.08 | |
307 | }, | |
308 | "legacy_lib_dir": "", | |
309 | "legacy_lib_list": [], | |
310 | "meta": { | |
311 | "version": 1 | |
312 | }, | |
313 | "net_format_name": "", | |
314 | "ngspice": { | |
315 | "fix_include_paths": true, | |
316 | "fix_passive_vals": false, | |
317 | "meta": { | |
318 | "version": 0 | |
319 | }, | |
320 | "model_mode": 0, | |
321 | "workbook_filename": "" | |
322 | }, | |
323 | "page_layout_descr_file": "", | |
324 | "plot_directory": "", | |
325 | "spice_adjust_passive_values": false, | |
633
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
326 | "spice_current_sheet_as_root": false, |
626 | 327 | "spice_external_command": "spice \"%I\"", |
633
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
328 | "spice_model_current_sheet_as_root": true, |
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
329 | "spice_save_all_currents": false, |
8b84e73af50e
Add DESTDIR installation target. Some kicad update again. Moved init script to /etc/rc.d
Michiel Broek <mbroek@mbse.eu>
parents:
626
diff
changeset
|
330 | "spice_save_all_voltages": false, |
626 | 331 | "subpart_first_id": 65, |
332 | "subpart_id_separator": 0 | |
333 | }, | |
334 | "sheets": [ | |
335 | [ | |
336 | "8e405636-9759-48f8-b16c-6d9bbee07d24", | |
337 | "" | |
338 | ] | |
339 | ], | |
340 | "text_variables": {} | |
341 | } |