MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

IR frame or Touch-foil



  • I have been looking through the hardware section, but I couldn’t find anything that actually said which would be better, an IR frame or touch-foil. I was planning on using a RPi3 but if I need more power, I will get a board. Also, I haven’t bought any glass or a screen yet, seeing as they might not be compatible.

    Bonus: if any screens work with either IR frames or touch-foils and support HDMI CEC from the board, please do me a favor and reply with the name.


  • Module Developer

    Touch foils doesn’t work with metallic coated mirrors.
    IR-frame is the way to go.



  • @broberg Thanks for the answer but are there other types of mirrors that can be used with MagicMirror besides metallic coated mirrors? Also, would touch foils or IR-frames work with them?


  • Module Developer

    @Jmaxmanblue I haven’t seen any 2-way mirrors that has a non-metallic coating.
    Don’t know about the mirror foils however (normal glass and the overlay mirror foil), they might work if they are non metallic.

    IR-frames are place above the outside of the glass so they work regardless of what’s underneath.



  • @broberg Thanks again for the quick answer. Just wondering, are there any slim IR frames that can be hidden inside of the case? I will definitely start looking for an IR-frame now though.


  • Module Developer

    @Jmaxmanblue That I don’t know, you have to browse around to see if there is any really low profile ones!



  • Hi all!
    I came across a nice little gadget called “AirBar” -> www.air.bar
    Though I am NOT using MM2.0 as GUI it might be worth a try for you guys.
    The bar will not give you a full-screen touch capability (at least with bigger screens, like my 32") but it works quite fine in my case. That said: I am only using the lower 1/3 for touch input.
    I mounted the 15.6" version of the airbar on the bottom of the screen on top of the mirror with 2 quite strong neodym magnets holding it in place. Attached pic shows the mounting situation without the mirror.

    After some tweaking with the configuration file (cueword: “Coordinate Transformation Matrix”) I get a pretty even mapping and touch gestures are accurate +/- 3-5mm. Fair enough for my (placeholder) buttons on the screen 😉
    0_1515416977643_airbar.jpg


  • Module Developer

    @tomster

    Nice! 🙂


  • Module Developer

    @tomster I have looked at that before, but didn’t want to throw away the money if it didn’t work. How far up does the touch reach? And are you running it with the Raspberry Pi?



  • I had the same concerns regarding money-wasted, but once again curiosity beat reason 😉

    I am using a RasPi 3 and the bar works OOTB. The airbar will come calibrated for a 15.6" (laptop) screen. That is exactly the size of the available touch area.You might be able to see the dust marks on my screen. The bar will reach approx. up to the top of the news headline (“Des Politikers…”). There is a slight horizontal line I drew with my finger. The lateral limits are depicted by the 2 vertical lines on the airbar.
    Regarding the mapping ratio, I hope the following is somewhat comprehensible:
    With the standard configuration you will be able to use the whole touch area, but the mousepointer will be mapped to the full screen height. In my case that is 1920 pixels as I am using portrait mode.
    So if I move the finger from the bottom to the upper touch area limit, the mouse pointer will actually move from the bottom of the screen all the way to the top. That way it is kinda impossible to accurately touch a virtual button on the screen. After some tweaking I found a setting that would map any input kinda 1:1 on the screen a.k.a. touch area.

    Any other drawbacks?
    Yep. Of course you will see fingerprints on the mirror from touching the surface. But since the bar is held in place by magnets it is quite easy to remove the bar and wipe the mirror with a cloth. Besides you will have to find a way to route the cable from the bar to the Pi. The cable is only about 20cm long…