• 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 17.4k 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 Oct 10, 2020, 3:59 PM

    @sdetweil
    Maybe someone else uses the module with its “onNotification” option and might help out.

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

      @MrCoffee I don’t see a module of this name with his name

      I see https://github.com/gfischershaw/MMM-Touch

      and what is the question about onNotification?

      when a notification is received, you can examine and optionally respond (somehow)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @sdetweil Yes that is the same module. Sean changed the ownership when he left: Seans modules

        The onNotification function seems important to me. if I change to page two for example, the gestures can be defined in another way compared to page one.
        My problem is, when I add the code and restart my mirror everthing stays black. usually if there is a bug in the config.js an error is mentioned. but in this case it just stays black.
        If I uncomment the code everthing is fine again.
        This even happens when i use the example code. Knowing that it wont do anything on my magic mirror, it should start anyway.
        So i am wondering if there is a bug or if i am doing something wrong?
        Do you use the module?

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

          @MrCoffee no… never seen it before…

          how do you start MM

          npm start
          or pm2?

          if npm start , keyboard alt-spacebar, n to minimize
          if pm2,
          pm2 logs --lines=100

          if still nothing obvious, open the developers window, ctrl-shoft-i on the mirror keyboard,
          select the tab labeled console and scroll up… errors are usually in red text

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil Thanks I didn´t know these commands. Unfortunately I use it installed by docker and headlless on a other device.

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

              @MrCoffee yeh, skip docker til you get it working…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Oct 10, 2020, 5:01 PM Reply Quote 0
              • 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
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      2 / 4
                      • First post
                        17/36
                        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