Modbus Integration

I am new to Home Assistant, but have been doing automation using Openhab for several years. Most of my integration is with Insteon, but I have some older motion sensors on a Brainbox ED-008, using Modbus. My difficulty is installing the Modbus Integration. It is not in the “Canned” integrations, so after doing some research, I found HACS. Unfortunately, when I attempt to install it as a custom integration, I get: “Repostitory structure for 2021.11.5 is not compliant”. The Modbus Integration information page tells how to set up the configuration.yaml to read my binary sensors (I am familiar with the Modbus protocol from setting it up in Openhab). It also tells me where to find the Modbus code on Github. What I can’t find is where it tells me how to get the Modbus integration installed into Home Assistant. Any assistance would be greatly appreciated.

Modbus is builtin

# Example configuration.yaml entry
modbus:
  - type: tcp
    host: IP_ADDRESS
    port: 502
    switches:
      - name: Switch1
        address: 13
        write_type: coil
      - name: Switch2
        slave: 2
        address: 14
        write_type: coil
        verify:
      - name: Register1
        address: 11
        command_on: 1
        command_off: 0
        verify:
            input_type: holding
            address: 127
            state_on: 25
            state_off: 1
1 Like

Thank you for that info. It has been a few weeks since I was able to get back to it. I put the Yaml config in and it works. It is a little slower than my Openhab, but the lights come on. I’ll work on speed later. For now, it works.