modbus:
name: hf
type: tcp
host: 192.168.2.10
port: 8899
sensor:
- platform: modbus
registers:
- name: DTS2626_IA
hub: hf
slave: 33
unit_of_measurement: A
register: 3
scale: 0.01
precision: 1
- name: DTS2626_IB
hub: hf
slave: 33
unit_of_measurement: A
register: 4
scale: 0.01
precision: 1
- name: DTS2626_IC
hub: hf
slave: 33
unit_of_measurement: A
register: 5
scale: 0.01
precision: 1
- name: DTS2626_Power
hub: hf
slave: 33
unit_of_measurement: W
register: 7
- name: DTS2626_Kwh
hub: hf
slave: 33
unit_of_measurement: Kwh
register: 29
count: 2
scale: 0.01
precision: 1
utility_meter:
daily_energy:
source: sensor.dts2626_kwh
cycle: daily
monthly_energy:
source: sensor.dts2626_kwh
cycle: monthly
|