inital commit

This commit is contained in:
2024-03-24 20:08:47 +01:00
parent 2e6347214a
commit ec29ab24f0
5 changed files with 230 additions and 1 deletions

View File

@ -1,2 +1,14 @@
# VEGAPULS-Air-exporter
# 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`