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.

1 point

This is so cool, first MQTT-based sensor I’ve set up. Already had a broker set up with HA, but how can HA automatically discover which topic to listen to, know the vendor name and how to interpret all the data?

permalink
report
reply
1 point

There’s a set of special topics under homeassistant/ that devices also publish to that describe what each topic does and how HA should present it. HA will subscribe to everything under that root topic to discover all your MQTT devices.

permalink
report
parent
reply
5 points

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

That’s concerning.

permalink
report
reply
2 points
*

Can somebody shed some light on why this doesn’t create a systemd entry? It works when I manually run it specifying the config.yaml file but there are no systemd entries. I’m on Ubuntu desktop.

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
2 points

I’m definately going to try this, I was using Hass.Agent before switching to Linux and am looking for someting similar.

permalink
report
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

  • 443

    Monthly active users

  • 232

    Posts

  • 1.2K

    Comments

Community moderators