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 802.5k 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.
    • goldyfruitG Offline
      goldyfruit Project Sponsor
      last edited by

      @Jopyth because I was lazy :p

      Build smart things with magic and love! | https://smartgic.io

      1 Reply Last reply Reply Quote 1
      • goldyfruitG Offline
        goldyfruit Project Sponsor
        last edited by goldyfruit

        [2.2.0] - 2020-11-16

        FIXED

        • Default values now removed from backup (#12)
        • Custom Menus now works as expected
        • API working, not well implemented in the past
        • API userPresence now working as expected

        ADDED

        • Updates now show if there’s an update available every day (#52)
        • Templates for issues and PRs, and also stale for automanagement of issues.
        • Close Dev Tools (#119)
        • Undo Config Implementation [Beta]
        • Classes to show, hide or toggle multiple modules at once (#34)
        • Classes and saves API
        • Changelog of every module updated
        • Showdown implemented in order to show changelog markdown.
        • secureEndpoint config to bypass the non-apikey limitation. This could be dangerous, use it with caution.
        • Added POST support for Monitor API (#200)
        • Added endpoint to edit config file (#206)
        • Endpoint /api/docs now shows you the documentation available for the API. You can test your mirror right there!

        CHANGED

        • lodash required. Do npm install on the Remote Control module.
        • Alert button don’t show up when Alert module isn’t active
        • The way monitor turn on and off (#225)
        • Now hide, show or toggle modules also accept arrays
        • /api/test can be reach without any apiKey
        • /api/modules/installed and /available are now /api/module/installed and /available
        • apiKey required in order to change substantial things on the Mirror
        • Some Endpoints are gonna be deprecated in the future. You can see those inside /api/docs, in the Legacy menu.

        REMOVED

        • /api/modules it’s no longer available, you can use /api/module instead.
        • Postman collection deprecated ~ (Sorry n.n)

        Build smart things with magic and love! | https://smartgic.io

        1 Reply Last reply Reply Quote 2
        • MorgangaM Offline
          Morganga
          last edited by Morganga

          Hey,

          I’m very new to coding and the magicmirror thing, here I’m stuck at restarting the mirror, the command pm2 restart doesn’t work, I managed to instal pm2 (I think) but it still doesn’t work “Process or namespace magicmirror not found”

          It also said ealier in the module I needed an API key in my config section, where should I write it ?

          Could someone help ? Thanks !

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Morganga
            last edited by

            @Morganga for pm2 u can use my fixuppm2 script

            See https://github.com/sdetweil/MagicMirror_scripts

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            MorgangaM 1 Reply Last reply Reply Quote 0
            • MorgangaM Offline
              Morganga @sdetweil
              last edited by Morganga

              @sdetweil Hey,

              Thank you, managed to do it.

              Now the RC website says the device isn’t allowed to acces the mirror…
              Any clues ?

              Ok just withelisted all IP adresses and it’s all good !

              1 Reply Last reply Reply Quote 0
              • K Offline
                keineAhnung123
                last edited by keineAhnung123

                Hello,
                Im trying to get a custom menu ready to send customized notifications via input fields.
                Sadly im not into JS.
                Can someone tell me how to get the value of an input field i added?

                my custom_menu.json:

                {
                   "id": "custom",
                   "type": "menu",
                   "icon": "id-card-o",
                   "text": "%%TRANSLATE:CUSTOM_MENU%%",
                   "items": [{
                         "id": "custom-item-1",
                         "type": "item",
                         "icon": "dot-circle-o",
                         "text": "Next page",
                         "action": "NOTIFICATION",
                         "content": {
                            "notification": "INCREMENT_PAGE",
                            "payload": null
                         }
                      },
                      {
                         "id": "custom-item-2",
                         "type": "item",
                         "icon": "dot-circle-o",
                         "text": "Last page",
                         "action": "NOTIFICATION",
                         "content": {
                            "notification": "DECREMENT_PAGE",
                            "payload": null
                         }
                      },
                      {
                         "id": "level2",
                         "type": "menu",
                         "menu": "custom",
                         "icon": "bars",
                         "text": "Send notifications",
                         "items": [
                         {
                             "id": "custom-item-3",
                             "type": "input",
                             "icon": "dot-circle-o",
                             "text": "Notification",
                             "action": null,
                             "content": null
                         },
                         {
                             "id": "custom-item-4",
                             "type": "input",
                             "icon": "dot-circle-o",
                             "text": "Payload",
                             "action": null,
                             "content": null
                         },
                         {
                             "id": "custom-item-5",
                             "type": "button",
                             "icon": "dot-circle-o",
                             "text": "Send",
                             "action": "NOTIFICATION",
                             "content": {
                                  "notification": null,
                                  "payload": null
                             }
                         }
                         ]
                      }
                   ]
                }
                

                The button (last entry) should now send an notification with the values from the input fields above.
                something like this:

                         {
                             "id": "custom-item-5",
                             "type": "button",
                             "icon": "dot-circle-o",
                             "text": "Send",
                             "action": "NOTIFICATION",
                             "content": {
                                  "notification": "custom-item-3".value,
                                  "payload": "custom-item-4".value
                             }
                         }
                

                So how can i get the value from my input items?
                Thanks :)

                And another question. Is there a security problem when im neither using an ApiKey nor the secureEndpoints? Im using it in my private secured wifi with only me inside.

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 24
                • 25
                • 26
                • 27
                • 28
                • 28 / 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