Sublime Text 3 update results in License Upgrade Required
August 27th, 2021Sublime Text 3 is one of my favorite text editors. Apparently Sublime Text 4 is out now and the automatic upgrade will actually move from 3 to 4 which then requires a new license. In order to avoid that, add the following line to preferences:
"update_check": false
Pool Controller
August 27th, 2021I have visions of automating my pool equipment. At some point, I'll need to upgrade to a variable speed pump and that combined with solar will require some sort of brains to ensure the pump is running at full speed when the solar is engaged. This post is going to be a work in progress to document related information as I come across it.
Connect your pool to your smart home for $20 with Arduino
PoolMCU Github
Docker.img filling up on Unraid system
August 27th, 2021I started receiving notifications that my docker.img file on Unraid was filling up. After looking into it some, I found that the MQTT container was logging crazy amounts of data (15+GB). Turns out there is a parameter that you can add to limit the log size (for Docker containers). I added this to the docker configuration:
--log-opt max-size=50m --log-opt max-file=1
then restarted and bam! Back to a reasonable size.
The post with this info is here: Docker FAQ
Hackintosh VM
August 24th, 2021I ran across a YouTube video recently describing how to set up a hackintosh VM - OSX running in a qemu vm. This goes a bit above and beyond to actually assigning a separate GPU to the VM and performance should be pretty good. I started working on this but had some issues with getting networking set up the way I want to and haven't had a chance to get back to it. Here are all the links for reference.
Apple won't like this... - Run MacOS on ANY PC
New and Improved Mac OS Tutorial, Part 1 (The Basics)
Example-OSX-Virt-Manager
Mac OS VM Guide Part 2 (GPU Passthrough and Tweaks)
Creating an Ubuntu 20.04 KVM Networked Bridge Interface
iommu.sh
Prepping OSX VM for Apple ID
example-config.plist
macOS Catalina Patcher
Setting up Qemu with a tap interface
macOS-Simple-KVM
virt-manager guest resize not working
1920x1080 resolution works with basic.sh but not virt-manager
How to install Liquorix kernels
QEMU Invocation
Qemu Documentation/Networking
Setting up Qemu with a tap interface
Sonoff S31 Smart Plug with Energy Monitoring
August 17th, 2021I have been after an energy monitoring solution like the S31 provides for years. The smart switch is actually not a need as my use cases (TV's, Lights) generally have IR commands to toggle power. There are a couple of setup options that make this work best for me in my home automation cases:
First - load Tasmota on the S31
Enable auto discovery: SetOption19 1
Set the Power Delta value to force a MQTT update on power change: PowerDelta 10
In Home Assistant, create a template in configuration.yaml
