You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
Thanksgiving: Support will not be available Thursday November 28th through Sunday December 1st. We will re-open Monday December 2nd.
Home > Troubleshooting > Programmatically determine if a display is On or Off
Programmatically determine if a display is On or Off
print icon

A Just Add Power Receiver keeps track of whether the connected display is powered on or off. Essentially, the Receiver is looking for an active HDMI connection to a display.

Telnet into a Receiver and send this command:

cat /sys/devices/platform/display/monitor_info | grep "attached=y" -c

Responses:

  • 0 = The display is off, or the HDMI cable from the Receiver to the display is disconnected
  • 1 = The display is on.

 

 

scroll to top icon