Read the statement by Michael Teeuw here.
Displaying JSON returns
-
Hello all,
I am new to .js and MMM module development and I want to create my own MMM module.
I got a javascript file that sends a request to a python function which sends the response back as json. This works fine. How can I display the json returns on the mirror? I am stuck on the node_helper and MMM-myModule files.
Thanks
-
@laprison node_helper invokes the python script, and then sends the json data up to module.
See the process.exec or process.spawn library functions
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