The used scripts all require Python 3!!!
-
rmpdiscovery: the library containing the discovery and advertise service. The discovery service may be run alongside the MBP to discover devices. The advertise service may be used by devicees to register themselves at the MBP.
-
type-scripts: premade python scripts for sensors; may also containt services (.conf) descriptions
-
the files rmpadvertise., rmpdiscovery. and rmpvaluelogger.* are used to deploy and run the respective services using systemd.
-
discoverygui.py offers a basic GUI to view the devices currently registered for monitoring
The discovery service is installed alongside the MBP using the install.sh script. To install and run the advertise service, use the install-advertise.sh script.
The services are installe using systemd so they can be started and stop, using:
sudo systemctl start <service>
sudo systemctl stop <service>
The discovery service is implemented in the discovery package. The following diagram hopefully clarifies the structure:
The discovery gateways detect new devices in their network and register them at the discovery service.
For each network technology there must be a specialized implementation of the DiscoveryGateway
class.
The file python-packages.py lists all used python packages. They can be installed using
sudo pip install -r python-packages.txt