Leyan Lo, smiling in a blue shirt and gray suit

Leyan Lo


Software engineer

Amateur violinist
Former world record Rubik’s cube solver

Blog

  •  ·  4 min read

    Controlling Nest Thermostat with Siri

    We wanted to say, “Hey Siri, set the house thermostat to 70 degrees,” without replacing our Nest. We already had an Apple TV and an always-on home server. With Codex helping me configure Homebridge, I connected our third-generation Nest Learning Thermostat to Apple Home. Siri can now report the temp…

    Apple Home and Siri connecting through a Homebridge server to Google Nest using Google’s cloud
  •  ·  6 min read

    How to Deal With an Email Bomb Attack

    I’ve been hit by a couple of email bomb attacks recently. The first sign wasn’t one suspicious message. It was hundreds of perfectly ordinary signup emails arriving almost at once. The August 2 attack produced 350 unique messages. Of those, 204 arrived in the first 30 minutes, and the flood peaked a…

    A mock inbox with 350 new signup emails and one booking confirmation hidden among them
  •  ·  4 min read

    Downloading photos and videos from Procare

    A step-by-step guide to downloading the original media from your authorized Procare parent gallery and keeping it up to date.

    Laptop gallery showing worksheets, snacks, playground time, a field trip, art, and cooking moving into local folders
  •  ·  5 min read

    Generating Open Graph Images with Astro, Satori, and Sharp

    Until recently, every page on this site shared the same Open Graph image. It worked, but sharing a post titled Hello World with a generic site logo was not especially exciting. I wanted each post to have its own social card without opening an image editor every time I published something. I asked Co…

    An illustration of a blog post passing through vector and pixel stages to become a social card

Projects

Apps