Monitoring my home. The Cloud When we moved into our house, Jessica and I started adding “Internet of Things” components to the house. The first ones were regular, Internet controlled devices like Nest Thermostats and MyQ Garage Door Openers. Unfortunately, these tools are very limited in the data they provide. With Nest, you get a very simplistic app with a day-by-day bar graph of how many hours the HVAC system has been on each day.
This is a build I put together to get back into gaming with my kids, and also to have a better place to work from home than my laptop on the couch. It’s my first Windows machine and my first AMD based system since my Win2K/Athlon Thunderbird build in 2001. I work as a Linux “devops” administrator, so I do a lot of work with virtualization, databases, data analysis, and automation, and am frequently bottlenecked by CPU, so I was very excited about Ryzen’s affordable 8 Core/16 thread 1700 CPU.
My latest project is to replace my cloud based MyQ Garage Door Openers with a Raspberry Pi. It was easier and cheaper than I anticipated, and the result is already working better than the MyQ. Components Raspberry Pi - I used an older Raspberry Pi 1, but the new ones cost the same as I paid - $35 8 GB SD Card - $7.09 2 channel relay module - Two relays for two garage doors.
Hardware Home datacenter phobos: Ubiquiti EdgeRouter Lite IO: Core i5-3570K, 16 GB RAM, 3x3TB magnetic, 1x128GB SSD Hyperion: Thinkpad T400 Core 2 Duo P9500, 8 GB RAM, 128GB SSD Rhea, Tethys, Janus, Dione (4 machines): Dell E6430, Core i7-3520M 8 GB RAM, 500GB Magnetic Switch: TRENDnet GREENnet 24 port Switch Desktop Computers Titan: My desktop - Custom AMD Ryzen PC. TwlightSparkle: 2013 iMac 24” Andrew: Custom Intel PC Sean: 2009 iMac 22” Entertainment nVidia Shield TV Silicon Dust HDHomeRun Connect Home Automation Amazon Alexa Vera Edge
My work at EdX.org is open source and available on Github. Here are some projects I work on regularly: edx/configuration edx/alton edx/edx-platform
My GPG Key Mirror
My dotfiles are available via Git. To install: git clone https://git.smith.bz/derf/dotfiles/ ~/dotfiles mv ~/.bashrc ~/old-bashrc mv ~/.profile ~/old-profile ln -s ~/dotfiles/bashrc ~/.bashrc ln -s ~/dotfiles/profile ~/.profile (cd dotfiles; git remote rm origin) . ~/.bashrc
About As a Linux system administrator, I frequently need to write clever or complex bits of shell code on the command line that I might want to re-use. The standard bash history file in ~/.bash_history always seems to overflow or go missing when I move from system to system. The history-db project is my fix for this problem - when the command prompt is rendered, a bash $PROMPT_COMMAND reads the previous command out of history and uses curl to send it to a server (hopefully over https) where it is deduplicated and stored in a MySQL database.