Hombridge plugin for Motion Sensor that does not require sudo
npm install homebridge-gpio-pir-motion-sensorThis is a homebridge plugin to make a Raspberry Pi connected with a PIR Sensor into a Motion Sensor.
Just add the following sample config to your homebridge config file located at this path ~/.homebridge/config.json.