node red gpio

How to control GPIOs from node-red running on torizon in a docker-container? Following the tutorial (How to Use GPIO on TorizonCore | Toradex Developer Center) works well, but from within node-red I didn’t succeed. Can somebody help me?

Greetings @rubmay07,

I don’t really have any expertise with node-red so I can’t provide too many details. There’s a getting started guide for node-red and docker here: Running under Docker : Node-RED

In there, there’s a section on GPIO usage but it’s a bit specific to the Raspberry PI, but it may still be a useful reference. The only other advice I can offer is make sure you’re passing the GPIO devices into the container properly, and whatever user is trying to access them in the container has the right permissions for access.

Best Regards,
Jeremias