this post was submitted on 17 Feb 2024
28 points (100.0% liked)

Selfhosted

40359 readers
335 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

There does not seem to exist like a single, complete solution for this that everyone agrees is the way to go... or maybe I did not look hard enough.

How do you do it?

My priorities are:

Top priority

  • Turn off

Amazing to have

  • Volume controls
  • Pause/play

Nice to have

  • monitoring state (on/off)

I saw that System Bridge exists, and looks almost perfect aside from the fact that is not even in the AUR (outdated) and is not distributed under Chocolatey in Windows... this makes me think that the project is very much not widely used at all.

So, how do you deal with these things?

top 12 comments
sorted by: hot top controversial new old
[–] emli42@lemm.ee 7 points 9 months ago (1 children)

System Bridge might just be what you're looking for.

[–] unknowing8343@discuss.tchncs.de 2 points 9 months ago (1 children)

As I said... I know of its existance but it seems like distribution channels are non-existant, which makes me precautious about using it.

[–] priapus@sh.itjust.works 6 points 9 months ago

What do you mean by that? There are recent releases on their github.

[–] Krafting@lemmy.world 6 points 9 months ago* (last edited 9 months ago) (1 children)

KDE Connect, not for home assistant, but still an awesome tool

[–] unknowing8343@discuss.tchncs.de 1 points 9 months ago (1 children)

Can you turn off the computer with KDE Connect?

[–] Evkob@lemmy.ca 6 points 9 months ago (1 children)

You can run commands, so systemctl poweroff should work to turn off your computer (on Linux, not sure how KDE Connect works on Windows, but I'd assume there's an equivalent)

[–] PainInTheAES@lemmy.world 2 points 9 months ago* (last edited 9 months ago)

Yeah, shutdown /s /t $time_seconds

[–] Hominine@lemmy.world 2 points 9 months ago* (last edited 9 months ago)

Shell Commands are the primary tool I use to go about doing these things. I write the scripts to perform the action(s) desired and drop them on the local PC. The shell commands are then fired off from Home Assistant via SSH (either directly in the HA dashboard a la human interaction or through automations) or via my phone through Tasker or KDE Connect (as mentioned elsewhere.)

The trickiest bit for me was setting the correct environmental variables in the scripts but then it was an excellent learning opportunity! Best of luck OP and let me know if I can provide any more info.

[–] n0xew@lemmy.world 2 points 9 months ago (1 children)

Windows only but does pack a pretty nice set of features: https://hassagent.readthedocs.io/en/latest/

[–] unknowing8343@discuss.tchncs.de 1 points 9 months ago (1 children)

Looks good, but seems a bit outdated? Are you using it?

[–] n0xew@lemmy.world 1 points 9 months ago* (last edited 9 months ago)

The original dev has gone silent indeed, but a team of volunteers resumed development recently. So I wouldn't call it outdated, but we'll see if they'll keep up the good work for long.

I've been using it for more than a year to automate a few stuff, it's been good for this purpose so yeah I would recommend it :)

[–] tagginator@utter.online -1 points 9 months ago

New Lemmy Post: Controlling and monitoring computers (Windows, Linux) from Home Assistant? (https://lemmy.world/post/12064692)
Tagging: #SelfHosted

(Replying in the OP of this thread (NOT THIS BOT!) will appear as a comment in the lemmy discussion.)

I am a FOSS bot. Check my README: https://github.com/db0/lemmy-tagginator/blob/main/README.md