Strange Problem
Reading 2 Register on Register Adress that not Follow fails:
- platform: modbus_controller
modbus_controller_id: pv_meter
name: "PV active PWR L1"
id: pv_pwr_L1
register_type: holding
address: 0x041A
unit_of_measurement: "W"
value_type: S_DWORD
accuracy_decimals: 0
state_class: measurement
device_class: POWER
- platform: modbus_controller
modbus_controller_id: pv_meter
name: "PV active total"
id: pv_at
register_type: holding
address: 0x0122
unit_of_measurement: "kWh"
value_type: S_DWORD
accuracy_decimals: 2
state_class: total
device_class: ENERGY
filters:
- multiply: 0.01
seperate Setup works
setup:
uart:
id: mod_bus
tx_pin: 17
rx_pin: 16
baud_rate: 9600
stop_bits: 1
parity: none
rx_buffer_size : 64
debug:
direction: BOTH
modbus:
flow_control_pin: 18
id: modbus1
disable_crc: true
send_wait_time: 500ms
# ds100
modbus_controller:
- id: pv_meter
## the Modbus device addr
address: 103
modbus_id: modbus1
setup_priority: -10
command_throttle: 250ms
offline_skip_updates: 4
- id: wp_meter
## the Modbus device addr
address: 5
modbus_id: modbus1
setup_priority: -11
command_throttle: 250ms
offline_skip_updates: 4
3 sensor Register 400,402,404 (other modbus device on id 5)
debug output
[D][uart_debug:114]: <<< 05:04:0C:00:03:8B:65:00:03:8B:32:00:03:87:68:F9:CE:00:00
so Modbus get Sensordate for 3 Values in one Step
so i have an timing problem
how to wait
between read address: 0x041A
and
read address: 0x0122
i think that ist the problem -
but how to separate sensor readings if no on follow register adress ?