07-31-2024, 03:07 PM
(This post was last modified: 07-31-2024, 04:22 PM by sebagarayco.)
Kincony, please confirm if this configuration is correct as METER CONSUMPTION is still showing 0.04kWh. METER CURRENT not showing properly neither
- name: hub1
type: serial
baudrate: 9600
bytesize: 8
method: rtu
parity: N
port: /dev/ttyS0
stopbits: 1
sensors:
- name: meter-voltage
slave: 1
address: 100
input_type: holding
data_type: float32
precision: 2
unit_of_measurement: V
device_class: voltage
- name: meter-current
slave: 1
address: 106
input_type: holding
data_type: float32
precision: 2
unit_of_measurement: A
device_class: current
- name: meter-power
slave: 1
address: 118
input_type: holding
data_type: float32
precision: 2
unit_of_measurement: kW
device_class: power
- name: meter-factor
slave: 1
address: 142
input_type: holding
data_type: float32
precision: 2
device_class: power_factor
- name: meter-frequency
slave: 1
address: 144
input_type: holding
data_type: float32
precision: 2
unit_of_measurement: Hz
device_class: frequency
- name: meter-consumption
slave: 1
address: 0
input_type: holding
data_type: float32
precision: 2
unit_of_measurement: kWh
device_class: energy_storage
- name: hub1
type: serial
baudrate: 9600
bytesize: 8
method: rtu
parity: N
port: /dev/ttyS0
stopbits: 1
sensors:
- name: meter-voltage
slave: 1
address: 100
input_type: holding
data_type: float32
precision: 2
unit_of_measurement: V
device_class: voltage
- name: meter-current
slave: 1
address: 106
input_type: holding
data_type: float32
precision: 2
unit_of_measurement: A
device_class: current
- name: meter-power
slave: 1
address: 118
input_type: holding
data_type: float32
precision: 2
unit_of_measurement: kW
device_class: power
- name: meter-factor
slave: 1
address: 142
input_type: holding
data_type: float32
precision: 2
device_class: power_factor
- name: meter-frequency
slave: 1
address: 144
input_type: holding
data_type: float32
precision: 2
unit_of_measurement: Hz
device_class: frequency
- name: meter-consumption
slave: 1
address: 0
input_type: holding
data_type: float32
precision: 2
unit_of_measurement: kWh
device_class: energy_storage