|
|
|
The message board (TV monitor) in the Secondary Block undercroft is controlled by a RaspberryPi (RPi) Model A computer running Raspian (a version of Debian Linux). The RPi is at the back of the TV (LH-side) in a small yellow case. It is powered via a USB cable connected to the TV. Communication is via WiFi to the "MCC Device" SSID. The RPi is connected to the TV via an HDMI interface. The display is the full-screen presentation of a Chromium web browser.
When the RPi boots, it runs /etc/rc.local which, in turn, runs /usr/local/bin/startboard. The startboard script sets up the environment and then starts the chromium web browser. The default URL for the browser is http://ict/msgboard and its source code is here.
The following files were added/modified on the RaspberryPi:
The crontab for user "pi" has the following entries:
0 8 * * 1-5 /usr/local/bin/display on 30 15 * * 1-5 /usr/local/bin/display off
The program raspi-config was run to set the following: