Windows and macOS have similar clients (Hass.Agent for Windows and Home Assistant for macOS).

I’ve found these kinds of clients useful because I can remotely wake-up or sleep computers, track how long they are turned on for, and automatically pause my lights and music when my webcam turns on.

15 points

Ooooh! Finally. I have needed something like this to control the volume on my media PC.

I used to have an automation that detects when my HVAC turns on, and it bumps the volume of whatever I’m playing up a few clicks. Then turns it back down when the HVAC cycle finishes. Super handy due to the crazy loud HVAC in my house.

permalink
report
reply
6 points

This is super useful, thanks for sharing!

permalink
report
reply
6 points

Been using this for several months now and it’s been great. I even set up scripts to set my next boot to be Windows when I know I’ll be gaming with friends using a game on GamePass so it’ll be booted and ready when game night is about to start.

permalink
report
reply
4 points

USER ALL=(ALL) NOPASSWD: /bin/systemctl

That’s concerning.

permalink
report
reply
2 points

Oh neat!

I made a custom solution for WOL and remote shutdown using nodered and MQTT, but this is so cleaner than maintaining a custom solution

permalink
report
reply
2 points

If you’re using it, Home Assistant natively supports Wake On Lan. This would only be able to handle the shutdown/sleep side of things.

permalink
report
parent
reply
2 points

Yeah the nodered flow on the target device is for handling shutdown(sleep) and status reporting back to HomeAssistant, so in HA the computer is a simple switch with on/off states

permalink
report
parent
reply

homeassistant

!homeassistant@lemmy.world

Create post

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

Community stats

  • 558

    Monthly active users

  • 548

    Posts

  • 5.8K

    Comments

Community moderators