Activate and deactivate modules from other module



  • Hi guys,

    I am currently trying to build a module that, upon receiving a certain notification, loads another module that was completely “deactivated” before.
    Does anyone know how I can make a module easily activate/deactivatable? I mean that the module is practically not there as in “nonexistant, not only hidden” and on the other hand normally active.

    Thanks in advance!
    DevilRev


  • Moderator

    @DevilRev I think this is currently not possible within the core application. I also wanted this for my remote control, however I concluded that for now it is sufficient, to add the module to the config, and restart the application in this case.

    However this might be worth being added to the core.


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.