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.

    a question about MMM-Remote-Control

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    4 Posts 2 Posters 1.9k 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.
    • R Offline
      robiv8
      last edited by robiv8

      Maybe someone here knows and can explain it to me.

      Whenever you change the order of modules in config.js or add/remove modules, the indices of the modules change. Therefore the hidden/shown status of modules might not be correctly applied. If this happens, simply reconfigure and save it again.
      I don’t understand this:
      How and what I must reconfigure?
      I use the MMM-Remote-Control from shbatm

      Thanks

      1 Reply Last reply Reply Quote 0
      • S Offline
        shbatm Module Developer
        last edited by

        If you are using the module_identifier to hide/show modules using notifications–changing your configuration will change the identifier. So if you had “alert” as the first module and “clock” as the second, but you flip-flop them, the identifiers would change from module_0_alert and module_1_clock to module_0_clock and module_1_alert and you would need to update the notifications sent from the other module.

        If you are just using the /remote.html page, you don’t need to worry about this. It will manage it.

        If you are using my fork and using notifications from other modules, you can also just use the module name, which doesn’t change (but this will affect all modules of that kind, if you have more than 1).

        1 Reply Last reply Reply Quote 0
        • R Offline
          robiv8
          last edited by

          Thanks shbatm
          I just installed (your) MMM remote control.
          Then, of course, the config.js steadily expanded.
          I do not know where to adjust this (using the module_identifier)

          But this is coming:
          0_1549875673027_Bildschirmfoto 2019-02-11 um 09.54.34.png
          How I initialized?

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            shbatm Module Developer @robiv8
            last edited by shbatm

            @robiv8 said in a question about MMM-Remote-Control:

            How I initialized?

            Short answer: If you restart the Mirror (from command line, computer, or remote), make sure you refresh the remote page after the Mirror loads, if you have the remote open on a different device.

            Long answer: For some functions to work properly, an instance of the MagicMirror page must be loaded first because the remote queries it for information and uses it to perform actions on other modules. The main page must be loaded before the remote page; or the remote page refreshed if the Mirror is restarted. This should usually be the case if you use the Mirror on a screen directly attached to the server (RPi). If you use a web browser on a different computer, open/refresh http://magicmirror:8080 first in another tab, before reloading http://magicmirror:8080/remote.html.

            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
              OSZAR »