TTN-VEGAPULS-Air-exporter/README.md
2024-03-24 20:08:47 +01:00

15 lines
586 B
Markdown

# The Things Network Exporter for VEGAPULS Air
Export metrics of a VEGAPULS Air connected via TTN as a prometheus service.
## Install ##
- `mkdir /opt/ttn-vegapulsair-exporter/`
- `cd /opt/ttn-vegapulsair-exporter/`
- import `tttn-vegapulsair-exporter.py` and `config.py`
- Set the constants in `config.py`
- `chmod +x /opt/ttn-vegapulsair-exporter/ttn-vegapulsair-exporter.py`
- `chown -R prometheus /opt/ttn-vegapulsair-exporter/`
- `nano /etc/systemd/system/ttn-vegapulsair-exporter.service`
- `systemctl daemon-reload && systemctl enable --now ttn-vegapulsair-exporter.service`