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

Divide Config.js into modules

  • @artieikon u can get files from the filesystem without special config settings just setup an express url handler in the node helper. See the MMM-ImagesPhotos module for an example use.

    Node_helper sets up the express url handler, module does a request to that url, and handler gets invoked, and files are found and their names are returned. The a url request is made for a file and it’s contents are returned.

    Module doesn’t know helper provided the files list or data

Log in to reply