I'm just started doing my own small ESP8266 projects with a WEMOS D1 mini and I'm quite happy with this small toy
Last day I recognized that a ESP8266 which is used as PIR Sensor publish movement although there was no one in the room. I checked the logs of my openHAB installation and found, that the sensor already toggled since the whole last day. I replaced the PIR sensor on this device, but the behaviour was the same. So finally I had to replace the ESP itself to get it working again.
The solution is pretty simple. I connected the PIRs gnd and vcc to the ESPs gnd and 5V. The signal PIN is connected to D7. All this worked like a charme for a few weeks now, before the issue began.
Can somebody tell me what is the issue here? Do I need a resistor or anything else between the signal PIN of the PIR and the D7 input of the WEMOS? Or is there anything else?
Thanks,
Denis