Go to file
2025-06-01 12:46:16 +02:00
__pycache__ remove timeout detection 2024-09-08 18:11:19 +02:00
config.py inital commit 2024-03-24 20:08:47 +01:00
LICENSE inital commit 2024-03-24 20:08:47 +01:00
payload_formatter.js added payload formatter 2024-03-24 21:12:47 +01:00
README.md improve stability 2024-09-01 11:58:35 +02:00
ttn-vegapulsair-exporter.py new mqtt connection 2025-06-01 12:46:16 +02:00
ttn-vegapulsair-exporter.service improve stability 2024-09-01 11:58:35 +02:00

The Things Network Exporter for VEGAPULS Air

Export metrics of a VEGAPULS Air connected via TTN as a prometheus service.

Install

  • zypper install python311-paho-mqtt
  • mkdir /opt/ttn-vegapulsair-exporter/
  • cd /opt/ttn-vegapulsair-exporter/
  • import ttn-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