Homebridge plugin for Motion Sensor for Node v12
npm install homebridge-pir-motion-sensor-v2This is a homebridge plugin to make a Raspberry Pi connected with a PIR Sensor into a Motion Sensor. This version support Node v12.
Just add the following sample config to your homebridge config file located at this path ~/.homebridge/config.json.