MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Snille
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    SnilleS Offline
    • Profile
    • Following 0
    • Followers 5
    • Topics 18
    • Posts 268
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: IR Frame doesn't rotate

      @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. :)

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: IR Frame doesn't rotate

      @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? :)

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: 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.

      posted in Troubleshooting
      SnilleS
      Snille
    • Font Awesome Update...

      Hi all, do the font “Awesome” get updated regularly in the mirror ecosystem some how? Or (if possible) do “we” have to do PR for that? :)

      posted in Development
      SnilleS
      Snille
    • RE: MMM-Modulebar - A module that adds touch buttons for showing/hiding other modules.

      @tosti007 Yes! That’s exactly what I wanted. :) I’m using your modules for accessing the “profiles” and my module as a “quick” option to just view one thing.

      Thank YOU, for making the first module. :)

      posted in Utilities
      SnilleS
      Snille
    • RE: console.Log() shows nothing?

      Hmm… I don’t have any custom css om my develop-version of MM, but the problem is of course that you will not see the pointer when moving over to the “mirror” if you are using a mouse.
      You can add a custom.css with only:

      body {
        cursor: pointer;
       }
      

      then you will see where you “are” when moving the mouse. :)
      But you should not need anything else.

      posted in Development
      SnilleS
      Snille
    • RE: IR Touchframe suggestions?

      @mortenbirkelund I have read all of the 10 first topics in that search. :) But as I said before. It’s better with two brains googeling then one. :)

      posted in General Discussion
      SnilleS
      Snille
    • RE: IR Touchframe suggestions?

      @mortenbirkelund Nah, I DO think there is a solution. I have just not found it yet. :) It’s better to be two persons “googeling” I guess. I may also have missed something, you never know. Do you want to share the tutorials you have found? I can try them out. :)
      I bought this frame: https://www.aliexpress.com/item/32-points-32-Inch-IR-Multi-touch-overlay-kit-without-glass-for-Interactive-Table-Multi-Touch/1195149819.html
      Another thing that also got me to rethink to a bigger screen was the fact that the “Facial-Recognition” is not very fast. I never got it to recognize me faster then about 10-15 seconds standing in front of the camera (and that without it being behind the mirror and in daylight), and therefore it’s to slow. It may be OK for me, but I KNOW my wife never will agree to “wait” for the mirror to show her stuff. It’s a cool idea, but… So I also set it up to have “touch” buttons for each profile (with MMM-TouchNavigation)… Well… It’s still some road to walk before my mirror is complete. I’m currently waiting fir the actual mirror. :)

      posted in General Discussion
      SnilleS
      Snille
    • RE: IR Touchframe suggestions?

      @mortenbirkelund I have only tried with Jessie and Jessie Lite on a RPi 3. Nothing else. It may work in another dist or with another hardware. But I really don’t know why It’s not “applying” the values. The file(s) are read (I tested that by “breaking” them and that gives errors…). So the system goes through them when booting, but the values are not applied… I have been googeling my eyes out on this. :)

      posted in General Discussion
      SnilleS
      Snille
    • RE: IR Touchframe suggestions?

      Hi @Core-Contributors @mortenbirkelund! I have bought a IR Frame (32 inch) from AliExpress actually. :)
      And it works as a “HID” device. There are no drivers for ARM that I could find. Just so you know. You can also use the xinput_calibaration tool, but I can’t get the values to stick. Not in any on the suggested conf-files. My plan where to buy a slightly bigger IR-frame then my monitor, to be able to have the camera behind the mirror. But, due to the lac of possibility to “set” the active surface (with the calibration tool) I’m rethinking… (bought a bigger screen…).
      And if you want to use it in portrait mode (I do), the only way I found was to enter in the following after boot (I’m doing it from SSH manually for the moment): DISPLAY=:0.0 xinput --set-prop "Multi touch Multi touch overlay device" "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
      the only problem I’m facing right now is to get that command to start at the correct time, basically everything has to have been started before entering it.
      The HID device do support multi-touch, and you can “Zoom” the mirror. If that’s what you want. But I really only use it for single point. The precision is ok but it’s a bit hard to “not” klick when pointing (whatever you want to do that for in this application). :)

      Ask away if you have any questions. :)

      posted in General Discussion
      SnilleS
      Snille
    • RE: MMM-ModuleScheduler - Module Schedules and Notifications

      Hi there!
      Thank you for this excellent module! :)
      I would like to use the scheduler together with “Profile Switcher”.

      Scenario:

      • Let’s say normally I always show “Clock”, “Monthly calendar” and “Wounderground Weather” (local weather).
      • Then on Mondays and Wednesdays at 05:30 to 07:30 I would like to also show “Weather” and “weather forecast” (in my case for another location).
      • Then I would like to have a “profile” called “Snille” who (when activated) shows all of the above plus also “System Status” and “Bitcoin” (for example).

      I have tried this, but it seams that when a module is scheduled, it get’s “locked” by the scheduler and therefore the “Profile Switcher” can not show it…

      Getting this in the console (when selecting the profile):
      Will not show currentweather. LockStrings active: module_0_MMM-ModuleScheduler
      Will not show weatherforecast. LockStrings active: module_0_MMM-ModuleScheduler

      If I “force” to unlock (using my Modlulebar to show and hide) the module it can be showed with the “Profile Switcher”.

      I’m thinking… Do you have to “lock” the modules with the scheduler? :)

      posted in System
      SnilleS
      Snille
    • RE: MM-Navbar - Navigation Bar for Touchscreens to hide/show modules

      Hi! I made a similar module for the same purpurs. You can always copy some code if you want…
      You can find it here in the forums. :)
      Or on github.

      posted in System
      SnilleS
      Snille
    • RE: IR Frame doesn't rotate

      @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). :)

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: IR Frame doesn't rotate

      @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. :)

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: How to update.

      @izanbard Thank you for this! :)

      posted in Tutorials
      SnilleS
      Snille
    • RE: IR Frame doesn't rotate

      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 :)

      posted in Troubleshooting
      SnilleS
      Snille
    • RE: Mirror supplier in Sweden/Denmark?

      @Manmachine What was the exact product name/number you bought? It’s all in Danish. :)

      posted in Hardware
      SnilleS
      Snille
    • RE: MMM-MotionEye - surveillance video stream on your mirror!

      @emos Nah, you only need to use rtsp for the “network” cameras. The right one you have looks like a “locally” connected camera?

      posted in Utilities
      SnilleS
      Snille
    • RE: MMM-MotionEye - surveillance video stream on your mirror!

      @emos Hmm… I wounder if it is because you use an http link? Can you try to change it to an rtsp link?

      posted in Utilities
      SnilleS
      Snille
    • RE: MMM-MotionEye - surveillance video stream on your mirror!

      @emos Here is one of mine: 0_1486731274088_Cam01.png

      posted in Utilities
      SnilleS
      Snille
    • 1
    • 2
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 11 / 14