# Teleinfo Exporter

Teleinfo Exporter is a lightweight Prometheus exporter that exposes Linky smart-meter teleinfo data so homelab users can monitor electricity usage. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/3384/teleinfo-exporter

## Description

Teleinfo Exporter is a lightweight Prometheus exporter that exposes Linky smart-meter teleinfo data so homelab users can monitor electricity usage.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

10/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (last commit 963 days ago)
- Popular: 6 (1 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Unraid: https://ca.unraid.net/apps/teleinfo-exporter-01mgw441s3sr2g?q=teleinfo_exporter

## Common questions

### How do I point the Docker container at my MQTT broker?

Set BROKER_HOSTNAME in the Docker compose environment to the broker address. You can also configure BROKER_PORT, BROKER_USER, BROKER_PASSWORD, and BROKER_TOPIC as needed.

### What port does Teleinfo Exporter listen on by default, and how can I change it?

It uses HTTP port 8000 by default. You can change it with the HTTP_PORT environment variable or the --http_port flag.

### How do I enable basic authentication for the exporter?

Provide AUTH_USER and AUTH_HASH environment variables or flags. The hash can be generated with htpasswd -bnBC 10 "" PASSWORD | tr -d ':'.

### How should I configure Prometheus to scrape the exporter over HTTPS?

Use a Prometheus job with scheme: https, a tls_config ca_file for the certificate, basic_auth credentials, and a static target of your host and port 8000.

---
Source: Our Local Host (https://ourlocalhost.com/app/3384/teleinfo-exporter), the self-hosted and open-source app directory.
