Does Homeassistant OS on the reapberry pi contain GPIO support?

Searching for GPIO support I found many topics of people struggling with this. What is unclear to me, is:

  • Does HassOS on Raspberry pi come with GPIO support out of the box?
  • If it does, what entity do I configure to set a pin high or low, or “blip” it on the GPIO port?

Thanks in advance

No, not anymore. It was removed in the past and is now available in HACS afaik.

Aha but HACS does not have add-ons (or so they claim). I am a bit hesitant to add untested stuff to the default pre-built RPi image, I am reading all kinds of strange problems in the forum for adding HACS to HA.

Shame that the standard RPi image does not support the RPi hardware.

Rolf,
I had the same hesitation but it turned out to be baseless. Although my notes say I used the manual install instructions at GitHub - thecode/ha-rpi_gpio: Home Assistant Raspberry Pi GPIO Integration

I also have a clarification note on the instructions

*1 - trying manual install as per https://github.com/thecode/ha-rpi_gpio
        "Okay, removed HACS (wow, three restarts required to remove it…crazy).
        I also made another discovery during this process. 
        The problem is the instructions are (kinda) wrong for the manual installation. 
        Originally, following the instructions, I downloaded the .zip file, decompressed and moved it into the custom_components folder. 
        Problem is, this is not the correct folder. 
        INSIDE the ha-rpi_gpio-main folder, which is what the zip file decompresses too, there is a custom_components/rpi-gpio folder. 
        THIS is the folder that needs copied to the /config/custom_components folder. "
    downloaded and extracted to C:\Data\Shared_n_synced\Infrequent\HomeAssistant\ha-rpi_gpio-main
    followed modified instructions and copied C:\Data\Shared_n_synced\Infrequent\HomeAssistant\ha-rpi_gpio-main\custom_components\rpi_gpio to Z:\custom_components\rpi_gpio
    restarted homeassistant system

then its easy just add entries to your configuration.yaml like

binary_sensor:
  - platform: rpi_gpio
    sensors:
      - port: 17
        name: "PIR Entry"
        unique_id: "pir_entry_sensor_port_17"
        bouncetime: 80
        pull_mode: "DOWN"
      - port: 27
        name: "PIR Dining"
        unique_id: "pir_dining_sensor_port_27"
        bouncetime: 80
        pull_mode: "DOWN"

you just need a cheat sheet to convert Raspberry Ports to Pins.

It worked for me
JC

I doubt there are many Home Assistant users that don’t have HACS installed, nor many that don’t have at least one integration (not add-on).

Hell even Frenck has his own custom components in the HACS store.