MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Activate and deactivate modules from other module

    Scheduled Pinned Locked Moved Development
    2 Posts 2 Posters 1.4k Views 2 Watching
    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 Offline
      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 Offline
        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 Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy