-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi 5 Support #225
Comments
Like many of these, it is too old and almost certainly uses a legacy gpio Pi module, like RPi.GPIO or Pigpio, these all need to move to a modern generic GPIO Linux setup. |
You can try https://codeberg.org/raboof/ha-gpio the author discussed here about adding support for Pi 5 |
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
Unless the integration is updated to use lgpio methods or similar it will
not work. The old Pi4 and before will not work as the Pi5 uses the RP1 for
GPIO now and uses the standard bookworm/linux methods.
There is a 'shim' that could be used as a halfway house.
…On Sat, 2 Mar 2024, 5:39 pm Boris Hrubý, ***@***.***> wrote:
Today I tried to migrate my HA from RPi4 to RPi5. In the end I have
managed it to work but the process was not so straightforward and easy as I
was expecting at all. But what I wasn't able to make work was this
integration.
I really don't know what could be the problem but it looks like it simply
doesn't work on the RPi5 somehow...
image.png (view on web)
<https://github.com/thecode/ha-rpi_gpio/assets/58848957/8fa3931a-fe6a-4527-a278-27d2fc0894b4>
—
Reply to this email directly, view it on GitHub
<#225 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACYAXNZPF2OSNFZMNZCBXCLYWIFDJAVCNFSM6AAAAABA5KCERCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZUHA3DCMJZGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
Same here, would want to use GPIO on RPI5 as several SSR relays hooked to my header to control garden lighting and power supplies. |
ha-rpi_gpio is not working with Raspberry Pi 5.
2023-12-20 18:58:30.841 ERROR (MainThread) [homeassistant.components.switch] Error while setting up rpi_gpio platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, 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 69, in setup_platform
RPiGPIOSwitch(
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
2023-12-20 19:00:33.540 WARNING (SyncWorker_10) [py.warnings] /config/custom_components/rpi_gpio/init.py:26: RuntimeWarning: No channels have been set up yet - nothing to clean up! Try cleaning up at the end of your program instead!
GPIO.cleanup()
Core
2024.1.0.dev20231218
Supervisor
2023.12.0
Operating System
11.3.dev20231214
Frontend
20231218.0.dev
The text was updated successfully, but these errors were encountered: