Export list of mac addresses connect to wifi
  • Rust 67.2%
  • Nix 29.9%
  • Dockerfile 2.9%
Find a file
2025-06-02 21:44:50 +02:00
.forgejo/workflows workflow updates 2025-06-02 21:34:47 +02:00
src spelling 2024-12-11 20:59:26 +01:00
.dockerignore add dockerfile 2020-01-31 18:52:40 +01:00
.envrc flake 2022-07-25 23:00:43 +02:00
.gitignore switch to configfile instead of env 2024-02-29 23:39:46 +01:00
Cargo.lock updates 2024-12-11 19:29:01 +01:00
Cargo.toml updates 2024-12-11 19:29:01 +01:00
config.sample.toml clearify mqtt is optional 2025-06-02 21:37:10 +02:00
Dockerfile mqtt export 2021-11-28 22:30:33 +01:00
flake.lock flake update 2025-06-02 21:34:19 +02:00
flake.nix fmt 2025-06-02 21:34:58 +02:00
module.nix fmt 2025-06-02 21:34:58 +02:00
package.nix fmt 2025-06-02 21:34:58 +02:00
README.md add basic readme 2025-06-02 21:44:50 +02:00

wifi-prometheus-exporter

Export list of mac addresses connected to wifi.

Connects to the router or access point over ssh and export the connected wifi clients as prometheus metrics and ( optionally) MQTT for home assistant.

Requirements

A router or access point that can be accessed over ssh and uses iwd.

Tested with OpenWrt

Usage

  • Create a config file as shown in the example
  • Run wifi-prometheus-exporter <path to config>
  • Scrape the exported metrics on the configured port at /metrics
  • If MQTT is in use and home assistant is setup with MQTT integration, the wifi clients should be automatically added.