Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error executing vcgencmd with package node-red-contrib-vcgencmd #55

Open
DannyBoyKN opened this issue Feb 27, 2021 · 0 comments
Open

Error executing vcgencmd with package node-red-contrib-vcgencmd #55

DannyBoyKN opened this issue Feb 27, 2021 · 0 comments

Comments

@DannyBoyKN
Copy link

I'm running the project on my Pi4 and installed the node-red package node-red-contrib-vcgencmd in order to access the Pi's temperature measure. The installation was successful and the nodes are available:

Bildschirmfoto 2021-02-27 um 18 50 47

Additionally the container requires the apk package raspberrypi to be installed via:
apk add --no-cache raspberrypi

and the compose file amended with

    devices:
      - /dev/vchiq:/dev/vchiq

However, an error is raised in the debug messages :
Error executing /opt/vc/bin/vcgencmd : Error: Command failed: /opt/vc/bin/vcgencmd measure_temp

With the base images nodered/node-red (node 10) and nodered/node-red:latest-12 it works out of the box.
FROM nodered/node-red
or
FROM nodered/node-red:latest-12

Do you have any ideas why this is happening ?
Any special setup of the ghcr.io/ct-open-source/ctnodered:latest image which prevent vcgencmd to be executed correctly ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant