Connect to Homematic on Raspberry Pi

Hello,

I have a big problem and I just can’t get it fixed.

I have recently started running a Home Assistant installation on an Intel NUC and would like to connect it to my Homematic base which has been running for years on a Raspberry Pi with a HM-MOD-RPI-PCB radio module. I can’t get the config to work though.

I only use Homematic components and none from HomematicIP. Actually they are (except for an outdoor thermometer) only thermostats and window sensors.

Under Supervisor -> Homematic -> Config I have:

rf_enable: true
wired_enable: false
hmip_enable: false
rf:
  - type: CCU2
    device: /dev/ttyAMA0
wired:
  - serial: xy
    key: abc
    ip: 192.168.0.0
hmip:
  - type: HMIP_CCU2
    device: /dev/ttyUSB0
regahss_reset: false

And in the configuration.yaml I have:

homematic:
  interfaces:
    rf:
      host: 192.168.1.XX
      port: 2001

    ip:
      host: 192.168.1.XX
      port: 2010
      
  hosts:
    CCU2:
      host: 192.168.1.XX
      port: 2001
      username: USER
      password: PASSWORD

I always get this message in the LOG.

   22:26:23] INFO: Setup BidCos-RF
   /run.sh: line 52: /sys/class/gpio/export: No such file or directory

I have already tried various settings and just can’t get any further…

Can someone help me with that issue? Thank you.