Open nijel opened 6 months ago
@nijel May I ask how do you wake up the screen ? What action do you do on nspanel device to turn it's (sleeping) screen on ?
The motion sensor is selected in blueprint (System settings - Wake-up sensors).
Yes, useful, indeed. And the improvement proposed in this ticket would be very welcome as well :) Thank you for answer.
It would be great if this also could be connected to the state of the lights in the room. lights on => no switching off display, lights off => light goes off after delay.
Also would be great to have API command to keep screen on regardless of sensor
+1 on this. I'm using one panel as a "dashboard" under my PC monitor. Would be nice if it could be always-on as long as I'm in the room (this I have handled by ble presence).
For anyone who comes while it's implemented here's my workaround:
"{{ (utcnow().replace(tzinfo=None) - as_datetime(states.input_boolean.keep_nspanel_alive.last_changed).replace(tzinfo=None)).seconds > 5 }}"
wake_up_sensors: - binary_sensor.keep_nspanel_alive
Enhancement Summary
System settings - Wake-up sensors should keep the screen on as long as sensor is active.
Detailed Description
I have a motion sensor in a room where NSPanel is placed, and I want NSPanel to be on as long as there is motion going on. Currently, it only turns on when motion is detected for the first time, and then the usual dimming and sleep timeouts apply.
Additional Context
Thanks for this blueprint, it works great!