mediactl
This repository contains the software running on the mediactl.mediahell.hfbk.net
Raspberry that controls the media technology in the Extended Library (see also Extlib Documentation).
mediactl sports a touchscreen that allows control of the media technology in that room – the interface for that touchscreen can be remotely accessed via mediactl.mediahell.hfbk.net if your machine is connected to the mediahell network.
service
Check Service Status
sudo systemctl status mediactl.service
Restart Service
sudo systemctl restart mediactl.service
autostart on RPI
See this for a description of how to start chromium via /home/d0/.xinit
– note: this file contains the screen blanking settings (xset 600 0
)
note about apt
In /etc/apt/apt.conf.d/proxy.conf
there is a proxy connection setup:
# "socks5h" means proxy with DNS resolving ability
Acquire {
HTTP::proxy "socks5h://127.0.0.1:8080";
HTTPS::proxy "socks5h://127.0.0.1:8080";
}
So we can then ssh into the machine with a tunnel
ssh -R 127.0.0.1:8080 mediactl
Editing the code in this repository
Git does not work in the mediahell network out of the box. As of now the recommended way is to mount it locally via sshfs (replace the id_ed25519
key with a valid one you own).
mkdir -p remote-mediactl
sudo sshfs -o allow_other,default_permissions -o IdentityFile=/home/YOURUSER/.ssh/id_ed25519 -p2222 YOURUSER@mediactl.mediahell.hfbk.net:/home/d0/mediactl remote-mediactl
Connection diagram
Device | Connection Kind | Purpose | |
---|---|---|---|
Allen&Heath AHM16 | Ethernet | Audio DSP and Mixer | TCP Protocol (essentially MIDI over IP) |
RPI 3B "projctl" | Ethernet/WIFI (REST via mediahell wifi) | Controlling and monitoring the projector | see code.hfbk.net |
Kramer VS-411X | GPIO and GND | Switching HDMI-Sources, Audio Extractor | GPIO, Pull port to GND |
Quadro DSP | (USB-Serial) | Poweramp, Check State | Reverse Engineering |
Sennheiser ewG4 | (Ethernet) | Wireless Mic Receiver, Check State | Manual |
AC123 Remote | GPIO and GND | Controls Screen motor via Radio (Up/Down/Stop) | GPIO, Pull port to GND to switch |
GPIO Connections
GPIO PIN | Device | Function | Kind | Color |
---|---|---|---|---|
GND (39) | Kramer | GND | GND | Black |
GPIO 21 | Kramer | Switch to Input 4 | Pull to GND to switch | Brown+Brown/White |
GPIO 20 | Kramer | Switch to Input 3 | Pull to GND to switch | Blue + Blue/White |
GPIO 26 | Kramer | Switch to Input 2 | Pull to GND to switch | Orange + Orange/White |
GPIO 16 | Kramer | Switch to Input 1 | Pull to GND to switch | Green + Green/White |
GND (34) | AC123 Remote | GND | GND | Black |
GPIO 13 | AC123 Remote | Screen moves Up | Pull to GND to switch | Green |
GPIO 6 | AC123 Remote | Screen stops | Pull to GND to switch | White |
GPIO 5 | AC123 Remote | Screen moves Down | Pull to GND to switch | Red |