Hi @kwek, sorry for taking so much to reply. We've been taking the same path!
@kwek said in Gateway Addon for Hass.io:
I'm also trying to make a hassio addon for the mysensors gateway which is connected on the same raspberry pi 2.
If I run the docker image with --privileged then it runs correctly: it manages to read from the nrf2401, it connects to the MQTT server and publishes incoming messages.
However, if I run the container without --privileged (like hassio does), the mysgw program does not output anything else after:
Same here. I've been trying some time ago, if I get to start the container in privileged mode it runs without any problems!
So, I've been looking to how enable the GPIO on the board to the container, using the ResinOS guide: https://docs.resin.io/learn/develop/hardware/gpio/
...but I got nothing of use. You see anyway that the GPIO definitions are under the /sys/class/gpio/ device tree...
I hope to have some more spare time to test this.