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.

    I have a touchscreen, would like to call up a module via a button

    Scheduled Pinned Locked Moved Unsolved Requests
    7 Posts 2 Posters 62 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.
    • K Offline
      kent
      last edited by

      Thank you. I have that module setup. I have a button that can turn the wifi display on and off. The way I have it configured it seems to affect only the current page. for example I put the wifi on 2 pages, and the touch module turns it off on each page individually. I’ll look at the config more. I’m glad to hear I am on the right track

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

        @kent what is the notification you are sending

        PAGE_CHANGED, 3 now, page 4 or page 1 next
        PAGE_INCREMENT, from current page

        All you can do is change a page,
        or
        stop changing pages/resume changing

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          I am using a simplified version of the example button config from the github page.

                        config: {
                            buttons: {
                              "1": {
                                module: "all",
                                symbol: "toggle-on",
                                symbol2: "toggle-off",
                              },
                              "2": {
                                module: "MMM-2Day-NOAA-Forecast",
                                text: "Forecast on",
                                text2: "Forecast off",
                                symbol: "fas fa-sun",
                                symbol2: "far fa-sun",
                              },
                              "3": {
                                module: "MMM-WiFiPassword",
                                text: "Wifi",
                                text2: "off",
                                symbol: "fa-solid fa-wifi",
                                symbol2: "fa-thin fa-wifi",
                              },
                            }
                          }
          
          
          1 Reply Last reply Reply Quote 0
          • K Offline
            kent
            last edited by

            I take back some of what I said… the module I am currently using is MMM-ModuleBar. I’ll look at touchbutton again.

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

              @kent right, that module provides buttons that show/hide A module

              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