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.
Support will close at 3:00 pm Eastern on December 20th. Limited support will be available from 8:00 am to 6:00 pm on December 23rd, 26th, 27th, and 30th. Support will be closed December 24th, 25th, and 31st as well as New Year's Day.

Happy Holidays!
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