forked from TorbenNor/Danfoss-TLX
-
Notifications
You must be signed in to change notification settings - Fork 6
/
configuration.yaml
102 lines (102 loc) · 3.82 KB
/
configuration.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
91
92
93
94
95
96
97
98
99
100
101
102
rest:
- resource: http:/[IP-Address]/All
sensor:
# Info
- name: "TLX Operation Mode"
value_template: "{{ value_json.OpMode }}"
- name: "TLX Operation Mode Text"
value_template: "{{ value_json.OpModeTxt }}"
- name: "TLX Product Number"
value_template: "{{ value_json.Product }}"
- name: "TLX Serial"
value_template: "{{ value_json.Serial }}"
# Produkction Energy
- name: "TLX Total Energy Production"
value_template: "{{ value_json.TotalE |round(3)}}"
unit_of_measurement: kWh
device_class: 'energy'
state_class: total_increasing
- name: "TLX Production today"
value_template: "{{ value_json.ProdTday |round(3)}}"
unit_of_measurement: kWh
device_class: 'energy'
state_class: total_increasing
- name: "TLX Production this year"
value_template: "{{ value_json.ProdTyear |round(3)}}"
unit_of_measurement: kWh
device_class: 'energy'
state_class: total_increasing
- name: "TLX Grid Energy Today"
value_template: "{{ value_json.GridEday |round(3)}}"
unit_of_measurement: kWh
device_class: 'energy'
state_class: total_increasing
- name: "TLX Grid Energy Today, L1"
value_template: "{{ value_json.GridEL1day |round(3)}}"
unit_of_measurement: kWh
device_class: 'energy'
state_class: total_increasing
- name: "TLX Grid Energy Today, L2"
value_template: "{{ value_json.GridEL2day |round(3)}}"
unit_of_measurement: kWh
device_class: 'energy'
state_class: total_increasing
- name: "TLX Grid Energy Today, L3"
value_template: "{{ value_json.GridEL3day |round(3)}}"
unit_of_measurement: kWh
device_class: 'energy'
state_class: total_increasing
# Power
- name: "TLX Grid Power"
value_template: "{{ value_json.GridP |round(0)}}"
unit_of_measurement: W
device_class: 'power'
- name: "TLX_GridP1"
value_template: "{{ value_json.GridP1 |round(0)}}"
unit_of_measurement: W
device_class: 'power'
- name: "TLX_GridP2"
value_template: "{{ value_json.GridP2 |round(0)}}"
unit_of_measurement: W
device_class: 'power'
- name: "TLX_GridP3"
value_template: "{{ value_json.GridP3 |round(0)}}"
unit_of_measurement: W
device_class: 'power'
# Volt / Ampere
- name: "TLX_GridV1"
value_template: "{{ value_json.GridV1 |round(1)}}"
unit_of_measurement: V
- name: "TLX_GridV2"
value_template: "{{ value_json.GridV2 |round(1)}}"
unit_of_measurement: V
- name: "TLX_GridV3"
value_template: "{{ value_json.GridV3 |round(1)}}"
unit_of_measurement: V
- name: "TLX_PvV1"
value_template: "{{ value_json.PvV1 |round(1)}}"
unit_of_measurement: V
- name: "TLX_PvV2"
value_template: "{{ value_json.PvV2 |round(1)}}"
unit_of_measurement: V
- name: "TLX_PvV3"
value_template: "{{ value_json.PvV3 |round(1)}}"
unit_of_measurement: V
- name: "TLX_GridA1"
value_template: "{{ value_json.GridA1 |round(1)}}"
unit_of_measurement: A
- name: "TLX_GridA2"
value_template: "{{ value_json.GridA2 |round(1)}}"
unit_of_measurement: A
- name: "TLX_GridA3"
value_template: "{{ value_json.GridA3 |round(1)}}"
unit_of_measurement: A
- name: "TLX_PvA1"
value_template: "{{ value_json.PvA1 |round(1)}}"
unit_of_measurement: A
- name: "TLX_PvA2"
value_template: "{{ value_json.PvA2 |round(1)}}"
unit_of_measurement: A
- name: "TLX_PvA3"
value_template: "{{ value_json.PvA3 |round(1)}}"
unit_of_measurement: A