Hi!

So I’m using an LG C2 42" TV as a monitor for my PC. In the same room there’s a FP2 motion sensor with two zones defined:

  • Presence 2 = in front of the PC
  • Presence 3 = rest of the room

Since the TV does not have a “wakeup on signal” function and my PCs sleep/standby behaviour is extremely unreliable I want to use the motion sensor to conrol the screen.

I already have the presence states in ha and managed to get screen on/off and power on/off to work.

Now my question is how to go about automating it all: I’d like the screen to blank(screen off) as soon as nobody is in the room and resume(screen on) when I return. This could be instantly because there is little delay for resuming and the FP2 seems quite fast at changing the states as well. That on its own seems manageable at my experience level :)

The tricky part: I also want the TV to power down if there is nobody in the room for x minutes but only power up again if somebody is in front of the pc.

Could you give me some pointers on how to go about it? The more elaborate the better but I’m mostly interested in the approach you would take (and struggle from there…).

Thx!

  • @jgkawell
    link
    English
    11 year ago

    If you can’t control the monitor, could you connect it to a smart plug and just hard-shut it off?

    • @[email protected]OP
      link
      fedilink
      English
      31 year ago

      I can control everything about the monitor that I need. My question is how to implement the automations that i want.

      • @humantorchbankloan
        link
        English
        11 year ago

        if you label the entities chat gpt could get you an automation pretty easily with this one. you need to use the fp2 sensors as triggers and potentially conditions with the switch.turn_on and turn_off service calls as actions