Read the statement by Michael Teeuw here.
PIR sensor repositories are outdated
-
Hey guys, im currently trying to implement a PIR sensor in my magic mirror, But every module i attempt to use gives me an error, Right now im dealing with the following error after cloning this repository https://github.com/vpilo/MMM-Pir
13:25:04.159] [ERROR] [MMM-Pir] [LIB] [PIR] [GPIOD] Error: The module ‘/home/jaimegarzont/MagicMirror/modules/MMM-Pir/node_modules/node-libgpiod/build/Release/node-libgpiod.node’
was compiled against a different Node.js version using
NODE_MODULE_VERSION 128. This version of Node.js requires
NODE_MODULE_VERSION 115. Please try re-compiling or re-installing
the module (for instance, using npm rebuild or npm install).
is there any Module i can clone that still works? or is there another way i can connect the sensor so the MM turns off when no one is in front of it
-
maybe this one
https://gitlab.com/khassel/MMM-Universal-Pirthe 3rd party module list is linked from the top
menu here -
@sdetweil thanks, ill try it out :)