I have my Raspberry Pi set up with Node-Red, Grafana, Mosequetto and InfluxDB, each in a Docker Container.
I want to use the Node-Red "exec" node to send a "vcgencmd measure_temp" to the Raspberry Pi to trend the CPU temperature. It appears I need to do something additional to allow the command from Node-Red to exit the Node-Red container? Can someone suggest what I need to do?
The command works fine when I send it using the terminal console. I get an "error #127" when sending it from Node-Red "exec" node.
Also, on another Pi, without using Docker Containers, the Node-Red "exec" flow works fine.
I moved Node-Red outside the container and all is good now.
No reason to have used a container, for Node-Red, in the first place.....it was just an easy way to configure the many application installs when I built the Raspberry.