Electra Desktop Controller KDE
KDE Plasma desktop controller for Electra air conditioners
About This Project
Electra-Desktop-Controller-KDE is a KDE Plasma 6 widget that provides a desktop remote control for Electra (ElectraSmart) air conditioners. Rather than communicating with Electra's cloud API directly, the widget routes all commands through an existing Home Assistant instance, allowing users to adjust power, operating mode, target temperature, fan speed, and swing from the Plasma desktop or panel. The project is implemented in pure QML with no separate background service, and it reads supported modes, fan and swing options, temperature limits, and step sizes from each entity's attributes so that it adapts to whatever the underlying integration exposes.
The design is motivated by avoiding conflicts with Electra's authentication model, in which tokens are bound to a locally generated IMEI and phone number. By using Home Assistant as the single client, the project keeps one authentication surface and one rate-limit budget, performs calls on the local network, and leaves Home Assistant as the source of truth for any automations. The widget communicates through Home Assistant's REST API, using long-lived access tokens for authentication, polling entity state, and calling climate service endpoints for each control. Installation uses kpackagetool6, and configuration includes entity discovery over the climate domain.
This project is most useful to users who already run Home Assistant with an Electra or other climate integration and who use KDE Plasma on Linux desktops. It may also serve as a reference for developers building Plasma widgets that interact with Home Assistant or other local home automation APIs. The code is released under the MIT license.