Configuration of waveshare poe head
apt-get update && apt-get install python3.6 python3-pip
pip3 install RPi.GPIO smbus
Add the following modules to /etc/modules
:
i2c-bcm2708
i2c-dev
git clone https://github.com/NBprojekt/poe-head.git /usr/share/poe-hat
Open crontab crontab -e
and add the following line @reboot /usr/bin/python3 /usr/share/poe-hat/src/main.py &