-
Notifications
You must be signed in to change notification settings - Fork 8
/
demo2.yaml
90 lines (78 loc) · 1.77 KB
/
demo2.yaml
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
# elfin: tcp
# tasmota: rtuovertcp
# tasmota: tcp
# demo for testing
modbus:
- name: edpbox2
type: rtuovertcp
#type: tcp
host: 10.1.0.200
port: 9502
delay: 1
timeout: 3
message_wait_milliseconds: 500
sensors:
- name: "EB2 108 uint16 c1"
unique_id: eb2_demo108_c1
slave: 1
address: 108
input_type: input
data_type: uint16
precision: 1
scale: 0.1
unit_of_measurement: V
device_class: voltage
- name: "EB2 109 uint16 c1"
unique_id: eb2_demo109_c1
slave: 1
address: 109
input_type: input
data_type: uint16
precision: 1
scale: 0.1
unit_of_measurement: A
device_class: current
- name: "EB2 38 uint32 c1"
unique_id: eb2_demo38_c1
slave: 1
address: 38
input_type: input
data_type: custom
count: 1
structure: ">L"
precision: 2
scale: 0.001
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing
###
- name: "EB2 110-111 uint16 c2"
unique_id: eb2_demo110_c2
slave: 1
address: 110
input_type: input
count: 2
data_type: custom
structure: ">2H"
scale: 0.1
precision: 1
- name: "EB2 22+23 uint32 c2"
unique_id: eb2_demo22_c2
slave: 1
address: 22
input_type: input
count: 2
data_type: custom
structure: ">2L"
scale: 0.001
precision: 2
###
- name: "EB2 clock demo"
unique_id: eb2_clock_demo
slave: 1
address: 1
input_type: input
count: 1
data_type: custom
structure: ">H7BhB"
# eof