HA ModBus working, but error in logs

Dear community

I’ve been using a ModBus for a while now to retrieve data from my VictronEnergy system (inverter, generator, batteries, …) locally directly from HA to Virctron in the same VLAN/IP Subnet. Data retrieval works flawlessly, but my HA logs are full of messages like this one:

2023-08-07 06:41:00.006 ERROR (MainThread) [homeassistant.components.modbus.base_platform] Received 0 bytes, unpack error unpack requires a buffer of 2 bytes

Who anyone know why this error appears ? I assume a misconfiguration somehow ?

Here is my modbus HA config file

modbus:

  • name: victron
    type: tcp
    host: 192.168.1. # use the IP address of your CCGX
    port: 502
    sensors:
    • name: “AC HOME Load” # works
      scan_interval: 30
      unit_of_measurement: “W”
      slave: 100
      address: 817

    • name: “BYD Batteries” # works
      scan_interval: 30
      unit_of_measurement: “%”
      slave: 100
      address: 843

    • name: “Victron PV Charge” # works
      scan_interval: 30
      unit_of_measurement: “W”
      slave: 100
      address: 850

    • name: “Fronius PV Charge”
      scan_interval: 30
      unit_of_measurement: “W”
      slave: 20
      address: 1029

    • name: “GenSet start stop state” # ???
      scan_interval: 30
      slave: 100
      address: 3506

Thanks! IceKream.