Sign inSign up

biohazardious/openbeken-prometheus-exporter

By biohazardious

•Updated over 1 year ago

Image
0

799

biohazardious/openbeken-prometheus-exporter repository overview

OpenBeken Prometheus Exporter is a lightweight, Dockerized Python exporter that scrapes power metrics from OpenBeken-enabled smart plugs (emulating Tuya plug responses) and exposes them in a Prometheus-compatible format.

It allows you to monitor multiple OpenBeken devices over your local network and collect metrics like power, voltage, current, and total energy consumption—ideal for home automation dashboards and Grafana visualizations.


🔍 Key Features

📡 Scrapes OpenBeken /cm?cmnd=Status 8 data

🧠 Exposes Prometheus metrics like tuya_power, tuya_voltage, etc.

⚙️ Easily configurable via config.yaml

🐳 Fully containerized with Docker + Compose

🚀 CI/CD pipeline to build and push Docker images via GitHub Actions


🛠 Technologies

Python 3 + Flask + Prometheus Client

Docker & Docker Compose

GitHub Actions for GitOps-style automated builds

Tag summary

Content type

Image

Digest

sha256:c28ab0c57…

Size

53 MB

Last updated

over 1 year ago

docker pull biohazardious/openbeken-prometheus-exporter