I've done a bit of searching, and I can't see to find anything answering my question.
I'm trying to run node-red in a docker image on a Raspberry Pi 3, and am having issues triggering GPIOs.
I'm using the following image:
Using the following path:
I run nrgpio out 5 1 (set pin 5 high )
Traceback (most recent call last):
File "./nrgpio.py", line 84, in
RuntimeError: No access to /dev/mem. Try running as root!
I can't seem to find the special sauce to access /dev/mem.
Does anyone have any suggestions on how to move forward with this or should I abandon the effort and install it natively on the Pi?
# - etcgroup:/etc/group
# Add /etc/group with node-red user as member of group kmem
# add sudoers to add extra software not in the hypriot image.
# sysfs for 1wire support - could also use for GPIO but would have to write my own functions?