"Enter"a basıp içeriğe geçin

Ay: Nisan 2024

Enhancing Home Automation: KDE Plasma and Yeelight Bulbs

I purchased a couple of Xiaomi Smart Led Bulbs a few years ago. In the beginning, it was fun to control the bulbs using a mobile application. However, as someone who spends most of his day in front of a computer, I gradually started feeling uncomfortable using my mobile phone to control the bulbs.

After some research, I’ve discovered that the bulbs can also be controlled from other devices in the same network, thanks to the programming interface the bulbs are providing. So, as a dedicated KDE user for years, I started developing a Plasma 5 widget that provided a simple user interface to control the bulbs next to the clock in the system tray. Unfortunately, the code was quite messy (e.g., I was a beginner with QML widgets, the widget was using a Python script for socket communication with the bulb, etc.), so I’ve never published that version on the web 🙂

Yorum Bırak