Enhancing control and automation: integrate KDE Plasma (and apps) with Smart Home Ecosystems
Open, Needs TriagePublic

Description

Description

Goal

Enhance KDE Plasma and apps by exposing various sensors and actuators through the local network, providing seamless integration with Home Assistant (HA) and other smart home platforms. AI systems could also strongly take advantage of this for things such as voice control.

By achieving this goal, KDE Plasma will become an even more integral part of users' digital lives, seamlessly integrating with their smart home environments and providing them with enhanced control, automation, and privacy.

Improvement /change

The aim is to extend what KDE Connect has amazingly done already, by adding functionalities which expose system and application data as sensors and actuators over the local network. Here are some examples of the virtually infinite possibilities:

  • Exposing CPU temperature as a Matter sensor.
  • Providing Wi-Fi, Bluetooth, and other system toggles as Matter toggles.

As a Home Assistant user and fan, here are some extra things that the HA community would most probably love:

  • accessing (maybe controlling?) Plasma's accent color.
  • sensor for current desktop number/name.
  • current Plasma user.
  • sensor for camera/microphone use (for example, to automatically turn on a red light indicating the user is "probably" on a call).
  • triggering automation from specific Plasma notification
  • ...

With the increasing popularity of smart home and AI technologies, there is a growing need for deeper integration between desktop environments and home automation systems. By making this data and actuators available, KDE can become a central part of users' smart home ecosystems, offering enhanced control and automation capabilities.

Connection to KDE's Vision

This goal aligns with KDE's vision of "A world in which everyone has control over their digital life and enjoys freedom and privacy" by:

  • Empowering users with greater control over their digital and physical environments.
  • Enhancing user privacy by ensuring data is shared locally and securely within the user's home network.

Impact on KDE

This initiative will affect multiple parts of KDE, including:

  • KDE Plasma: Enhancements to system monitoring and control features.
  • KDE Connect: Expansion of its capabilities to support more types of data and control.
  • KDE Applications: Potential updates to expose relevant data as sensors/actuators.
  • Plasma Mobile: of course, this feature also makes a lot of sense for Plasma Mobile, as a mobile device is an amazing tool for home automation, for tracking location, Wi-Fi usage, etc...
  • Community: Attracting new users and developers interested in smart home and AI integration.

My bias

Nowadays my 2 main daily tools are probably KDE Connect and Home Assistant, so that's why I feel so strongly about the possibilities with interoperability at that level.

Home Assistant app in Android, for example, is able to expose hundreds of sensors from the device. Having something like that from Plasma would be absolutely amazing.

What it will take

Plan

Research

  • Investigation on Matter protocol and other standards for this kind of interoperability. The most generic the solution, the better integration.
  • Define a roadmap and identify key components and data points to expose.

Development

  • Extend KDE Connect to support new sensors and actuators.
  • Develop APIs and plugins to expose Plasma and app data.
  • Implement Matter protocol support for interoperability with HA or whatever smart home platform.
  • Official Home Assistant integration for KDE Plasma. Work closely with HA community.

Documentation and Promotion

  • Create comprehensive documentation for developers and users.
  • Add easy GUIs for handling what sensors should be open/closed only on localhost, local network...
  • Promote the new features through KDE's channels and community outreach.

Support needed

  • Technical: Developers with experience or willing to dive into KDE Connect, Matter protocol, and HA integration.
  • Community Engagement: Users and developers to provide feedback and testing.
  • Documentation: Contributors to help with creating documentation and promoting the new features.

How we know we succeeded

  • User Adoption: Increased use of KDE Plasma in smart home setups.
  • Community Feedback: Positive feedback from users and developers.
  • Official Integration: Availability of an official HA integration for KDE Plasma.
  • Measurable Impact: Enhanced control and automation capabilities for users within their smart home and AI environments.

Relevant links

Related propositions for KDE Goals 2024

External links

Champions

We want this year's goals to be driven by small teams. Who will be this goals champions if selected? If you don't yet have a small team please mention what you are looking for still so others can step up. We believe a goal generally needs someone who can carry the vision of the goal forward, someone who can technically steer it and someone to promote it.

The team is:

  • Visionary lead: XXX (if there is no one else willing to push for this, I may consider the position but I do not have much time)
  • Technical lead: XXX
  • Promotion: @ivangj (me) (again, if someone thinks that they can lead this part, please propose yourself, I certainly don't think I am the most prepared for this, not even close 😅, help is always needed)

I am willing to put work into this

  • @ivangj : I don't have much time in a week (maybe 5 hours?), but I know some Python, Git... I may be able to help out a bit in development, and particularly in promotion and testing.

I am interested

ivangj created this task.Jun 27 2024, 9:42 AM
ivangj moved this task from Backlog to Not ready for voting on the Goal Setting 2024 board.
ivangj triaged this task as Wishlist priority.
ivangj updated the task description. (Show Details)Jun 27 2024, 9:48 AM
ivangj updated the task description. (Show Details)
ivangj updated the task description. (Show Details)Jun 27 2024, 9:51 AM
ivangj updated the task description. (Show Details)Jun 27 2024, 11:24 AM
lydia raised the priority of this task from Wishlist to Needs Triage.Jun 27 2024, 7:24 PM
lydia added a subscriber: lydia.

This is looking great. Thank you!

redstrate added a subscriber: redstrate.EditedJul 6 2024, 5:42 PM

This sounds interesting, but I'm not convinced it needs to be a "KDE Goal". This sounds more in-line with something like grant work or a GSoc project. This will be in effect for multiple years, but with a dedicated team this could be solved in a few months independently from the rest of KDE. Not to dissuade you from the interesting work, but I'm just commenting on the goal-ness :)

frdbr added a subscriber: frdbr.Jul 29 2024, 3:53 PM
frdbr added a comment.Aug 12 2024, 7:02 PM

Hello,

Please note that the deadline is on Wednesday, just two days away, so you still have a bit of time to put the finishing touches on your proposal. Take a moment to polish, adjust, and refine your ideas to ensure they’re ready for voting.

If you need any help or have questions, don’t hesitate to reach out.

lydia assigned this task to ivangj.Aug 15 2024, 8:21 AM
rokejulianlockhart added a comment.EditedAug 15 2024, 8:24 PM

This is functionality that I thought only I wanted. I'm glad to see that there's interest. However, I dare say that I do, to an extent, agree with @redstrate - I wouldn't by default consider this to be the purview of the KDE organisation itself. After all, since:

  1. KDE doesn't have any home automation server software
  2. most data that this proposal refers to is provided at lower levels of the OS than what Plasma usually manages, and
  3. this functionality isn't DE or OS-specific

...it seems better as a 3rd-party tool.

Irrespective, I've voted for this due to its utility in monitoring fleets of devices - if nobody shall do it outside of KDE, why not have KDE do it if it receives enough votes?

aakarshmj added a subscriber: aakarshmj.
frdbr added a comment.Sep 2 2024, 12:28 PM

The voting process is over, the votes are being tallied and the chosen proposals will be announced at Akademy. In the meantime we would like to invite you all to join the KDE Goals matrix room to stay in the loop, get in touch with other people and team up on other proposals if yours doesn’t make it—or rally some support if it does.