Docker upgrade to 2022.04: GPIO not working anymore

Hi.
Since the last 2022.04 upgrade GPIO stopped working. I’m using docker installation, I launch it with the following command:

docker run -d \
  --name homeassistant \
  --privileged \
  --restart=unless-stopped \
  -e TZ=Europe/Rome \
  -v /home/pi/ha-docker:/config \
  --network=host \
  ghcr.io/home-assistant/home-assistant:stable

so basically the same given in installation.

I can confirm the ports are working because if I use the command line i2cset tool I can control the attached devices (on the host).

I couldn’t find anything online and I cannot find any reason why it shouldn’t work. Any hint is welcome. Thanks

This has been announced quite a while, see the release notes of previous releases. And: architecture/0019-GPIO.md at ab83332fcaf582031e89e328af50d43cd47cb972 · home-assistant/architecture · GitHub

There is HACS custom component, link, for using GPIO on rapsberry.

1 Like

Thank you, I completely missed it. I will eventually revert to some other sensors and controller like Shelly’s.

In the meantime I enabled mcp23017 HACS repo, as my board uses that chip.

Thank you for the feedback

1 Like