APC SmartUPS (SMTxxxIC) Modbus TCP integration

Hi All,

I’m trying to add my APC SMT750IC UPS to HA.
This UPS is modbus TCP capable via the port 502 : APC Modbus doc
I have no knowledge of YAML, so I tried to copy this config and adapt it to my settings: Modbus reload in developer tools doesn’t work? · Issue #116675 · home-assistant/core

If I understand correctly APC documentation about Modbus integration, the YAML address parameter should be set to the register value we want to look up for. For example, 130 for StateOfCharge_Pct

So I tried to set this in my yaml.configuration file:

modbus:
  - name: modbus_ups_apc_smt750ic_salon
    type: tcp
    host: 192.168.1.21
    port: 502
    delay: 3
    message_wait_milliseconds: 45
    timeout: 30

    sensors:
      # Battery capacity
      - name: UPS battery capacity
        # unique_id: ups_modbus_ip_10_228_199_201_slave_1_address_103
        unit_of_measurement: "%"
        device_class: battery
        slave: 1
        address: 0x82
        input_type: input
        data_type: uint16
        precision: 0
        # Temperature
      - name: UPS temperature
        # unique_id: ups_modbus_ip_10_228_199_201_slave_1_address_107
        unit_of_measurement: "°C"
        device_class: temperature
        slave: 1
        address: 135
        input_type: input
        data_type: int16
        precision: 1
        # Autonomy time
      - name: UPS autonomy time
        # unique_id: ups_modbus_ip_10_228_199_201_slave_1_address_108
        unit_of_measurement: "min"
        slave: 1
        address: 129
        input_type: input
        data_type: uint32
        precision: 0

But no data found, always showing “Unavailable”.

Do you have any idea what could be the problem?

Thanks,
Patrick