#home assitent to pc

1 messages · Page 1 of 1 (latest)

severe shoal
#

Is there a way to connect from my raspberry pi to my pc to see what in the home is happening

weak fiber
#

Can you elaborate or provide an example?

quiet rock
severe shoal
#

when i open a door the laptop will press windows + m to hide

tulip canopy
#

To an extent, this IS possible. But it does require some set up.

  1. On your Home Assistant, you'll need to have a MQTT (I use Mosquitto as my MQTT broker, as that was the one recommended in most tutorials).

  2. On your PC, you'll have to have either Hass Workstation Service or Hass.Agent. (Both are on Github). Despite the warning that Hass Workstation Service is no longer maintained, Hass.Agent hasn't had any updates since 2022 either, so in my opinion, doesn't really matter which you choose.

  3. You'll need to get the Hass agent of your choice to connect to the MQTT broker on Home Assistant.

You would then be able to create automations within Home Assistant that could trigger commands on your computer.

This isn't meant to be a tutorial, per se. But a basic groundwork for how this is possible. The key here though is: What you want to achieve on the computer, has to be achievement through commands (or even batch scripts). It can launch applications/scripts on your computer. If there is a specific key command you want to do, see if there is a way to achieve that functionality through commands. You could easily, create a script/automation, that locks your computer when you leave the house, or close a window on your computer when a door opens, for instance.