-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmaxim_temp_ds.preset.toml
34 lines (31 loc) · 1.3 KB
/
maxim_temp_ds.preset.toml
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
config_version = 1
# Name of this device preset, used for lookup
name = "maxim_temp_ds"
# Type of this preset; currently the only type is device
type = "device"
# Dependencies required by all input presets in this device
_dependencies = [ "w1thermsensor" ]
# Preset-level metadata; format follows that specified in the top-level
[metadata]
name_full = "Maxim DSxxx-series 1-wire Temp Sensors"
author = "C.A.M. Gerlach"
description = "Device preset for reading the Maxim DSxxx-series 1-wire temperature sensors"
homepage = "https://www.Gerlach.CAM"
repo = "https://github.com/CAM-Gerlach"
preset_version = "0.1.0"
brokkr_version_min = "0.3.0"
# Data types referenced in individual presets
[data_types]
maxim_ds_temperature = { full_name = "Temperature (DSxxxx)", binary_type = "f", unit = "C", uncertainty = 0.5, custom_attrs.attribute_name = "get_temperature", digits = 3, range_min = -55, range_max = 125 }
[inputs]
# The main Maxim DSxxxx data input
[inputs.dsxxxx]
_module_path = "brokkr.pipeline.baseinput"
_class_name = "MethodInputStep"
_dependencies = []
name = "Maxin DSxxxx-series 1-wire Temp Sensors"
sensor_module = "w1thermsensor"
sensor_class = "W1ThermSensor"
data_types = [
"maxim_ds_temperature",
]