• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Change the modul position remote with api or something similar!

Scheduled Pinned Locked Moved General Discussion
7 Posts 2 Posters 795 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.
  • P Offline
    pi-user
    last edited by Dec 26, 2020, 7:55 PM

    Hello everyone,
    I have a quick question. Is there a way to change the positions of the modules remotely? Is there an API for controlling the modules that are on the screen? An example: I want to move the position of the Weather module from the left to the right. I would like to remotely set the position of the weather module to right and the MM website should update itself automatically. I don’t want to restart the service manually.

    Thank you for the answers.

    S 1 Reply Last reply Dec 26, 2020, 10:45 PM Reply Quote 0
    • S Offline
      sdetweil @pi-user
      last edited by Dec 26, 2020, 10:45 PM

      @pi-user there is a module that does this
      https://github.com/Toreke/MMM-Dynamic-Modules

      it allows other modules to send notifications to move modules. I do not think it saves the info

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • P Offline
        pi-user
        last edited by Dec 27, 2020, 12:11 PM

        Thanks for the link. I don’t think the config.js file will be changed remotely and the MM web server will start automatically.

        S 1 Reply Last reply Dec 27, 2020, 12:52 PM Reply Quote 0
        • S Offline
          sdetweil @pi-user
          last edited by Dec 27, 2020, 12:52 PM

          @pi-user correct it does not change it permanently

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            pi-user
            last edited by Dec 27, 2020, 1:12 PM

            I did not understand how to use this module. How can I access this module remotely from another PC in the network?

            S 1 Reply Last reply Dec 27, 2020, 1:37 PM Reply Quote 0
            • S Offline
              sdetweil @pi-user
              last edited by sdetweil Dec 27, 2020, 2:21 PM Dec 27, 2020, 1:37 PM

              @pi-user u would have to use another module, like remote-control and have it send the position notification

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • P Offline
                pi-user
                last edited by Dec 27, 2020, 2:13 PM

                Thank you.:folded_hands:
                Then I have to use the remote-control module in a Javascript code to be able to access MMM-Dynamic-Modules. Maybe I can find a code example somewhere on the internet that makes it work too.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  4/7
                  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