Hi,
after lots of trouble i was able to make Home assistant Core work on my Raspberry Pi 5 in a Docker Container.
Everything works fine.
The only thing is that i have problems using the GPIO pins.
the Docker COntainer is --privileged so it should be able to access the GPIO Pins.
I Installed Hacs and the Raspberry Pi GPIO Repository. THis worked great on my Raspberry Pi 3B.
Now i am only getting this error in the logs on startup of the container:
Logger: homeassistant.components.switch
Source: helpers/entity_platform.py:360
Integration: Schalter (documentation, issues)
First occurred: 14:31:32 (1 occurrences)
Last logged: 14:31:32
Error while setting up rpi_gpio platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 360, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rpi_gpio/switch.py", line 84, in setup_platform
switches.append(RPiGPIOSwitch(name, port, invert_logic))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rpi_gpio/switch.py", line 100, in __init__
setup_output(self._port)
File "/config/custom_components/rpi_gpio/__init__.py", line 39, in setup_output
GPIO.setup(port, GPIO.OUT)
RuntimeError: Cannot determine SOC peripheral base address
Is someone able to help me?