The Eastlake Skycam

I had a lot of fun installing an industrial outdoor pan-tilt-zoom (PTZ) camera on my roof in Seattle. Whereas most townhouses built today have rooftop decks, my townhouse has a curved metal roof. Being near Lake Union, it has a phenomenal view from the top of the roof, showing the city, the lake, and even Gasworks park. Since it’s pretty difficult and unsafe to get up on that roof, I did the next best thing, which was to install a camera. This was inspired by this skybot cam post.

I spent a lot of time looking at camera options. New cameras from US vendors seem to be roughly $30k, which was way out of range. So I checked alibaba. Sure enough, there was a pretty awesome looking one with 4K resolution.

I was a little skeptical of how it would turn out, but was pleasantly surprised with the build quality and reliability. It showed up pretty quickly and I tested it out.

Getting into the firmware took a second because the password on the sticker was misspelled. I was able to figure it out and get in. The firmware was pretty solid with lots of cool features, and the camera supports basic ONVIF stuff so I can control it with standardized software, e.g. in Home Assistant via Frigate.

Continue reading The Eastlake Skycam

Building a NAS server/home server in 2017

I decided I wanted a network-attached storage (NAS) server because I needed some central and safe place to put all my big files. I’ve been using more and more hard drive space because I’ve been taking photos in RAW and collecting more digital video (camera, dashcam, digitized home videos from the 1990s, and drone). I also just enjoy fiddling with servers and stuff and thought I could use a home server for a variety of other things. My raspberry pi has been doing well for my home automation but a bigger server might make it faster. I’m trying to learn Blender and have been eyeing a Machine Learning course. Both of those require a nice modern GPU. Finally, I just enjoy learning things about computers.

Some parts
Some parts

Continue reading Building a NAS server/home server in 2017

The Total Solar Eclipse Experience in the Malheur National Forest

Viewing the Eclipse

On June 19th, my little sister sent me Annie Dillard’s essay about her experience viewing the 1979 total solar eclipse and stated that we were going to go see it in Oregon. She said: “This essay has made going to the Eclipse non-negotiable in my mind.” I had been moderately interested but somehow the essay made it sound way cooler that I had previously envisioned and so I got excited about it. There was already hype about how bad traffic would be down in Oregon, but she said she had been thinking about dispersed camping in Malheur National Forest. I looked at a map and it looked pretty good.

Continue reading The Total Solar Eclipse Experience in the Malheur National Forest

Downloading files from an Amcrest security camera with Python

UPDATE 2021: This was fun but nowadays I have to direct people to a more complete python solution here.

I got a few Amcrest Wifi security cameras for my mom’s house at her request. They’re pretty nice overall (My only complaint is that the web-interface doesn’t fully support Linux). I set one up to save a jpg snapshot to memory every minute and then flew across the country. When I wanted to access them, I couldn’t just put the SD-card in a computer or anything, and clicking all 14,000 of them seemed like a pain, so I decided to figure out how to get them with a Python script.

Continue reading Downloading files from an Amcrest security camera with Python

Making a cheap and simple barn-door star tracker with software tangent correction for astrophotography

I like to mix hobbies, so naturally I’ve been eying astrophotography for a while. I’ve taken a time-lapse here and a moon picture there but, inspired by the folks over at /r/astrophotography,  I wanted to take it to the next level. Since the Earth is spinning, any long exposure of the night sky has star trails, so you have to make your camera counter-spin if you want clear shots. In this post, you can read about how I made a simple barn door sky tracker to do this.

Barn door sky trackers have been made at home by lots of people for a long time. There are a variety of designs with different levels of complexity and precision required. I thought I’d make the simplest-to-construct one, a Haig mount. To correct he tangent error, I decided to use a cheap microcontroller (MCU) and have it speed up appropriately via software. Fun!

With/without tracker

The Math

The math behind this is fun mostly because it’s straight out of high school and you finally at long last get to use it. Here’s the basic design:

Cartoon of barn door tracker
Continue reading Making a cheap and simple barn-door star tracker with software tangent correction for astrophotography