This is currently still a work in progress: Enclosure for a WiFi-connected passive infrared (PIR) sensor.