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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login