Hi,
I am trying to integrate a boiler (De Dietrich Diematic) via Modbus.
I have now discovered that the device sends 10 bytes back, but HA only reads 7 bytes. This way, the data gets chopped up.
I’ve tried receiving data with a 3rd party application, and here I see the ‘full receive frame’ 10 bytes.
(Just receiving plain TCP-socket bytes)
- Example from my 3r party debug application :
RECV: 0xa 0x3 0x2 0x0 0xb1 0xdd 0xf1 0x0 0x0 0x0 - Error example from HA log :
RECV : 0x0 0x0 0x0 0xa 0x3 0x2 0x0 - But sometimes HA is lucky and received this (good decode) :
RECV: 0xa 0x3 0x2 0x0 0xb1 0xdd 0xf1
Is there a way to tackle this?
(My yaml config : see below)
(Using the many error correction options, I sometimes get a value)
I am using a RS485 to ethernet adapter (rtuovertcp). Serial settings such as baud rate, start bits,… are correct.
modbus:
- name: Waveshare
type: rtuovertcp
host: 192.168.2.245
port: 20108
#close_comm_on_error: true
retry_on_empty: true
retries: 10
timeout: 15
delay: 2
message_wait_milliseconds: 2000
sensors:
- name: Temperatuur_badkamer
slave: 10
address: 18
count: 1
input_type: holding
data_type: int16
lazy_error_count: 5
scale: 0.1
precision: 1
unit_of_measurement: '°C'
device_class: "temperature"
scan_interval: 20