Read the statement by Michael Teeuw here.
Python to Javascript?
-
Hi
I noticed all the modules seem to be built using JS, however I have an Python program running on my Raspberry PI that does exactly what I need it to do (it uses some python libraries). Would it be possible to build a module using Python, or convert it to JS somehow so I could have it up on a Magic Mirror. Sorry if this has been answered or glaringly obvious, so much information to take in atm. ps my JavaScript skills are 2/10 but I am learning so please go easy. Thank you
-
@jamielola in the node_helper you can execute a python script and then take the data from there to js have a look here https://github.com/paviro/MMM-Facial-Recognition/blob/master/node_helper.js#L11-L31
-
This post is deleted!
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