mirror of
https://codeberg.org/icewind/taspromto.git
synced 2026-06-03 08:34:21 +02:00
support rtl433 temp sensors
This commit is contained in:
parent
217298c1c7
commit
347cfe2054
6 changed files with 137 additions and 24 deletions
23
README.md
23
README.md
|
|
@ -1,10 +1,12 @@
|
|||
# taspromto
|
||||
|
||||
Publish tasmota state into prometheus
|
||||
Publish tasmota (and other) state into prometheus
|
||||
|
||||
## What
|
||||
|
||||
Taspromto listens to messages published by tasmota devices to MQTT and presents the data in a prometheus compatible format.
|
||||
Taspromto listens to messages published by tasmota (and other) devices to MQTT and presents the data in a prometheus
|
||||
compatible
|
||||
format.
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
@ -26,14 +28,29 @@ The following tasmota data is supported
|
|||
- 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
|
||||
- 433Mhz temperature sensor readings from [`rtl_433`](https://github.com/merbanan/rtl_433)
|
||||
|
||||
## 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.
|
||||
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"
|
||||
```
|
||||
|
||||
## 433Mhz temperature sensors
|
||||
|
||||
Taspromto can parse data 433Mhz temperature sensors send to MQTT by [`rtl_433`](https://github.com/merbanan/rtl_433).
|
||||
|
||||
rtl_433 needs to be configured to send it's output to the `rtl_433[/model]` topic, then sensors can be configured by
|
||||
setting
|
||||
the `RF_TEMP_NAMES` environment variable to comma seperated key value pairs. Where the key is the sensor model, id and
|
||||
channel.
|
||||
|
||||
```dotenv
|
||||
RF_TEMP_NAMES="Bresser-3CH:73:1=Front Yard,Bresser-3CH:73:2=Attic"
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue