unixorn.github.io

Miscellanea

Setting up Shinobi and a Wyze G2 Camera

I wanted to set up a security camera outside, but I didn’t want to be dependent on an outside cloud service - if my internet goes out, I don’t want to lose my ability to record footage.

Wyze cameras are nice and cheap, and you can reflash them to support RTSP in addition to streaming to the Wyze cloud.

Home Assistant Printer Power Management

I’ve got an old HP laser printer in my basement. We barely print 10 pages a month between the two of us, so we only turn it on when we’re going to print. That’s a hassle though, because inevitably we forget to shut it off sometimes and it stays on overnight or even for days, and while it has a powersave mode, the 4050N is so old that even that burns a good amount of power.

Enter Home Assistant.

2021 Georgia Runoff Elections

Biden won! Awesome! The fight isn’t over though. Time to donate to the Georgia Runoff Senate Elections. I’ve set up identical fundraisers, this time for all the different Star Trek Series. Donate to your favorite series link and we’ll see which series has the most fan support. TOS - https://secure.actblue.com/donate/ga-tos TNG - https://secure.actblue.com/donate/ga-tng DS9 - https://secure.actblue.com/donate/ga-ds9 Enterprise - https://secure.actblue.com/donate/ga-enterprise Voyager - https://secure.actblue.com/donate/ga-voyager Discovery - https://secure.actblue.com/donate/ga-discovery Lower Decks - https://secure.actblue.com/donate/ga-lowerdecks Picard - https://secure.

Add Plex to Home Assistant

Adding the Plex integration to Home Assistant is pretty straightforward with the exception of finding your Plex token. Find Your Plex token: Sign into your Plex.tv account Browse to one of the media files (TV episode, movie) on your connected server. You’ll need a Plex pass for this. Select Get info Click View XML Ignore the XML. Look in the URL to the XML page - you’ll see Plex-Token\=XYZZY. That’s the token you’ll need.

2020 Politics

Before anyone complains about me getting political on what was mainly a tch site, remember that not being political is a luxury that only people not getting screwed by the current political landscape can afford. In no particular order, the attempts to roll back rights for LGBTQ+ citizens, the assaults on womens' rights, the handling of the COVID-19 crisis, packing the Supreme Court with a hypocritical last second Justice, putting kids in cages, the ongoing destruction of the political norms that have existed for decades, the ignoring scientific facts, etc, etc all have focused my efforts on supporting one party.

Building Multi Architecture Docker Images with buildx

I’ve got a mix of architectures in my basement cluster - some Odroid HC2s that are arm7, some Raspberry Pi 4s that are arm64, and am soon going to add an Intel node as well. It’s more hassle than it’s worth to have to specify different images for the different architectures. I already build my own copies of images, so I decided to start building all my images as multiarchitecture images.

Setting up an ODROID N2

I wanted a machine with more memory to be the master node for my ARM k3s cluster. I had an Odroid N2 with 4GB of RAM, sitting around, so here’s the log of getting it installed and running.