BatteryDelete for SwitchBot: An Open-Source Supercapacitor Upgrade

TL;DR – BatteryDelete for SwitchBot Smart Lock Replace the 4×AA batteries in your SwitchBot lock with two 5.5V 10F supercapacitors → no more battery swaps, consistent motor power, and reliable unlocks even during heavy use or outages. Charges in <1 minute with a 6v power supply Holds ~24 hours of typical usage when fully charged (emergency/offline mode) Fits inside the original battery enclosure (3D-printed custom part) Full open-source files: KiCad schematics/PCB + FreeCAD enclosure/STLs Buy pre-assembled kit for $50 (skip soldering, fab waits, and assembly): Order here → Tested at home for over a year – solves the common “dead batteries lock you out” problem. ...

January 20, 2026

Building an Intelligent MQTT Firewall with Fail2Ban, journalctl, and Mosquitto Logs

Introduction When deploying a public MQTT backend, brute-force login attempts and unauthorized scans are inevitable. Off-the-shelf solutions like Fail2Ban are helpful, but they often fall short when dealing with sophisticated attackers who rotate IP addresses or use shared networks. This post documents how I built an intelligent firewall system for my Mosquitto MQTT server — combining journalctl, mosquitto.log, and Fail2Ban — and how a I refined the automation logic to be both accurate and safe and more effective. ...

April 30, 2025