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.

    [MMM-Remote-Control] Modules Controls disapear

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    10 Posts 2 Posters 2.6k 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.
    • S Offline
      sdetweil
      last edited by

      @Lowis said in [MMM-Remote-Control] Modules Controls disapear:

      custom_menu.json’

      what does this file look like
      custom_menu.json

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • L Offline
        Lowis
        last edited by

        This is the custom_menu_example.json. I never edit this file. custom_menu.json does not exsist in this folder

        {
           "id": "custom",
           "type": "menu",
           "icon": "id-card-o",
           "text": "%%TRANSLATE:CUSTOM_MENU%%",
           "items": [{
                 "id": "custom-item-1",
                 "type": "item",
                 "icon": "dot-circle-o",
                 "text": "Menu Item 1",
                 "action": "NOTIFICATION",
                 "content": {
                    "notification": "NOTIFCATION_TEXT_1",
                    "payload": "This notification requires a string payload"
                 }
              },
              {
                 "id": "custom-item-2",
                 "type": "item",
                 "icon": "dot-circle-o",
                 "text": "Menu Item 2",
                 "action": "NOTIFICATION",
                 "content": {
                    "notification": "NOTIFCATION_TEXT_2",
                    "payload": {
                       "title": "Payload Object",
                       "message": "This notification requires a payload object"
                    }
                 }
              },
              {
                 "id": "custom-item-3",
                 "type": "item",
                 "icon": "dot-circle-o",
                 "text": "Menu Item 3",
                 "action": "NOTIFICATION",
                 "content": {
                    "notification": "NOTIFCATION_TEXT_3",
                    "payload": null
                 }
              },
              {
                 "id": "level2",
                 "type": "menu",
                 "menu": "custom",
                 "icon": "bars",
                 "text": "Sub-Menu",
                 "items": [{
                       "id": "custom-item-4",
                       "type": "item",
                       "icon": "dot-circle-o",
                       "text": "Sub-Menu Item 1",
                       "action": "NOTIFICATION",
                       "content": {
                          "notification": "NOTIFCATION_TEXT_4",
                          "payload": "This notification requires a string payload"
                       }
                    },
                    {
                       "id": "custom-item-2",
                       "type": "item",
                       "icon": "dot-circle-o",
                       "text": "Sub-Menu Item 2",
                       "action": "NOTIFICATION",
                       "content": {
                          "notification": "NOTIFCATION_TEXT_5",
                          "payload": {
                             "title": "Payload Object",
                             "message": "This notification requires a payload object"
                          }
                       }
                    }
                 ]
              }
           ]
        }
        
        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Lowis
          last edited by sdetweil

          @Lowis

          your config says it needs to —> customMenu: ‘custom_menu.json’,

          maybe u need to copy the example over to the custom_menu.json file

          instructions

          Custom Menu Items
          You can create your own customized menu items by providing creating a JSON file for the menu and providing a customMenu: "custom_menu.json" directive in your config. The file may be called whatever you want, but the name must be provided in the config section, and it must be stored in the Mirror's config/ directory (same place as your config.js file).
          
          An example menu is provided in this module's folder, titled custom_menu.example.json. You can copy this to the /config folder and modify as you need.
          

          and it must be stored in the Mirror’s config/ directory (same place as your config.js file).

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • L Offline
            Lowis
            last edited by

            yes i tryed this. But nothing changes on the remote after restarting MM

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

              @Lowis and it must be stored in the Mirror’s config/ directory (same place as your config.js file).

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • L Offline
                Lowis
                last edited by

                i tryed this, but still no entrys in the remote .
                where is the modules control option ? ( 2nd marked in my screenshot )

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

                  @Lowis i know nothing about the module, just looking at its readme and what you showed…

                  so, in the mm/config folder there is a file called ‘custom_menu.json’, right?
                  along with config.js and config.js.sample

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    Lowis
                    last edited by

                    sorry my fault … moved the file in the mm folder . That does’t work.
                    Now moved in mm/config and the custom menu is on the remote. > solved

                    But still missing the next entry " Modules Controls

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

                      @Lowis no idea… open the developers window. ctrl-shift-i,
                      then select the console tab
                      and scroll up for any errors…
                      this is from the doc,

                         showModuleApiMenu: true, // Optional, Enable the Module Controls menu
                      

                      but seems to match yours.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      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