A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Custom module to run python script
-
I have one python script. I want to create a new custom module to run the python script automatically
Kindly guide me. -
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.
-
@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