Converting a script with GPIO/I2C devices running on Bullseye to HAOS

Hi all,

I currently have a standalone RPi 4b system running Bullseye and a script that has 4 devices connected to it via GPIO pins and I2C

  1. Honeywell ABP pressure sensor
  2. DAC 0 to 10 V controller via I2C
  3. Buzzer
  4. UPS Hat (for graceful shutdown only)

The script that it runs is for a Radon monitoring system, where it logs data from a radon device (Airthings) and it controls the speed of my Radon fan based on the radon level.

I’d like to convert this system to a HAOS system, but im not sure if this would be possible.

I’m aware of the GPIO integration in HACS, which I know I will be needing, but, how to access to the GPIO pins and say, for example, tell the DAC to output a voltage of 5 V using HA?

If there is any other information required, please let me know!