If you’re trying to figure out how migrate your local users over to an external authentication provider, you’ve probably discovered that there’s no built in ability to link a local account to external account. Fortunately, there is a way to do this, but it requires making edits to the matrix-synapse database. There’s a lot that we could get into here, but for the sake of brevity, I’m going to assume the following: ...
Two Node Proxmox Cluster with High Availability
I was recently tasked with creating a small deployment to host a single virtual machine at a customer site. The purpose of the virtual machine was to provide us with remote access to a specific customer resource that was otherwise unavailable to us. The deployment consisted of two physical machines running as Proxmox hypervisors (node-1 and node-2) hosting a single virtual machine. The virtual machine was configured to be replicated from node-1 over to node-2 every 5 or 10 minutes and was added as a HA resource. Side note: in order for replication to work, you need a ZFS filesystem. If you instead are using shared storage, replication is not needed. ...
My Home Automation Setup: Home-Assistant
So, I’ve mentioned in a post or two that I have a home automation system running, but haven’t really talked about what it is or what it can do… Well, here’s an overview! What is it? Home-Assistant. It’s a fairly new home automation (HA) platform, that has gained a large following over the past couple years in the open-source community. Of the home HA systems I’ve used, it has the best user-interface, and works with the widest variety of smart-home devices. All of the HA systems I’ve tried required a good bit of technical knowledge to setup, but Home-Assistant is the easiest. I should note that the systems I’ve tinkered with were all open-source systems (OpenHAB, Domoticz, etc) and are not geared towards your typical home user. There are platforms out there that are aimed at the regular home user (Wink, Insteon, SmartThings, etc), but I have not tried them out. # What can it do? ...
Solar Powered Pump
One of my many projects this summer has been the installation of a rain barrel to collect water via the downspouts. Though the barrel portion is not entirely complete yet, I have just about wrapped up the solar powered pump that will be used to pump water out of the barrel. Parts & Components: Plano 1612 Field Box Mohoo 20A Solar Charge Controller ALEKO 15-Watt Solar Panel LCD Voltmeter SHURflo 3gpm 12v Pump On/Off Rocker switch 12v AGM Lead Acid Battery SHURflo Pipe Strainer Schedule 40 PVC Piping & Pipe Cement The Plano Field Box happens to be the perfect size to house all of the components needed (Pump, Solar Charge Controller, and Batteries). I can fit the pump vertically, in addition to at least 3 batteries. Plus, the small compartment on the lid is a perfect place to install the LCD screen and on/off switches so that they are not exposed to the elements. To install the pump, I cut out two holes (one on each side of the box) and connected PVC piping to the 1/2" inlet and outlet on the pump. This will allow for the two hose connections to be made without having to feed them into the box; It also secures the pump in place. Next, I removed the lid of the box and cut out the holes needed to install the On/Off switches and LCD Voltmeter. There are two on/off switches. One is to control the pump, and the other us used to disconnect the batteries from the solar charge controller for storage. If the batteries are left connected to the charge controller, the LCD on it will slowly discharge the batteries if there is no charge coming from the solar panel. In the future, I would like to replace the pump on/off switch with a smart controller (https://www.mysensors.org/) and hopefully link it up to the home-automation system I’m running (Home-Assistant). Now that the most difficult pieces are installed, I attached the solar charge controller to the box lid with some Velcro tape, placed the battery into the box, then wired everything up. The wiring is pretty straightforward, you just need to connect the positive and negative leads for each component (Pump, Solar Panel, and battery) to each terminal on the controller. Adding in the switches may make it a little more confusing, so my recommendation is to hook up one component at a time. This is the wiring diagram provided with the charge controller (you can tell that english is not the writers’ native language): That’s all for now, thanks for reading! Oh - here’s the final product: