Hi, the example above isn’t using the node red add on in homeassistant with pi-srf. It was installed standalone on a raspberry pi with raspbian so you can access the gpio ports on the pi. The sensor info is then sent via mqtt to home assistant.
I then have Home AssistantOS installed on a VM on another machine and use the node red add on & mosquito broker add on to receive the data sent from node red on the raspberry pi