Figure 9: Overview system setup
Note: The easiest way to power up your system is to use a POE-Injector. Therefore
we recommend an injector e.g. PD-9001GC from Microchip with 30 W and
1 ETH-port: https://www.microchip.com/wwwproducts/en/PD-9001GC
10.2 Software Setup
Step by step commands for Linux environment. Please go through these steps to setup your system:
Step 1. Verify installed Python Version
python3 --version
# Python 3.7 or newer is recommended
Step 2. Python Dependencies Installation
python3 -m pip install paho-mqtt
python3 -m pip install h5py
python3 -m pip install numpy
Step 3. Install SNTP Server
sudo apt-get install ntp -y
sntp --version
Changing default confi guration can be done accordingly:
sudo nano /etc/ntp.conf
Reset the service when new pool is confi gured
sudo service ntp restart
Check if NTP service is running
sudo service ntp status
Step 4. Install Mosquitto Broker
sudo apt-get install mosquitto=1.5.7-1 –y
Step 5. Install DHCP Server
sudo apt-get install isc-dhcp-server
Edit DHCP Server Confi guration:
sudo nano -w /etc/dhcp/dhcpd.conf
Figure 10: POE Injector, 1 port, 30W, IEEE
802.3at-compliant, indoor
26