https://github.com/saschaludwig/OnAirScreen
For default raspian stretch functional 2018-12-30
sudo apt install neofetch git
sudo echo neofetch >> /etc/bash.bashrc
sudo echo net.ipv6.conf.all.disable_ipv6 = 1 >> /etc/sysctl.conf
sudo sysctl -p
sudo apt install python-qt4 pyqt4-dev-tools python-qt4-dbg python-pip
pip install ntplib
git clone https://github.com/saschaludwig/OnAirScreen
cd OnAirScreen
make
./start.py
Testing again with a stock Debain Stretch x64 in Virtual Box 2019-07-02 Make sure to have installed sudo and your user is allowed to use sudo. Sascha Ludwig has removed the older Version of the Software, so you have to use another fork that has the old data. You can find several forks here: https://github.com/saschaludwig/OnAirScreen/network/members
sudo su
apt install neofetch git
echo neofetch >> /etc/bash.bashrc
echo net.ipv6.conf.all.disable_ipv6 = 1 >> /etc/sysctl.conf
sysctl -p
apt install python-qt4 pyqt4-dev-tools python-qt4-dbg python-pip
exit
pip install ntplib
git clone https://github.com/brandlcreative/OnAirScreen
cd OnAirScreen
make
./start.py
To make this thing boot up fully unattended, there are a few steps needed. I have used the XFC Desktop, because it is not very ressource hungry.
First, disable the automatic Lock Out. Go to settings manager > session and startup > application autostart and disable light-locker, which is titled “Screen Locker (Launch screen locker program).” Reboot your machine and it should stop locking. As described here: https://askubuntu.com/questions/544818/how-do-i-disable-automatic-screen-locking-in-xubuntu
While you are there you can add the start.py for automatic start of the OnAirScreen after Login.
Than make sure to boot up and login automaticly (with a non-root user). Replace "username" with the username you used to setup debian. Add the following to the bottom of your /etc/lightdm/lightdm.conf
[Seat:*]
pam-service=lightdm
pam-autologin-service=lightdm-autologin
autologin-user=username
autologin-user-timeout=0
session-wrapper=/etc/X11/Xsession
greeter-session=lightdm-greeter
Run the following commands
# groupadd -r autologin
# gpasswd -a username autologin
Full description here: https://unix.stackexchange.com/questions/302400/auto-login-on-xfce-in-jessie
Now reboot and you should end up right with the OnAirScreen running.
As a tool to send UDP commands from Windows http://sourceforge.net/projects/swissfileknife/files/1-swissfileknife/1.7.4/ worked fine for me.
C:\tools\sfk udpsend 192.168.1.22 3100 "LED1:ON"
Information take from here: https://stackoverflow.com/questions/6336941/windows-bat-or-cmd-send-some-data-to-a-localhost-udp-port Maybe you want to use anything different.
I have now got the ntplib.py file and placed in the same directory as OnAirScreen but I still can't get it to work :(