Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!
Custom module to run python script
sureshkocherla last edited by
I have one python script. I want to create a new custom module to run the python script automatically
Kindly guide me.
Sputnik last edited by
I would like to do the same thing
A good starting point might be the module MMM-dht by @nebulx29. It executes a custom shell command to read data from a sensor. You’ll find the invocation of the script in file node_helper.js. NB: it makes three calls, because it needs three values from the sensor.
In your use case, you’d call Python with your script name instead.
strawberry 3.141 last edited by
@Sputnik the facerecognition moduel of @paviro makes also heavy use of python scripts, take a look here https://github.com/paviro/MMM-Facial-Recognition/blob/master/node_helper.js