• 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.

MMM-Touch

Scheduled Pinned Locked Moved System
36 Posts 7 Posters 21.0k Views 10 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.
  • M Offline
    MrCoffee @sdetweil
    last edited by MrCoffee Oct 10, 2020, 5:01 PM Oct 10, 2020, 5:01 PM

    @sdetweil I just tried ctrl-shift-i with a working mirror. On the tab console I could see a css error, but everything works.
    Then i added the onNotification code. Still the same. no mirror starting, and on the console tab there is no error. it ends with “initializing MagicMirror”.
    But nothing happens.

    S 1 Reply Last reply Oct 10, 2020, 5:02 PM Reply Quote 0
    • S Offline
      sdetweil @MrCoffee
      last edited by Oct 10, 2020, 5:02 PM

      @MrCoffee ok, then it must be back on the terminal window where i started MM

      either there is a module missing
      a syntax error
      or some fatal problem in the front end (mmm-touch.js)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Oct 10, 2020, 5:07 PM Reply Quote 0
      • M Offline
        MrCoffee @sdetweil
        last edited by Oct 10, 2020, 5:07 PM

        @sdetweil Ok. The module MMM-Touch can create a detailed log (says the config). But it is not written where I can find it:-) Is there a common place for it?

        S 1 Reply Last reply Oct 10, 2020, 5:10 PM Reply Quote 0
        • S Offline
          sdetweil @MrCoffee
          last edited by sdetweil Feb 22, 2023, 1:38 PM Oct 10, 2020, 5:10 PM

          @MrCoffee no idea… either in the module folder or MM folder…

          but if there is a fatal error, it probably cant write the logs

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Oct 10, 2020, 6:37 PM Reply Quote 0
          • M Offline
            MrCoffee @sdetweil
            last edited by Oct 10, 2020, 6:37 PM

            @sdetweil Ok. I see. So I will have to ask gfischershaw.
            Thx

            1 Reply Last reply Reply Quote 0
            • 3 Offline
              3squaremirror
              last edited by Feb 22, 2023, 7:32 AM

              can someone provide me with an example of Executing methods of module?

              i’d like to create a swipe up and swipe down to hide and unhide a module. thank you.

              S M 2 Replies Last reply Feb 22, 2023, 1:39 PM Reply Quote 0
              • S Offline
                sdetweil @3squaremirror
                last edited by Feb 22, 2023, 1:39 PM

                @3squaremirror can u be more specific, execute methods of a module?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                3 1 Reply Last reply Feb 22, 2023, 4:41 PM Reply Quote 0
                • M Offline
                  MMRIZE @3squaremirror
                  last edited by Feb 22, 2023, 4:31 PM

                  @3squaremirror
                  I have not tested yet, but you can get a concept. (I’ll assume you are using default configuration and mode)

                    gestureCommands: {
                      "default": {
                        "SWIPE_UP_1" : (commander) => {
                          commander.getModules().forEach((m) => {m.show()})
                        },
                        "SWIPE_DOWN_1" : (commander) => {
                          commander.getModules().forEach((m) => {m.hide()})
                        }
                      }
                    },
                  

                  Swiping up with one finger would reveal modules.
                  Swiping down with one finger would hide modules.
                  But in the real world, some modules are protected with lock string from hiding/showing,

                  3 1 Reply Last reply Feb 22, 2023, 4:39 PM Reply Quote 0
                  • 3 Offline
                    3squaremirror @MMRIZE
                    last edited by Feb 22, 2023, 4:39 PM

                    @MMRIZE I saw that in the example in the GitHub page. I’m confused on where to specify which module to hide/show. Thanks.

                    1 Reply Last reply Reply Quote 0
                    • 3 Offline
                      3squaremirror @sdetweil
                      last edited by Feb 22, 2023, 4:41 PM

                      @sdetweil to hide and show a specific module.

                      S M 2 Replies Last reply Feb 22, 2023, 4:52 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      • 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