How can I integrate my Linux PC to Home Assistant?

Hi, I’m running Linux on my PC and I want to integrate it into Home Assistant. Especially events like starting or shutting down, show notifications or being able to set the PC to sleep mode.

Is this possible?

Wake on LAN - Home Assistant might cover some of your usecases

I found a pull request to add KDE connect integration, but it has not yet arrived in HA.

This would be perfect because I’m migrating all my PCs to KDE.

Also looking for that. The old PR is abandoned, however. I found and collected the history of this in this new integration request:

Hello
You can take a look at IoTuring

Ah okay thanks yeah. Anyway, KDE Connect is an established protocol and I have it already installed. And yeah it also seems to offer more features. But yeah… interesting in any case.

Looked into it, unfortunately the last commit was 2 years ago, so the whole project looks quite abandoned. Asked about it here:

There isn’t anything like the Home Assistant app. There are one or two Linux packages like Butler, but they’re essentially browsers, with no sensors or controls.

I run Glances on the PC. There is a Glances integration which will give you a lot of sensors.

To control the PC, you can use the SSH integration.

That sounds interesting, but you linked to your local HA instance. :upside_down_face: :wink:

Aaargh! Sorry.

There is a system-bridge with integration into Hass, but there are no custom commands in the integration. Overall, it would be more suitable than KDE-Connect, although I might not be using its full functionality.

Which? Aka what are you talking about?