KDE AC Controller Widget
Controller for AC
About This Project
KDE-AC-Controller-Widget is a KDE Plasma 6 applet that provides quick access to an air conditioner registered in Home Assistant directly from the system tray. Clicking the tray icon opens a popup where users can turn the unit on or off, select Cool, Heat, or Auto mode, and adjust the target temperature between 16 and 30 degrees Celsius using a slider or increment buttons. Changes are sent to Home Assistant immediately, and the widget's tray icon reflects the current mode with a small indicator showing when the unit is active.
The widget is built in QML and organized as a standard Plasma package, with separate components for the compact tray representation, the full popup interface, and the configuration dialog. Home Assistant communication is handled through a JavaScript module that calls the Home Assistant REST API using a long-lived access token. Status is refreshed on a configurable interval, which defaults to 30 seconds. The project includes shell scripts for installing, updating, and uninstalling the package, and it is released under the GPL-3.0 license.
The widget is intended for users of KDE Plasma 6 who run Home Assistant and have a climate entity configured for an air conditioner. It may be of particular interest to those who want local desktop control of HVAC equipment without opening the Home Assistant web interface, or to developers looking for an example of a Plasma 6 applet that integrates with a REST API.