I wanted to improve the way I display the status of my sensors and decided to venture away from a simple table with icons and check out HTML5 for a more graphical display.
There are still a few tweaks to added:
- Refreshing only the HTML canvas (drawings) rather than the whole page every 5 sec
- At the moment only the CCTV and Temperature are, I need to add buzzer control
But for a proof of concept, I’m rather happy with the outcome.
RPi HTML5 Control Panel
I decided the “hacked” Glade PIR didn’t cut it.
- It responds to light conditions so a sudden change in lighting (sun & clouds) could trigger it
- It’s completely useless at night since without light it cannot detect movement linked to change in light conditions
I therefore decided to buy another “real” PIR from Tandy. I however had a hole on the wall and all the wiring ready so I simply cut a whole in the Glade housing to fit the PIR.
PIR Motion Sensor Module
Glade PIR V2