Hi,
I have following the guide on Py-Somfy to control my blinds and have this working in isolation.
I am now working on a custom component to control the blinds from Home Assistant. Everything has gone smoothly so far, but now I am at the point where Pi-Somfy is connecting to the GPIO pins with this code:
pi = pigpio.pi() # connect to Pi
if not pi.connected:
exit()
My problem is that pi.connected
on my HassOS Pi always returns False
. Is there a way to tunnel through to the GPIO pins from the docker container? Or does Home Assistant have some other way of communicating with the pins?
I’ve looked at the rpi_gpio
integration, though I’m not sure it gives the access needed to make Py-Somfy work.