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.

    IR Frame doesn't rotate

    Scheduled Pinned Locked Moved Troubleshooting
    24 Posts 7 Posters 20.6k Views 8 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.
    • AlessandroRaA Offline
      AlessandroRa
      last edited by

      Hi guys, I tried to rotate my Magic mirror vertically today. The display did that, but now the touch screen is not calibrated anymore, it looks like it has not rotated. Any suggestions on how to fix it? Thanks!

      1 Reply Last reply Reply Quote 0
      • SnilleS Offline
        Snille Module Developer
        last edited by

        Hi @AlessandroRa Did you resolve this, I’m in the same boat. :) Got my IR Frame today, but cant manage to get it to turn (screen turns, but not the IR touch frame)… Googleing my brains out :)

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

        strawberry 3.141S 1 Reply Last reply Reply Quote 0
        • strawberry 3.141S Offline
          strawberry 3.141 Project Sponsor Module Developer @Snille
          last edited by

          @Snille did you ask the manufacturer?

          Please create a github issue if you need help, so I can keep track

          SnilleS 1 Reply Last reply Reply Quote 0
          • SnilleS Offline
            Snille Module Developer @strawberry 3.141
            last edited by

            @strawberry-3.141 Nope, not yet, not sure who to ask really… It’s even kind of hard to find the brand itself…
            It’s this one: https://www.aliexpress.com/item/32-points-32-Inch-IR-Multi-touch-overlay-kit-without-glass-for-Interactive-Table-Multi-Touch/1195149819.html
            The model number is at least: NECO-X
            Much more then that is hard to find… :)
            At least they have support for Linux as a HID compatible device (that should be enough I think).
            And it does work, just not in portrait… So, I’m thinking it got to be configurable on the “input-device” itself in rasbian… I just can’t find how. :)

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

            strawberry 3.141S 1 Reply Last reply Reply Quote 0
            • strawberry 3.141S Offline
              strawberry 3.141 Project Sponsor Module Developer @Snille
              last edited by

              @Snille they advertise For vertical and horizontal installation screen so ask the seller how you can change this

              Please create a github issue if you need help, so I can keep track

              SnilleS 1 Reply Last reply Reply Quote 0
              • SnilleS Offline
                Snille Module Developer @strawberry 3.141
                last edited by

                @strawberry-3.141 Yes, I read that to, but it may also mean like vertical like a monitor (normal landscape) and horizontal like a table (but still in landscape). :)

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

                AlessandroRaA 1 Reply Last reply Reply Quote 0
                • AlessandroRaA Offline
                  AlessandroRa @Snille
                  last edited by

                  @Snille Sorry, but I hade a few problems in these weeks, so I didn’t had the chance to fix it…
                  I asked the manufacturer (thank you @cowboysdude!) and they did send me a driver, but they’ve sent it with 3 extensions: .pkg, .exe, .apk and I’ve no idea how to open them… I have Debian 8 Jessie, by the way.
                  Any suggestions? :anguished:

                  yawnsY SnilleS 2 Replies Last reply Reply Quote 0
                  • yawnsY Offline
                    yawns Moderator @AlessandroRa
                    last edited by

                    @AlessandroRa
                    Hm, these are drivers for Mac (pkg), Android (apk), Windows (exe)

                    Maybe you can extract the pkg file and gather the driver files?

                    AlessandroRaA 1 Reply Last reply Reply Quote 0
                    • SnilleS Offline
                      Snille Module Developer @AlessandroRa
                      last edited by Snille

                      @AlessandroRa Hi! Unfortunately the manufacturer do not have any drivers for ARM.
                      I ended up with using it as a normal “HID” device. I have to rotate the frame manually with this command in SSH: DISPLAY=:0.0 xinput --set-prop "Multi touch Multi touch overlay device" "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
                      But I cant get it to stick after reboot. So, I have to do it after every boot when everything has started.
                      I did not get the xinnput_calibration values to stick either. I’m in Rasbian Jessie Lite.

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

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

                        @Snille said in IR Frame doesn’t rotate:

                        @AlessandroRa Hi! Unfortunately the manufacturer do not have any drivers for ARM.
                        I ended up with using it as a normal “HID” device. I have to rotate the frame manually with this command in SSH: DISPLAY=:0.0 xinput --set-prop "Multi touch Multi touch overlay device" "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
                        But I cant get it to stick after reboot. So, I have to do it after every boot when everything has started.
                        I did not get the xinnput_calibration values to stick either. I’m in Rasbian Jessie Lite.

                        Write it in an .sh file and have it run everytime you boot up ;)

                        1 Reply Last reply Reply Quote 0
                        • AlessandroRaA Offline
                          AlessandroRa @yawns
                          last edited by

                          @yawns I tried, there’s no way to open it…

                          @Snille I’ve installed xinput_calibrator and I’ve just tried to start the mirror with the command you wrote, but it still doesn’t recognise the xinput command… How did you do it?

                          @cowboysdude smart move!

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

                            @AlessandroRa Just install xinput sudo apt-get install xinput
                            Then you are good to go. :)
                            @cowboysdude I have to know when to start the actual xinput command, I have tried in the “startup” for LXDE, with CRON and in “openbox”:es “statup”. For some reason I cant get it to “take”. I have not made a .sh file, true. But where / when to execute it? :)

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

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

                              @Snille

                              Edit the file:

                              sudo crontab -e
                              Add line to file (here a python script):

                              @reboot python3 /home/pi/Desktop/example.py &

                              SnilleS peemoellerP 2 Replies Last reply Reply Quote 0
                              • SnilleS Offline
                                Snille Module Developer @cowboysdude
                                last edited by

                                @cowboysdude It worked when added to a sh script! Good call! :) Before I just tested with the xinput command directly in the autostart file, but that did not work. So now instead I just created a script called xin.sh.
                                nano ~/xin.sh
                                Then added
                                DISPLAY=:0.0 xinput --set-prop "Multi touch Multi touch overlay device" "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
                                There should actually be 3 spaces between “Multi touch” and “Multi touch overlay device”. For some reason the board removes the extra spaces here.

                                You can actually find the “name” of the device with this command DISPLAY=:0.0 xinput list
                                Shows something like this:

                                ⎡ Virtual core pointer id=2 [master pointer (3)]
                                ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
                                ⎜ ↳ Multi touch Multi touch overlay device id=6 [slave pointer (2)]
                                ⎣ Virtual core keyboard id=3 [master keyboard (2)]
                                ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]

                                Depending on what you have connected to your RPi. :)

                                So, after creating the xin.sh I added that to the autostart file for LXDE:
                                Like this:
                                nano ~/.config/lxsession/LXDE/autostart
                                Added at the end of the file.
                                @/home/pi/xin.sh
                                Restarted and it works. :)

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

                                cowboysdudeC 1 Reply Last reply Reply Quote 2
                                • cowboysdudeC Offline
                                  cowboysdude Module Developer @Snille
                                  last edited by cowboysdude

                                  @Snille Oddly enough you may have accidently solved my problem too! :) I’m getting a 32" IR touch frame… this may work for me as well!! So Thank you! :)

                                  What kind of IR touch frame do you have and where did you get it?

                                  Thanks!

                                  SnilleS 1 Reply Last reply Reply Quote 0
                                  • SnilleS Offline
                                    Snille Module Developer @cowboysdude
                                    last edited by

                                    @cowboysdude I bought this one: https://www.aliexpress.com/item/32-points-32-Inch-IR-Multi-touch-overlay-kit-without-glass-for-Interactive-Table-Multi-Touch/1195149819.html
                                    And I can actually “zoom” the on the mirror (in the electron browser) which means that multitouch works (at least for two points). :)

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

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

                                      @Snille said in IR Frame doesn’t rotate:

                                      @cowboysdude I bought this one: https://www.aliexpress.com/item/32-points-32-Inch-IR-Multi-touch-overlay-kit-without-glass-for-Interactive-Table-Multi-Touch/1195149819.html
                                      And I can actually “zoom” the on the mirror (in the electron browser) which means that multitouch works (at least for two points). :)

                                      That’s AWESOME … Thank you soooooooooo much… That’s the one I am ordering too!! WOW that’s just amazing how things work out…

                                      What kind of glass did you get for it?

                                      SnilleS 1 Reply Last reply Reply Quote 0
                                      • SnilleS Offline
                                        Snille Module Developer @cowboysdude
                                        last edited by

                                        @cowboysdude Hehe, I’m still waiting for my mirror. Have not yet tested with any glass, just have it leaned against the monitor right now. :) I hope my work can supply a Pilkington MirrorView mirror, if not that’s what I’m going to buy.

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

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

                                          OH that’ll be very cool! I have a 7" touch clock and bathroom mirror already built. This is a 32" ‘command center’ for the house… so no mirror but as I have read I need to use tempered glass so when the frame comes in I’ll take it there and get the glass for it :)

                                          How long did it take to get after you ordered it?

                                          SnilleS 1 Reply Last reply Reply Quote 0
                                          • SnilleS Offline
                                            Snille Module Developer @cowboysdude
                                            last edited by

                                            @cowboysdude Actually it was quite fast only 8 days! :)

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

                                            cowboysdudeC 1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • 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