raspberrypi/acatcher/INSTRUCTIONS

24 lines
1.4 KiB
Text

* at the start of the day, create a file with a list of rooms that you
want to monitor for that day. I've already created files based on the
SCaLE schedules, named ROOMS.thu, ROOMS.fri, ROOMS.sat, and ROOMS.sun,
so you can use those (but check to make sure that they are correct)
* cd /scratch/raspberrypi.acatcher
* ./provision_streamers.sh ROOM_FILE
* wait for another minute or so after that script completes (it reboots the
pi's which take a while to boot) then run ./check.sh ROOM_FILE
This will test to make sure it can get to all of the pi's, if any are
listed as DOWN, wait and try again; if still DOWN, there is some other
problem.
* ./start_streamers.sh ROOM_FILE
* ./start_watcher.sh
* a bunch of windows will open splattered all across the screen. to fix
this, open another terminal window, cd to the same directory as before,
and type ./fix_windows.sh ROOM_FILE
* control the audio stream from the window labeled "CONTROL" (NOTE: this
window MUST BE IN FOCUS, so i.e. click on it) Each window is labeled
with the room's name and a number/letter in brackets, that is the key
you press to bring up that room's audio.
* when done for the day, hit q, this will close all windows. Then run
the script ./stop_streamers.sh ROOM_FILE
* optionally you can run ./reboot_streamers.sh ROOM_FILE
to reboot all of the pi's so that they are in a known state.