Modbus Integration: no data at any register from solar inverter

Hi!

I want to use the Modbus Integration to poll my Fronius Inverter (the official Integration uses the WebApi which is quite limited).
I’m a HA beginner, migrating from another system.

I can’t manage to read any data. This is my configuration:

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml


modbus:
  - name: fronius_symo
    type: tcp
    host: 192.168.178.75
    port: 502
    sensors:
      - name: TestModbus2
        input_type: holding
        slave: 1
        address: 40119
        data_type: uint16

logger:
  default: warning
  logs:
    homeassistant.components.modbus: debug
    pymodbus: debug

the entity TestModbus stays always 0 and is not updated.
I successfully can poll the data over Modbus from my old system, and also I can poll them with a PC programm (QModMaster).


The Log is empty.

I don’t know how to continue… any advice?

Hi :wave:!

Did you enable Modbus in the inverters configuration?

Maybe have a look here Integration of a Fronius Symo Gen 24 plus Inverter via Modbus TCP

I’d be interested what limitations you are facing here (I’m codeowner of the core integration). For a HA beginner this will be somewhat easier to set up - especially regarding energy dashboard. But nothing some documentation studying can’t overcome :wink:

Hi @farmio

sure, Modbus is enabled.
As I told, I can read out the WR by Modbus TCP both with my previous automation tool “edomi”, and so I can with the Modbus Tool QModMaster.

The limitation first speed - With Modbus you can poll at 1Hz - and you get a lot more data, especially Voltage, Current and Power for every String and some more.

Thats the “LBS” I wrote myself for edomi (edomi uses php).