Banana Pi with Armbian no rpi-gpio

I have installed supervised HA on a Bananapi Pro on Armbian OS. It works fine but lately cannot control switches connected to GPIO ports. I have installed rpi-gpio integration using HACS.

The error I get when I check configuration is “Platform error ‘switch’ from integration ‘rpi_gpio’ - Integration ‘rpi_gpio’ not found.”

The switch is configured as below
switch:

  • platform: rpi_gpio
    switches:
    • port: 18
      name: BPI Cooling FAN

The same work on a Raspberry Pi.

Do you see it in custom_components ? Did you restart HA after installing ?

Yes I see it in custom_components. And also restarted HA. On a BananaPi rpi_gpio integration stopped working. Don’t remember after which update it stopped working. I could use the switch before.

See if there are errors in the log. It might not have loaded because of compatibility problems with Banana Pi.

1 Like

I am not able to control switches connected to the GPIOs on a BananaPi. Any other solution ?