Teleinfo Exporter
Simple prometheus exporter for Linky teleinfo.
Installation
Pip
python3 -m pip install teleinfo-exporter
teleinfo-exporter --help
Docker
Minimal Docker compose:
services:
web:
image: ghcr.io/d3vyce/teleinfo-exporter:latest
environment:
- BROKER_HOSTNAME=10.10.0.10
ports:
- 8000:8000
restart: always
Architectures
| Architecture | Available | Tag |
|---|---|---|
| x86-64 | ✅ | amd64-<version tag> |
| arm64 | ✅ | arm64-<version tag> |
Version Tags
| Tag | Available | Description |
|---|---|---|
| latest | ✅ | Latest version |
Variables
| Argument | Variable | Description | Default |
|---|---|---|---|
--http_port |
-e HTTP_PORT |
HTTP Port | 8000 |
--auth_user |
-e AUTH_USER |
Basic Auth User | |
--auth_hash |
-e AUTH_HASH |
Basic Auth Hash | |
--http_cert |
-e HTTP_CERT |
HTTP Certificate | |
--http_key |
-e HTTP_KEY |
HTTP Key | |
--broker_host |
-e BROKER_HOST |
MQTT Host | |
--broker_port |
-e BROKER_PORT |
MQTT Port | 1883 |
--broker_user |
-e BROKER_USER |
MQTT User | |
--broker_password |
-e BROKER_PASSWORD |
MQTT Password | |
--broker_topic |
-e BROKER_TOPIC |
Teleinfo Topic | teleinfo/tele/SENSOR |
Configuration
HTTP Authentication
To generate the password hash use the following command:
htpasswd -bnBC 10 "" PASSWORD | tr -d ':'
Prometheus
Config example:
scrape_configs:
- job_name: 'Teleinfo'
scheme: https
tls_config:
ca_file: teleinfo.crt
basic_auth:
username: USER
password: PASSWORD
static_configs:
- targets:
- 192.168.1.2:8000
Metadata
Release files for teleinfo-exporter 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| teleinfo-exporter-1.2.0.tar.gz | 6.4 kB | Without provenance | Details for teleinfo-exporter-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| teleinfo_exporter-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for teleinfo_exporter-1.2.0-py3-none-any.whl |
Total release size: 13.3 kB
Release files / teleinfo-exporter-1.2.0.tar.gz
| Download URL | teleinfo-exporter-1.2.0.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08eb7fd5cf3bf92d0be53b0a18d0fa2de53b12e0fcf76f7685a25dd7ca1ff860
|
|
BLAKE2b-256 checksum How to use checksums |
a3ed956dbc04d465d78be3e6840b79dcb773e98094f02522dc5359edec9290c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / teleinfo_exporter-1.2.0-py3-none-any.whl
| Download URL | teleinfo_exporter-1.2.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9cf009e8c921b6e36e8c999246322b0d7ea73357651dff262b09c9e187c82524
|
|
BLAKE2b-256 checksum How to use checksums |
5ec4b2c088ece7953e35d60207fa0204d40266cb77dfc66f136e2e6eb07ec3a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for teleinfo-exporter 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.