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.
Thanks for this - I am getting the following error when trying to to install ntplib
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-KyuOh6/ntplib/
WHich means that the main ./start.py does not work for me and I can't use the programme anymore :(
EDIT: Full text
Collecting ntplib
Using cached https://files.pythonhosted.org/packages/29/8b/85a86e01c510665b0790d3a9fd4532ad98aba9e185a676113a0ae3879350/ntplib-0.3.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named setuptools