SRNE MPPT Inverter HF4850S80-H HA integration via waveshare RS485 to ETH

Hi guys.
This is my first post here, previously I was just reading and for now I don’t have any problems with HA. Now I force with a wall.
I got this inverter 5000W Hybrid Solar Inverter High Voltage HF4850S80-H - SRNE Solar and RS485 to Ethernet Converter by waveshare.
I connected pin 7 to A (light brown) and pin 8 to B (brown).
https://dekornik.com/wp-content/uploads/2023/02/308e1d09-9ede-43ea-abf9-bb12cce60042.jpg
but after connecting I still has no data

Module Name: RS485 TO ETH
Current IP Address: 192.168.2.224
MAC Address: d4-ad-20-4b-72-42
Remote IP/TX/RX-1 : 0.0.0.0 / 0 byte / 0 byte
-2 : 0.0.0.0/ 0 byte / 0 byte
-3 : 0.0.0.0/ 0 byte / 0 byte
-4 : 0.0.0.0/ 0 byte / 0 byte
-5 : 0.0.0.0/ 0 byte / 0 byte
TX Count/RX Count: 0/ 144 bytes

I try this modbus yml

modbus:

  • name: modbus_tcp
    type: rtuovertcp
    host: 192.168.2.224
    port: 8888
    sensors:
    #Battery level percentage
    • name: Modbus_Inverter_BatteryLevel
      unit_of_measurement: ‘%’
      scale: 1
      slave: 1
      address: 256
      scan_interval: 60
      input_type: holding

In ha logs i got error
2023-02-02 13:06:48.468 ERROR (SyncWorker_0) [homeassistant.components.modbus.modbus] Pymodbus: modbus_tcp: Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)

You need correct baudrate etc.

You may need to enable port.

HI
Thanks for your answer. I was following this guide with waveshare config

enable port? in ha ?

solved


Baud Rate 9600