Motion - a fun project

I have a mailbox on the garage. Rather than going into the garage to check if the mail has arrived, put a 328p on a protoboard, attached a PIR sensor, and an ESP8266. When the mail arrives, a POST is sent to PHP which inserts the motion detection into a database. Bots started sending requests to the web server's PHP, which triggered false inserts. Currently offline while I add an authentication mechanism.


Motion Log

ID Date and Time Motion nodeID
4 2016-01-13 06:47:56 1 1
5 2016-01-13 06:49:35 1 29
6 2016-01-13 06:50:06 1 29
7 2016-03-03 08:49:11 0 0
8 2016-03-20 05:49:36 0 0
9 2016-03-25 13:33:38 0 0
10 2016-03-27 03:23:14 0 0
11 2016-03-27 03:23:17 0 0
12 2016-03-31 08:52:56 0 0
13 2016-04-06 08:53:14 0 0
14 2016-04-19 08:10:49 0 0
15 2016-05-07 08:24:52 0 0
16 2016-05-10 18:17:18 0 0