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.

    Magic Mirror with touchscreen Display/Monitor

    Scheduled Pinned Locked Moved Hardware
    21 Posts 6 Posters 18.5k Views 7 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 @core
      last edited by

      @core use an ir touch frame over the glass.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 2
      • SnilleS Offline
        Snille Module Developer @core
        last edited by

        @core I also used a IR-Frame in my build. Works very well if you just want “simple” point and click and/or point and drag (even with two fingers)… I have not tested it with more advanced stuff. :) But for the MM it’s great. You can read about my build here and underneath the picture, you can find a link to a full photo album with pictures and text to all pictures about what you see. :)

        If you cant find it, make it and share it!
        Modules: MMM-homeassistant-sensors, MMM-Modulebar, MMM-Profilepicture, MMM-Videoplayer

        B 1 Reply Last reply Reply Quote 1
        • C Offline
          core
          last edited by

          Hi,

          thank you very much for your replies.

          An IR touch overlay is unfortunately not possible in my case. The mirror is frameless and clamped in 4 holders (2 above and 2 at the bottom). That’s why i am looking for a touch display which can be mounted under the glass.

          Best regards

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

            @core said in Magic Mirror with touchscreen Display/Monitor:

            That’s why i am looking for a touch display which can be mounted under the glass.

            that doesn’t exist. the monitor is dependent on human skin resistance (try it with a glove on)
            the mirror glass would block that

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              core @sdetweil
              last edited by

              @sdetweil
              Ok, but a PCAP Touchfoil under the glass, mounted between a LED display and the Mirroview, will work for sure (asked Pilkington and the company selling the foil).

              Best regards

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

                @core but this is effectively the same as the ir frame… the special touchfoil does the work… NOT the monitor…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • cowboysdudeC Offline
                  cowboysdude Module Developer @core
                  last edited by

                  I have a 24" one that after I bought it found out that it will not work in Linux so my only option is to install MM on Windows … ugh. So when I can come across a NUC or something small I will until then …

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    BJK @Snille
                    last edited by

                    @Snille Hi Snille
                    I have had greate use of xin.sh file to run at start. It contained the:
                    “DISPLAY=:0.0 xinput --set-prop “Multi touch Multi touch overlay device” “Coordinate Transformation Matrix” 0 1 0 -1 0 1 0 0 1”
                    However, now using the pm2 start xin.sh for automatic start, I get an error in the pm2 log
                    What do you use to correct the ir-frame ?
                    Best
                    Bo

                    S B SnilleS 4 Replies Last reply Reply Quote 0
                    • S Offline
                      sdetweil @BJK
                      last edited by

                      @BJK what is the error?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        BJK @BJK
                        last edited by

                        @sdetweil

                        Well, I start the xin.sh with PM2 and it works with calibrating the IR-frame:

                        xin.sh:
                        #!/bin/bash
                        DISPLAY=:0.0 xinput --set-prop “Multi touch Multi touch overlay device” “Coordinate Transformation Matrix” 0 -1 1 1 0 0 0 0 1

                        However, after the mm.sh (the MagicMirror) has started, then when I go back to Raspberry disktop the the Calibration is off again. If I then run the xin.sh with “pm2 start xin.sh” in a terminal window then the calibration is okay again.

                        This is the error that I get from pm2 log file:

                        Bo@MMpi:~ $ pm2 list
                        ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐
                        │ id │ name │ mode │ ↺ │ status │ cpu │ memory │
                        ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤
                        │ 0 │ xin │ fork │ 15 │ errored │ 0% │ 0b │
                        └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                        [PM2][WARN] Current process list is not synchronized with saved list. App led mm differs. Type ‘pm2 save’ to synchronize.
                        Bo@MMpi:~ $ pm2 log
                        [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
                        /home/Bo/.pm2/pm2.log last 15 lines:
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] online
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] exited with code [0] via signal [SIGINT]
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] starting in -fork mode-
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] online
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] exited with code [0] via signal [SIGINT]
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] starting in -fork mode-
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] online
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] exited with code [0] via signal [SIGINT]
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] starting in -fork mode-
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] online
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] exited with code [0] via signal [SIGINT]
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] starting in -fork mode-
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] online
                        PM2 | 2022-03-31T20:11:38: PM2 log: App [xin:0] exited with code [0] via signal [SIGINT]
                        PM2 | 2022-03-31T20:11:38: PM2 log: Script /home/Bo/xin.sh had too many unstable restarts (16). Stopped. “errored”

                        /home/Bo/.pm2/logs/xin-out.log last 15 lines:
                        /home/Bo/.pm2/logs/xin-error.log last 15 lines:
                        0|xin | Invalid MIT-MAGIC-COOKIE-1 keyUnable to connect to X server
                        0|xin | Invalid MIT-MAGIC-COOKIE-1 keyUnable to connect to X server
                        0|xin | Invalid MIT-MAGIC-COOKIE-1 keyUnable to connect to X server
                        0|xin | Invalid MIT-MAGIC-COOKIE-1 keyUnable to connect to X server
                        0|xin | Invalid MIT-MAGIC-COOKIE-1 keyUnable to connect to X server
                        0|xin | Invalid MIT-MAGIC-COOKIE-1 keyUnable to connect to X server
                        0|xin | Unable to connect to X server
                        0|xin | Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyUnable to connect to X server
                        0|xin | Invalid MIT-MAGIC-COOKIE-1 keyUnable to connect to X server
                        0|xin | Unable to connect to X server
                        0|xin | Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyUnable to connect to X server
                        0|xin | Invalid MIT-MAGIC-COOKIE-1 keyUnable to connect to X server
                        0|xin | Unable to connect to X server
                        0|xin | Invalid MIT-MAGIC-COOKIE-1 keyUnable to connect to X server
                        0|xin | Invalid MIT-MAGIC-COOKIE-1 keyUnable to connect to X server

                        Should I do something else with pm2 or run the xin.sh in an other way?

                        It would be so nice to have i done automatically :beaming_face_with_smiling_eyes:

                        Best Bo

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • 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