A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
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