Web app for CURE telemetry.
All web-related dependencies are built-in, but python dependencies should be installed with a virtual environment as shown below.
- View recorded data
- Simulate recorded data
- View live data
- Send commands to the system
- Configuration within web app
- Reset button within web app
- More graphs/data types
- Install
Python3.8or higher - Create a virtual environment with
python -m venv telemetry-env - Activate the virtual environment with
source telemetry-env/bin/activate - Install packages with
pip install -r requirements.txt - Start the server with
./run.sh - Visit
http://127.0.0.1:5000/in a browser to use the app - Quit with
ctrl+cin the terminal - Type
deactivateto quit the virtual environment
xbee radio settings (remote addresses, etc.) can be found in src/radio.py
The pip package for digi-xbee has had some issues lately.
If you get errors on the import, change line 230 of
telemetry-env/lib/python3.9/site-packages/digi/xbee/models/mode.py
from
return sum(op.code for op in options if lambda option: option != cls.EXPLICIT)
to
return sum(op.code for op in options if op < cls.UNSUPPORTED_ZDO_PASSTHRU).
