2025-03-04 01:05:59 +01:00
2025-03-04 01:05:43 +01:00
2022-06-01 01:05:19 +02:00
2023-02-07 05:34:26 +01:00
2023-02-07 20:25:54 +01:00
2025-03-03 22:41:59 +00:00
2025-03-04 01:05:59 +01:00

Prometheus Exporter

Export BFFH Data as Prometheus Metric.

The exporter uses the pyfabapi (Python API wrapper for FabAccess API) to access the resource list (machines) and their states and meta information (names, categories).

Sample line:

bffh_machine_state{category="Central Stairs",machine_id="zam-raum1-ecke1-lamp",machine_name="1 Lampe"} 1.0

Installation & Documentation

Please see docs.fab-access.org for installation steps and how to use together with Grafana.

Installation with Docker

In case you want to use the provided Dockerfile, you can use the following environment variables to run:

  • POLLING_INTERVAL_SECONDS = 5
  • EXPORTER_PORT = 9000
  • BFFH_HOST = localhost
  • BFFH_PORT = 59661
  • BFFH_USER = Admin1
  • BFFH_PASSWORD = secret
Description
Export BFFH Data as Prometheus Metric
Readme 38 KiB
Languages
Python 84.6%
Dockerfile 15.4%