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.

    [Remote-Control] Shutdown, Configure and Update your MagicMirror

    Scheduled Pinned Locked Moved System
    274 Posts 78 Posters 794.7k Views 77 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.
    • Mr.MeeseeksM Offline
      Mr.Meeseeks @plumcraft
      last edited by

      @plumcraft
      I’m working on that feature now on my own dev, I’ve currently added ‘refresh page’ and ‘update magic mirror’ next is upgrading modules. Then hopefully adding and configuring modules.

      CAAAAN DOO!👍

      1 Reply Last reply Reply Quote 0
      • S Offline
        slickric @Jopyth
        last edited by

        @Jopyth safari on iOS 10. I’ve got an android tablet that I’ll try this morning to see if that’s the case. Thanks for the quick reply!

        1 Reply Last reply Reply Quote 0
        • S Offline
          slickric @Jopyth
          last edited by

          @Jopyth I get the same on chrome 54.0.2840.66 on iOS10 too :/

          J 1 Reply Last reply Reply Quote 0
          • P Offline
            plumcraft
            last edited by

            @Mr-Meeseeks : Perfect, thanks :)

            1 Reply Last reply Reply Quote 0
            • P Offline
              Pbaan93
              last edited by

              Trying to get the HIDE/SHOW working with postman.
              http://192.168.2.2:8080/remote?action=HIDE&module=<<module_name>>
              What is the syntax? cant find it, sorry …

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

                @Pbaan93 You have got the correct syntax, your only problem might be, that you need the correct identifier, which depends on your config.js. If your modules in your config.js look like this:

                modules: [
                    {
                        module: 'calendar',
                        header: 'Some calendar',
                        position: 'top_right',
                        config: {
                            // not configured, just an example
                        }
                    },
                    {
                        module: 'clock',
                        position: 'top_left'
                    },
                    {
                        module: 'newsfeed',
                        position: 'bottom_bar',
                        config: {
                            // not configured, just an example
                        }
                    },
                ]
                

                You could use module_0_calendar, module_1_clock and module_2_newsfeed to hide each module (it is always module + the number of the module in your config, starting to count from 0 + the module name, all separated with underscores).

                This is the internal identifier, and not simple to construct, but allows to have, for example multiple calendars, and you can hide one or the other.

                Helpful sticky: How to troubleshoot

                1 Reply Last reply Reply Quote 0
                • P Offline
                  Pbaan93
                  last edited by

                  @Jopyth Thanks for the clear info! I will try this tonight.
                  I’m planning to make an app for ‘Homey’ so i can controll the mirror with my home automation system. With your app this will be possible, so thanks again!
                  For easy configuration in the homey app I need an extra API option: ‘list’, so the homey app knows all the modules with their status. Is this possible?

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

                    @slickric That is weird, my iPad is also running chrome 54.0.2840.66. I assume this also happens, when you access the remote URL from a desktop browser? Could you open the remote URL with developer console, and have a look at possible errors?

                    @Pbaan93 I can add this, yes. Do you think a simple JSON format would suffice?

                    Helpful sticky: How to troubleshoot

                    S 1 Reply Last reply Reply Quote 1
                    • P Offline
                      Pbaan93
                      last edited by

                      Yes that would be really nice!!! Just a list of modules with their status, preferably also their identyfier if that is possible. Thanks to this I can make the homey app completely adaptive to wat modules are installed on the mirror.

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        slickric @Jopyth
                        last edited by slickric

                        @Jopyth #facepalm as expected it was me that was the problem. Got the below errors in console which made me realise immediately that for some rediculous reason I changed the name of the folder from “MMM-Remote-Control” to just “remote”. Obviously it couldn’t find the CSS and js files because I changed the folder :/ renamed and all working perfectly. Great work with the module and massive thanks for the help! alt text

                        1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 27
                        • 28
                        • 5 / 28
                        • 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