Arduino sketch for wifi-enabled PIR sensor, with a NodeJS backend and websockets-enabled single-page webapp.