A PyTAK application that pulls cameras and road reports from 511 Data Feeds and pushes it to TAK as a CoT Event.
- Install
pipenv
usingpython -m pip install pipenv
- Run
python -m pipenv install
to install the prerequisites. - Create a
config.ini
and adjust the settings to your use-case.
Run python -m pipenv run python main.py
to start the application.
- Modify
mn511tocot.service
to the correct working directory, user, and shell script directory. - Copy it to the right directory using
cp mn511tocot.service /etc/systemd/system/
- Run
sudo systemctl daemon-reload
- Run
sudo systemctl enable mn511tocot
(if you want to run it at boot, otherwise skip this step) - Run
sudo systemctl start mn511tocot
to start the service
This config connects to TAK server instance via TLS (with a self-signed cert), pulls data and pushes CoT events every hour. This will only push cameras and not road reports.
config.ini
[mn511tocot]
COT_URL = tls://XX.XX.XX.XX:8089
PYTAK_TLS_CLIENT_CERT = private_key.pem
PYTAK_TLS_CLIENT_KEY = private_key.pem
PYTAK_TLS_DONT_VERIFY = true
POLL_INTERVAL = 3600
CAMS_ENABLED = true
ROAD_REPORTS_ENABLED = false
State | Supported | Notes | API |
---|---|---|---|
Minnesota | ✔️ | Decoder needs to be rewritten | https://www.castlerockits.com/xml-data-feeds |
Iowa | 🛠️ | Decoder needs to be created | https://www.castlerockits.com/xml-data-feeds |
Nebraska | 🛠️ | Decoder needs to be created | https://www.castlerockits.com/xml-data-feeds |
Kanasas | 🛠️ | Decoder needs to be created | https://www.castlerockits.com/xml-data-feeds |
Indiana | 🛠️ | Decoder needs to be created | https://www.castlerockits.com/xml-data-feeds |
Idaho | 🛠️ | Decoder needs to be created | https://www.castlerockits.com/xml-data-feeds |