Monitoring Disk Free Space and Pending Updates Using MQTT and Home Assistant

This article describes how to send information about available disk space and the number of pending updates to Home Assistant using MQTT. Requirements A running MQTT broker (e.g., Mosquitto). Installed MQTT client (e.g., mosquitto-clients). A Linux system with the apt package manager. Home Assistant configured to support MQTT. Script Configuration The Bash script performs two key operations: Checks the number of pending updates. Calculates the amount of free disk space. Example script:...

January 2, 2025 · 2 min · 4ib3r

How to Use Different Configurations in Klipper

How to Use Different Configurations in Klipper Without Copying Files If you use Klipper and want to manage multiple configurations easily, you can use the KCONFIG_CONFIG environment variable. This allows you to compile the project with a selected configuration file without copying it to .config. In this article, I’ll walk you through how to do this and also show an alternative method using file copying. Creating a Configuration A configuration file for later use can be obtained in two ways: by creating a new configuration or by copying an existing one from the default ....

December 31, 2024 · 2 min · 4ib3r