MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

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


Log in to reply