MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    Activate and deactivate modules from other module

    Development
    2
    2
    1097
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DevilRev last edited by

      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

      J 1 Reply Last reply Reply Quote 0
      • J
        Jopyth Moderator @DevilRev last edited by Jopyth

        @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.

        Helpful sticky: How to troubleshoot

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy