This is a script that aggregates sensor data from stones for use by the frontend (fieldmon). It further provides functionality for logging sensor data to a mariadb database and also handles descriptions for stones (i.e. assigned names and colors from the frontend).
This repository is part of the Fieldtracks project, which aims at creating a tracking system to be used in field exercises by relief organizations.
- Clone the project:
git clone https://github.com/FieldTracks/StoneAggregator.git - Switch to the project directory:
cd StoneAggregator - Setup a virtual python environment:
python3 -m venv env - Enter the virtual environment:
source env/bin/activate - Install dependencies:
pip3 install -r requirements.txt - Copy and edit the default config file:
cp config-localhost.ini config.ini - Run the script:
./aggregator.py config.ini
You can find descriptions and examples of sensor messages and aggregated messages here.
This file is part of StoneAggregator - (C) The Fieldtracks Project
StoneAggregator is distributed under the civilian open source license (COSLi). Military usage is forbidden.
You should have received a copy of COSLi along with StoneAggregator.
If not, please contact info@fieldtracks.org