Skip to content
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

Closed
TroyJ opened this issue Dec 20, 2023 · 7 comments
Closed

Raspberry Pi 5 Support #225

TroyJ opened this issue Dec 20, 2023 · 7 comments
Labels
stale There has not been activity on this issue or PR for quite some time

Comments

@TroyJ
Copy link

TroyJ commented Dec 20, 2023

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

@bsimmo
Copy link

bsimmo commented Jan 15, 2024

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.

@thecode
Copy link
Owner

thecode commented Jan 15, 2024

You can try https://codeberg.org/raboof/ha-gpio the author discussed here about adding support for Pi 5

Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time label Feb 29, 2024
@BorisHruby
Copy link

BorisHruby commented Mar 2, 2024

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...

I have this in my configuration.yaml file:
image

Was working like a charm on the RPi4 but here on the RPi5 the entity is simply not created.

image

@bsimmo
Copy link

bsimmo commented Mar 2, 2024 via email

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time label Mar 3, 2024
Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time label Mar 18, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 25, 2024
@elik745i
Copy link

elik745i commented Apr 7, 2024

Same here, would want to use GPIO on RPI5 as several SSR relays hooked to my header to control garden lighting and power supplies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale There has not been activity on this issue or PR for quite some time
Projects
None yet
Development

No branches or pull requests

5 participants