Sending command wo windows PC

Hi,

this might be a bit special but maybe someone has an Idea.

Situation:

  • Hass.io running on a rPI with motion sensor connected
  • Windows Laptop running tileboard in corridor

Idea

  • I want the windows pc’s display to turn off after 5 minutes if nut used -> works of course :wink:
  • I want the screen to turn on on touch -> works

–> I want to turn the screen on when motion is detected

Does anyone have any idea? :wink:
Thanks
Dennis

I actually found a solution that works quite easily.

  • I use mqtt to publish a command (by an automation)
  • And i found this windows tool which connects to the mqtt server and reacts based on the settings made https://github.com/KjetilSv/Win10As
  • And than i used nircmd to create a mouse movement
    -> screen on :slight_smile:
1 Like