Some devices ,may require a login in order to change certain registers.
Hi,
have you manage to solve problem with total energy 0 value?
please help me with integration i try a lot and don"t work
i try with modbus seriel i see the sensor but no value
i try with esp 32 and don<t work .
my configuration yaml
please tell my what are wrong ?
modbus:
- name: meter
type: serial
baudrate: 9600
bytesize: 8
method: rtu
parity: N
port: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
stopbits: 1
sensors:-
name: sdm630_energy
address: 1
input_type: input
slave: 1
precision: 2
data_type: float32
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing -
name: sdm630_p1
slave: 1
address: 2
input_type: input
precision: 2
data_type: float32
unit_of_measurement: V
device_class: voltage -
name: sdm630_p2
slave: 1
address: 3
input_type: input
precision: 2
data_type: float32
unit_of_measurement: V
device_class: voltage -
name: sdm630_p3
slave: 1
address: 4
input_type: input
precision: 2
data_type: float32
unit_of_measurement: V
device_class: voltage -
name: sdm630_p1_current
slave: 1
address: 6
input_type: input
precision: 3
data_type: float32
unit_of_measurement: A
device_class: current -
name: sdm630_p2_current
slave: 1
address: 8
input_type: input
precision: 3
data_type: float32
unit_of_measurement: A
device_class: current -
name: sdm630_p3_current
slave: 1
address: 10
input_type: input
precision: 3
data_type: float32
unit_of_measurement: A
device_class: current -
name: sdm630_p1
slave: 1
address: 12
input_type: input
precision: 3
scale: 0.001
data_type: float32
unit_of_measurement: kW
device_class: power -
name: sdm630_p2
slave: 1
address: 14
input_type: input
precision: 3
scale: 0.001
data_type: float32
unit_of_measurement: kW
device_class: power -
name: sdm630_p3
slave: 1
address: 16
input_type: input
precision: 3
scale: 0.001
data_type: float32
unit_of_measurement: kW
device_class: power -
name: sdm630_current
slave: 1
address: 48
input_type: input
precision: 3
data_type: float32
unit_of_measurement: A
device_class: current -
name: sdm630_power
slave: 1
address: 52
input_type: input
precision: 3
scale: 0.001
data_type: float32
unit_of_measurement: kW
device_class: power -
name: sdm630__power
slave: 1
address: 56
input_type: input
precision: 2
data_type: float32
unit_of_measurement: VA
device_class: power -
name: sdm630_reactive_power
slave: 1
address: 60
input_type: input
precision: 2
data_type: float32
unit_of_measurement: VAr
device_class: power -
name: sdm630_sum_pf
slave: 1
address: 62
input_type: input
precision: 2
data_type: float32
unit_of_measurement: cosф
device_class: power_factor
-