Homegear service fails on opening GPIO 18

Dear Homegear forum,

I have been using Homegear in my openhabian installation on raspbian bullseye for some time and it worked well. I use a HM-MOD-RPI-PCB on the Raspberry 3B.

I installed a latest openhabian sd-card image and selected the optional installation of Homegear in the openhabian-config menu. Further I have edited the etc/homegear/families/homematicbidcos.conf to have the defaults for the HM-MOD-RPI-PCB configured (gpio 18).

The installation reported a failure as follows

Unpacking wiringpi (2.61) over (2.61) ...
Setting up wiringpi (2.61) ...
/bin/chown: warning: '.' should be ':': ‘root.root’
Processing triggers for man-db (2.11.2-2) ...
OK
2024-10-18_11:29:00_CEST [openHABian] Setting up Homegear user account permissions... OK
2024-10-18_11:29:01_CEST [openHABian] Setting up Homegear service... FAILED (enable service)
2024-10-18_11:29:57_CEST [openHABian] Checking for default openHABian username:password combination... OK

ON attempting to start the Homegear service it fails:

 start job for unit homegear.service has begun execution.
The job identifier is 968.
Oct 18 12:00:00 openhabian rpi_init[5999]: /usr/bin/gpio: Unable to open GPIO direction interface for pin 18: No such file or directory
Oct 18 12:00:00 openhabian systemd[1]: homegear.service: Control process exited, code=exited, status=1/FAILURE
Subject: Unit process exited
Defined-By: systemd
Support: https://www.debian.org/support

An ExecStartPre= process belonging to unit homegear.service has exited.
The process' exit code is 'exited' and its exit status is 1.

The tty device seems to be ok:

$ dmesg | grep "tty"
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=720 bcm2708_fb.fbheight=480 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000  console=ttyAMA0,115200 console=tty1 root=PARTUUID=60f03150-02 rootfstype=ext4 fsck.repair=yes rootwait
[    0.000416] printk: console [tty1] enabled
[    3.179306] 3f215040.serial: ttyS0 at MMIO 0x3f215040 (irq = 86, base_baud = 50000000) is a 16550
[    3.182302] serial serial0: tty port ttyS0 registered
[    3.255491] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
[    3.258571] printk: console [ttyAMA0] enabled
[    8.707704] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[    8.736534] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[    8.854399] systemd[1]: Expecting device dev-ttyAMA0.device - /dev/ttyAMA0...

$ ll /sys/class/tty/ttyAM*
lrwxrwxrwx 1 root root 0 Oct 18 11:28 /sys/class/tty/ttyAMA0 -> ../../devices/platform/soc/3f201000.serial/tty/ttyAMA0/

the default user openhabian has group membership for gpio.

What am I missing?

I would be grateful for any advice!

Best regards!

Apologies I forgot to mention the new OS image is openhabian based on raspbian bookworm.

Just FYI, I tried bumping the version of openhabian config tool ( openHABian Configuration Tool — [main]{2024-10-15T10:54:03+02:00}(a85d675)) as I saw there have been some changes to the openhabian scripts for Homegear installation, which excludes wiringpi. I deinstalled homegear and wiringpi, rebooted and tried to reinstall Homegear, which failed and gave me the following status:

sudo systemctl status homegear
× homegear.service - Homegear
     Loaded: loaded (/etc/systemd/system/homegear.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Fri 2024-10-18 14:59:16 CEST; 21min ago
    Process: 1106 ExecStartPre=/usr/local/sbin/rpi_init /usr/bin/gpio export 18 out (code=exited, status=127)