balena-labs-projects / balena-node-red

a node-red application with balena-supervisor support, can be managed remotely via balena publicURL
Apache License 2.0
60 stars 59 forks source link

support node-red-node-pi-gpiod #28

Open janvda opened 4 years ago

janvda commented 4 years ago

Currently there are 2 different nodes to interface with the raspberry pi hardware (GPIO pins):

This issue is raised to support the 2nd node (=node-red-node-pi_gpiod) to interface with the raspberry pi hardware. This node can easily be installed via the node-red editor (via the manage palette menu) but in order to use this node the daemon pigpiod must be running.

So this issue is about how to get the daemon pigpiod running.

janvda commented 4 years ago

Regarding

So this issue is about how to get the daemon pigpiod running.

I think that the best way (using balena) is to create an extra docker service that runs this daemon.

I have managed to create this service (see service pigpiod in my branch https://github.com/janvda/balena-node-red/tree/pigpiod) but it still has issue https://github.com/janvda/balena-node-red/issues/1