display - bruno-beloff/scs_dev GitHub Wiki

docs > software repositories > scs_dev > commands > device identity


DESCRIPTION

The display utility is used to set the content for a visual display, such as the Pimoroni Inky pHAT eInk module. Content is gained from several sources:

  • The display_conf settings
  • System status
  • Input from stdin or a Unix domain socket
  • MQTT client and GPS receiver report files (if available)

SYNOPSIS

display.py [-u UDS] [-v]

Options
--version show program's version number and exit
-h, --help show this help message and exit
-u UDS, --uds=UDS receive messages from Unix domain socket (instead of stdin)
-v, --verbose report narrative to stderr

EXAMPLES

/home/pi/SCS/scs_dev/src/scs_dev/display.py -v -u /home/pi/SCS/pipes/display.uds

FILES

~/SCS/conf/display_conf.json

DOCUMENT EXAMPLE

{"mode": "SYS", "device-name": "SCS Praxis/Handheld v1.0", "startup-message": "ON", "shutdown-message": "STANDBY"}

SEE ALSO

scs_mfr/display_conf
scs_mfr/gps_conf
scs_mfr/mqtt_conf

RESOURCES

The following may be required as part of the installation:

sudo apt install libatlas3-base
sudo apt-get install libopenjp2-7