majland
(A.Majland)
14
sensor:
# Danfoss TLX
- platform: rest
resource: http://192.168.189.199/OpModeTxt
name: "TLX Operation Mode"
method: GET
value_template: "{{ value_json.value }}"
# Energy
- platform: rest
resource: http://192.168.189.199/TotalE
name: "TLX Total Energy Production"
method: GET
value_template: "{{ value_json.value |round(3)}}"
unit_of_measurement: kWh
device_class: 'energy'
state_class: total_increasing
- platform: rest
resource: http://192.168.189.199/ProdTday
name: "TLX Production today"
method: GET
value_template: "{{ value_json.value |round(3)}}"
unit_of_measurement: kWh
device_class: 'energy'
state_class: total_increasing
# Voltage / Ampre
- platform: rest
resource: http://192.168.189.199/GridV1
name: "TLX_GridV1"
method: GET
value_template: "{{ value_json.value |round(1)}}"
unit_of_measurement: V
- platform: rest
resource: http://192.168.189.199/GridV2
name: "TLX_GridV2"
method: GET
value_template: "{{ value_json.value |round(1)}}"
unit_of_measurement: V
- platform: rest
resource: http://192.168.189.199/GridV3
name: "TLX_GridV3"
method: GET
value_template: "{{ value_json.value|round(1)}}"
unit_of_measurement: V
- platform: rest
resource: http://192.168.189.199/GridA1
name: "TLX_GridA1"
method: GET
value_template: "{{ value_json.value|round(3)}}"
unit_of_measurement: A
- platform: rest
resource: http://192.168.189.199/GridA2
name: "TLX_GridA2"
method: GET
value_template: "{{ value_json.value|round(3)}}"
unit_of_measurement: A
- platform: rest
resource: http://192.168.189.199/GridA3
name: "TLX_GridA3"
method: GET
value_template: "{{ value_json.value|round(3)}}"
unit_of_measurement: A
- platform: rest
resource: http://192.168.189.199/PvV1
name: "TLX_PvV1"
method: GET
value_template: "{{ value_json.value |round(1)}}"
unit_of_measurement: V
- platform: rest
resource: http://192.168.189.199/PvV2
name: "TLX_PvV2"
method: GET
value_template: "{{ value_json.value |round(1)}}"
unit_of_measurement: V
- platform: rest
resource: http://192.168.189.199/PvV3
name: "TLX_PvV3"
method: GET
value_template: "{{ value_json.value|round(1)}}"
unit_of_measurement: V
- platform: rest
resource: http://192.168.189.199/PvA1
name: "TLX_PvA1"
method: GET
value_template: "{{ value_json.value |round(3)}}"
unit_of_measurement: A
- platform: rest
resource: http://192.168.189.199/PvA2
name: "TLX_PvA2"
method: GET
value_template: "{{ value_json.value |round(3)}}"
unit_of_measurement: A
- platform: rest
resource: http://192.168.189.199/PvA3
name: "TLX_PvA3"
method: GET
value_template: "{{ value_json.value|round(3)}}"
unit_of_measurement: A
# Power
- platform: rest
resource: http://192.168.189.199/GridP
name: "TLX Grid Power"
method: GET
value_template: "{{ value_json.value |round(0)}}"
unit_of_measurement: W
device_class: 'power'