Hack a commercial PIR motion sensor with an ESP8266 to log data to Node-RED whenever motion is detected. The ESP8266 will be powered through the HLK-PM03 AC/DC.