Read the statement by Michael Teeuw here.
PIR Sensor
-
I have attached my pir sensor and used this.
https://github.com/deg0nz/MagicMirror-Display-Controller/blob/master/readme.md
Though, it doesn’t seem to be working. How do I know if it’s working or not? It hasn’t gone to sleep after 14 seconds. Should I lower the time on the potentiometer on the pir sensor?
-
Is there a command I can use to see if my gpio is getting any information?
-
Hi, i do not now the script youbare using but i wrote two modules which do exactly what you like https://github.com/Tom-Hirschberger/MMM-Screen-Powersave-Notification and https://github.com/Tom-Hirschberger/MMM-GPIO-Notifications
-
@wishmaster270 Hi Tom, I tried to use your module “MMM-GPIO-Notifications”. First of all the installation description is wrong. You have to use “git clone https://github.com:Tom-Hirschberger/MMM-GPIO-Notifications.git”.
I copied your configuration example, but after starting MM I get the message that there is an error in the configuration. I tried to find any error, but with no success. Could you check the configuration you posted?
Thanks -
@MacMirror u got to github, and push the clone or download button, it will give you the exact syntax of the url to git clone… and it will copy it to the clipboard for you
i did and its
https://github.com/Tom-Hirschberger/MMM-GPIO-Notifications.git
the example config has one too many }, try this…
notepad++ on windows has a brace/bracket matching function so you can see where the end is
(or start ){ module: 'MMM-GPIO-Notifications', config: { '17': { gpio_state: 1, gpio_debounce: 10, notifications: [ { notification: 'USER_PRESENCE', payload: { true } }, { notification: 'SCREEN_ON', payload: { 'forced': false } } ] }, '4': { gpio_state: 1, gpio_debounce: 20, notifications: [ { 'notification': 'SCREEN_TOGGLE', 'payload': { 'forced': true } } ] } } },
-
Hi,
great that you are interested in my module. I did not test ist for a while and currently have no working installation of MM.
Hopefully the answer of Sam helps you.
I will try to get my mirror running this week and will test the module.