Doku: Telegraf README um power-Schema und klima.conf Deploy ergänzen
This commit is contained in:
parent
d9dd087602
commit
721d64e290
1 changed files with 4 additions and 2 deletions
|
|
@ -21,8 +21,8 @@ Zwei InfluxDB-Datenbanken:
|
||||||
Beide Configs definieren je einen `outputs.influxdb`. Telegraf schickt jede Metrik
|
Beide Configs definieren je einen `outputs.influxdb`. Telegraf schickt jede Metrik
|
||||||
an *alle* Outputs, daher wird per name-Filter getrennt:
|
an *alle* Outputs, daher wird per name-Filter getrennt:
|
||||||
|
|
||||||
- `satellites.conf` -> DB `sensors`, **namepass** = `temperature`, `io_state`
|
- `satellites.conf` -> DB `sensors`, **namepass** = `temperature`, `io_state`, `power`
|
||||||
- `openwb.conf` -> DB `iobroker`, **namedrop** = `temperature`, `io_state`
|
- `openwb.conf` -> DB `iobroker`, **namedrop** = `temperature`, `io_state`, `power`
|
||||||
|
|
||||||
So schreibt der Satelliten-/Heizraum-Ingest ausschliesslich nach `sensors`,
|
So schreibt der Satelliten-/Heizraum-Ingest ausschliesslich nach `sensors`,
|
||||||
und openWB/PV ausschliesslich nach `iobroker` - keine Dopplung.
|
und openWB/PV ausschliesslich nach `iobroker` - keine Dopplung.
|
||||||
|
|
@ -33,6 +33,7 @@ und openWB/PV ausschliesslich nach `iobroker` - keine Dopplung.
|
||||||
|---------------|-------------------------------|-------------|--------|
|
|---------------|-------------------------------|-------------|--------|
|
||||||
| `temperature` | `node` (Raum/heizraum), heizraum zus. `sensor`=ROM | float Grad C | `<raum>/temp`, `heizraum/<ROM>` |
|
| `temperature` | `node` (Raum/heizraum), heizraum zus. `sensor`=ROM | float Grad C | `<raum>/temp`, `heizraum/<ROM>` |
|
||||||
| `io_state` | `node`=heizraum, `signal` (pumpe1-4/brenner/kessel) | int 0/1 | `heizraum/io/+`, `heizraum/state/kessel` |
|
| `io_state` | `node`=heizraum, `signal` (pumpe1-4/brenner/kessel) | int 0/1 | `heizraum/io/+`, `heizraum/state/kessel` |
|
||||||
|
| `power` | `node` (klima_flur_oben/unten), `geraet` | float W/Wh | Shelly `*/status/pm1:0` |
|
||||||
|
|
||||||
Globaler Tag `host=Raspi-Broker` (Telegraf-Default).
|
Globaler Tag `host=Raspi-Broker` (Telegraf-Default).
|
||||||
|
|
||||||
|
|
@ -42,6 +43,7 @@ Globaler Tag `host=Raspi-Broker` (Telegraf-Default).
|
||||||
# auf CT143 (pve-mu-3):
|
# auf CT143 (pve-mu-3):
|
||||||
pct push 143 satellites.conf /etc/telegraf/telegraf.d/satellites.conf
|
pct push 143 satellites.conf /etc/telegraf/telegraf.d/satellites.conf
|
||||||
pct push 143 openwb.conf /etc/telegraf/telegraf.d/openwb.conf
|
pct push 143 openwb.conf /etc/telegraf/telegraf.d/openwb.conf
|
||||||
|
pct push 143 klima.conf /etc/telegraf/telegraf.d/klima.conf
|
||||||
pct exec 143 -- systemctl restart telegraf
|
pct exec 143 -- systemctl restart telegraf
|
||||||
# Verifikation:
|
# Verifikation:
|
||||||
pct exec 143 -- influx -database sensors -execute 'SHOW MEASUREMENTS'
|
pct exec 143 -- influx -database sensors -execute 'SHOW MEASUREMENTS'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue