device_Raspberry_TAROT_sn002.yml
1.93 KB
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
# Schema file to check the syntax of this config file
schema: schema_device-2.0.yml
# Here is the description of the configuration of an isolated device
DEVICE:
inventory_label: SEC-RSP-011
manufacturer: "Eymar"
model: "TAROT meteo station"
description: "Universal meteo station for TAROT based on Raspberry 4"
sn: SN002
power:
voltage: 220
intensity: 1
socket: "CEE 7/7 2P+T"
connector:
input: 220V
output: "data frame"
hostname: ""
virtual_machine: False
os: Linux
os_version: Raspbian
network_interfaces:
- B8:27:EB:8B:99:AA # RJ45
- b8:27:eb:de:cc:AB # Wifi
protocol:
transport: TCP
langage: Json
read: True
write: False
CAPABILITIES:
- CAPABILITY:
component: WeatherStation
attributes:
- attribute:
key: manufacturer
value: "L. Eymar"
- attribute:
key: model
value: Raspberry
output_data:
- data:
key: rain
category: meteo
label: Rain
value_type: float
unit: bool
description:
- data:
key: temp_ext
category: meteo
label: Ext. Temp.
value_type: float
unit: degC
description:
- data:
key: Power_supply
category: electricity
label: Power supply
value_type: float
unit: Volts
description: