I also built a gesture detection module using infrared sensors:
https://github.com/thobach/MMM-Gestures
It requires an Arduino and two infrared sensors for detecting presence and up, down, left, right, close and far hand gestures.
It can be used to turn the mirror into sleep mode when its not used, shows compliments when you stand in front of it and allows to scroll through the news ticker and view more news details incl. the full news article.
Read the statement by Michael Teeuw here.
Best posts made by thobach
-
RE: Gesture recognition
-
RE: Wunderlist shuts down May 6th
@mchrdk @binderth @lavolp3 I created a new module for Microsoft To Do at https://github.com/thobach/MMM-MicrosoftToDo. The migration from Wunderlist to Microsoft To Do was quite seamless.
Could you please test it and provide me some feedback? Thanks!
Latest posts made by thobach
-
RE: weather module with temp/precipitation graph for 1-2 days
@AnduriI You may like https://github.com/thobach/MMM-OpenWeather24Hours which I built and migrated from Darksky to OpenWeather.
-
RE: Help Finding gesture controlled module
@ayotrav You might want to check out my https://github.com/thobach/MMM-Gestures module
-
RE: electron-rebuild problems with MagicMirror 2.22.0
@karsten13 What are your thoughts on adding
npm install @electron/rebuild --unsafe-perm; \
as part of the container image creation process to https://gitlab.com/khassel/magicmirror/-/blob/master/build/Dockerfile-debian? -
RE: MMM-ToDo Microsoft (missing ordering options)
I’m the author of https://github.com/thobach/MMM-MicrosoftToDo in case that’s the module you’re referring to ;)
Hashtags are already color coded if you specify the “highlightTagColor” parameter (see https://github.com/thobach/MMM-MicrosoftToDo#installation).
Sorting is possible with the parameter “orderBy”, unfortunately the API does not allow to order by title, which means it would need to be manually implemented on-top if that is a priority for you.
I added though sorting by importance if you set the “orderBy” parameter to “importance”. -
RE: Vcgencmd display cron job not working
@Nneuland I assume you are now on Bullseye - see here https://forum.magicmirror.builders/topic/16865/mmm-remotecontrol-or-vcgencmd-issue and change the settings to use the fake KMS driver (fkms) instead of kms.
-
RE: MMM-Remote-control all working except for monitor on and off
@diemen112 @karsten13 For bullseye I needed to change the display driver to the fake kms one (
dtoverlay=vc4-fkms-v3d
in/boot/config.txt
) to have any effect of vcgencmd.
Afterwards vcgencmd only worked from the host, but not from @karsten13’s docker container. There I ran into the same problem with my MMM-Gestures module:[09.10.2022 17:54.49.927] [LOG] Sun Oct 09 2022 17:54:49 GMT+0200 (Central European Summer Time): exec error: Error: Command failed: vcgencmd display_power 0 vcgencmd: error while loading shared libraries: libvchiq_arm.so.0: cannot open shared object file: No such file or directory
I fixed it by mounting two more files from the host, my volume mounts now are:
volumes: - ../mounts/config:/opt/magic_mirror/config - ../mounts/modules:/opt/magic_mirror/modules - ../mounts/css:/opt/magic_mirror/css - /tmp/.X11-unix:/tmp/.X11-unix - /opt/vc:/opt/vc/:ro - /usr/bin/vcgencmd:/usr/bin/vcgencmd - /usr/lib/arm-linux-gnueabihf/libvchiq_arm.so.0:/usr/lib/arm-linux-gnueabihf/libvchiq_arm.so.0 - /usr/lib/arm-linux-gnueabihf/libvcos.so.0:/usr/lib/arm-linux-gnueabihf/libvcos.so.0 - /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
-
RE: How to interact with the news module?
@clhe0423 You can find here an example how it is used in MMM-Gestures: https://github.com/thobach/MMM-Gestures/blob/master/MMM-Gestures.js#L110 & https://github.com/thobach/MMM-Gestures/blob/master/MMM-Gestures.js#L118
-
RE: MMM Pages turn Pages manually
@acethefire On https://github.com/edward-shen/MMM-pages#notifications the usable events are described. I use them for example here: https://github.com/thobach/MMM-Gestures/blob/094ef30fe4a7e9204846a4f77d6314b61ee1d758/MMM-Gestures.js#L85
-
RE: Microsoft To-Do (wunderlist replacement?)
@Mighty-Mouseq Nice! Do you want to create a pull request? I could then merge it into the main branch for everyone.
-
RE: Measuring power/energy cost on a 24/7 running pi
If you are looking for some code to disable the monitor or if you want the use an infrared sensor to detect when someone is in front of the mirror and only then turn it on, you can check my module https://github.com/thobach/MMM-Gestures.