This Python script uses CDP to create zones and track where tags are in respect to the zones.
Download all the files from the repository.
Please use a Python virtualenv. You can install it with apt on Ubuntu or pip on MacOS.
virtualenv venv --python=python3
source venv/bin/activate
pip install -r requirements.txt
deactivate
Please run from inside the virtualenv. See Activating the created virtualenv in setup section above.
python geofencing.py -h
The default config file is geofencing_config.yaml
You can either use or edit this one or make your own.
Here is an example config with comments explaining how to properly format one.
This work is licensed under the Creative Commons Attribution 4.0 International License.