My house got struck by lightning again, taking out the alarm system again. This time I decided to #diy my own alarm system with an #arduino. It's a bit of a rat's nest right now (prototype), but it works! Controllable via Telegram and standard remote. Gotta solder it up on a board next and add some lightning isolation/protection. There's surprisingly little info on the internet about replacing a commercial home alarm system with custom Arduino one. The biggest challenge is that the long wires to sensors can pick up noise/EMF so I had to do some filtering in software to avoid false triggers.

Mon 26 December 2022


I recently discovered the Coc plugin for vim, which brings VSCode-like smarts to vim. I can finally use #vim full-time instead of #VSCode, which has become bloated and slow over time. Coc has a marketplace with a large breadth of language support. In a like-for-like comparison, vim uses 500Mb less RAM (including language server) than VSCode for Python or Java editing (with intellisense), and is much faster. I also managed to set up vim for editing and uploading #Arduino and #esp32 code by integrating with PlatformIO.

Conqueror of Completion

Sat 24 July 2021



PiScope is a House4Hack project, presented at ScopeX 2015, to do basic astrophotography using a RaspberryPi, Arduino, 3d-printed parts, and a telescope.

Wed 22 July 2015

Gym Timer


I built a dead-simple Arduino-based gym timer for my StrongLifts 5x5 routine

Thu 23 April 2015