mirror of
https://codeberg.org/icewind/taspromto.git
synced 2026-06-03 08:34:21 +02:00
readme
This commit is contained in:
parent
7b13b9f1cc
commit
8a8148e528
1 changed files with 39 additions and 0 deletions
39
README.md
Normal file
39
README.md
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# taspromto
|
||||
|
||||
Publish tasmota state into prometheus
|
||||
|
||||
## What
|
||||
|
||||
Taspromto listens to messages published by tasmota devices to MQTT and presents the data in a prometheus compatible format.
|
||||
|
||||
## Usage
|
||||
|
||||
Run the binary with the following environment variables set
|
||||
|
||||
```dotenv
|
||||
PORT=
|
||||
MQTT_HOSTNAME=
|
||||
MQTT_USERNAME= # Optional
|
||||
MQTT_PASSWORD= # Optional
|
||||
```
|
||||
|
||||
## Exposed data
|
||||
|
||||
The following tasmota data is supported
|
||||
|
||||
- ON/OFF state
|
||||
- Current and total power consumption for power meter devices
|
||||
- CO² levels for [MH-Z19 sensors](https://tasmota.github.io/docs/MH-Z19B/)
|
||||
- Power and Gas levels from [supported P1 smart meters](https://tasmota.github.io/docs/Smart-Meter-Interface/)
|
||||
- Particle concentration from PMS5003 sensors
|
||||
|
||||
## Xiaomi MI Temperature and Humidity Sensors
|
||||
|
||||
Tasmota can expose temperature and humidity data from Xiaomi sensors, to expose these sensors you need to configure the names for the sensors.
|
||||
|
||||
This is done by setting the `MITEMP_NAMES` environment variable to comma separated key value pairs of the last 6 digits
|
||||
of the MAC address of the sensors and the desired name.
|
||||
|
||||
```dotenv
|
||||
MITEMP_NAMES="351234=Bedroom,352468=Living Room"
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue