Benutzer:Embeh: Unterschied zwischen den Versionen
Embeh (Diskussion | Beiträge) (Created, 1-wire added) |
Embeh (Diskussion | Beiträge) (→Plots:) |
||
(10 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
== | == How to use FHEM == | ||
=== Plots: === | |||
{| | |||
|+Colours | |||
! | |||
!R | |||
!G | |||
!B | |||
! rowspan="10" |[[Datei:FHEM Plot Colours I0 - I8.png|mini]] | |||
|- | |||
|I0 | |||
|255 | |||
|50 | |||
|56 | |||
|- | |||
|I1 | |||
|0 | |||
|128 | |||
|0 | |||
|- | |||
|I2 | |||
|0 | |||
|0 | |||
|255 | |||
|- | |||
|I3 | |||
|255 | |||
|0 | |||
|255 | |||
|- | |||
|I4 | |||
|170 | |||
|54 | |||
|54 | |||
|- | |||
|I5 | |||
|0 | |||
|0 | |||
|0 | |||
|- | |||
|I6 | |||
|128 | |||
|128 | |||
|0 | |||
|- | |||
|I7 | |||
|128 | |||
|128 | |||
|128 | |||
|- | |||
|I8 | |||
|255 | |||
|255 | |||
|0 | |||
|} | |||
0 grün gelb rot | |||
1 blau türkis grün | |||
2 rot pink blau | |||
3 gelb rot pink | |||
4 grün gelb rot | |||
5 weiss grau schwarz | |||
6 grün blau | |||
7 weiss grau | |||
8 türkis hellgrün gelb | |||
=== Integrating: === | |||
How to get an integral in units of `s*u` over the last 24 hours of a reading, orginally in unit `u`. | |||
event-aggregator /system/sensors/temperatures/switch::const:integral:86400 | |||
Here, we get a reading of, e.g, 3759916, which is 86400 multiplied with 43°C on average. | |||
== My Devices == | |||
=== 1-wire Temperatursensoren === | === 1-wire Temperatursensoren === | ||
Command: defmod | Command:<syntaxhighlight lang="perl"> | ||
defmod DOMAIN.FAMILY.member_differentiator RPI_1Wire xy-abcdefghijkl | |||
</syntaxhighlight> | |||
{| class="wikitable" | |||
|+Attributes | |||
|decimals | |||
|1 | |||
|- | |||
|event-on-change-reading | |||
|temperature | |||
|- | |||
|icon | |||
|XXXXXXX | |||
|- | |||
|room | |||
|Heatingroom | |||
|- | |||
|stateFormat | |||
|temperature °C | |||
|} | |||
RL = Rücklauf = return line | |||
VL = Vorlauf = supply line | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
! | Devices | ||
!DOMAIN.FAMILY.member_differentiator | |||
!Location | |||
!ID | |||
|- | |||
|HEAT.TEMP.heating_VL | |||
|Heatingroom | |||
|28-00000d3bc212 | |||
|- | |||
|HEAT.TEMP.heating_RL | |||
|Heatingroom | |||
|28-00000d3eea84 | |||
|- | |||
|HEAT.TEMP.heater_VL | |||
|Heatingroom | |||
|28-3c01d075e70c | |||
|- | |||
|HEAT.TEMP.heater_RL | |||
|Heatingroom | |||
|28-3c01d6070f99 | |||
|- | |||
|HEAT.TEMP.solar_VL | |||
|Heatingroom | |||
|28-3c01d607ec9b | |||
|- | |||
|HEAT.TEMP.solar_RL | |||
|Heatingroom | |||
|28-3c01d0751f91 | |||
|- | |- | ||
| | |HEAT.TEMP.support_VL | ||
|Heatingroom | |||
| | |28-3c01d075dff2 | ||
| | |||
|- | |- | ||
| | |HEAT.TEMP.support_RL | ||
|Heatingroom | |||
| | |28-3c01d0755014 | ||
| | |||
|- | |- | ||
| | |HEAT.TEMP.water_cold | ||
|Heatingroom | |||
| | |28-3c01d075cc24 | ||
| | |||
|- | |- | ||
| | |HEAT.TEMP.water_warm | ||
|Heatingroom | |||
| | |28-3c01d075be7a | ||
| | |||
|- | |- | ||
| | |HEAT.TEMP.water_circ | ||
|Heatingroom | |||
| | |28-3c01d60738e0 | ||
| | |||
|} | |} | ||
Bei event_on_change_reading kann mann nach dem reading noch per Doppelpunkt einen threshold (= Minimaländerung festlegen). temperature:0.2 macht erst ab einer Temperaturänderung von 0.2°C = 0.2K einen neuen Eintrag. Sollte man ein ganz bisschen größer als die minimale Auflösung eines Gerätes setzen. Wenn der Temperatursensor nur auf 0.1°C = 0.1K auflöst, springt es immer hin und her. Mit dem threshhold wird dieses Gewackel nicht mehr mitgeschrieben. |
Aktuelle Version vom 29. März 2023, 23:28 Uhr
How to use FHEM
Plots:
R | G | B | ||
---|---|---|---|---|
I0 | 255 | 50 | 56 | |
I1 | 0 | 128 | 0 | |
I2 | 0 | 0 | 255 | |
I3 | 255 | 0 | 255 | |
I4 | 170 | 54 | 54 | |
I5 | 0 | 0 | 0 | |
I6 | 128 | 128 | 0 | |
I7 | 128 | 128 | 128 | |
I8 | 255 | 255 | 0 |
0 grün gelb rot
1 blau türkis grün
2 rot pink blau
3 gelb rot pink
4 grün gelb rot
5 weiss grau schwarz
6 grün blau
7 weiss grau
8 türkis hellgrün gelb
Integrating:
How to get an integral in units of `s*u` over the last 24 hours of a reading, orginally in unit `u`.
event-aggregator /system/sensors/temperatures/switch::const:integral:86400
Here, we get a reading of, e.g, 3759916, which is 86400 multiplied with 43°C on average.
My Devices
1-wire Temperatursensoren
Command:
defmod DOMAIN.FAMILY.member_differentiator RPI_1Wire xy-abcdefghijkl
decimals | 1 |
event-on-change-reading | temperature |
icon | XXXXXXX |
room | Heatingroom |
stateFormat | temperature °C |
RL = Rücklauf = return line
VL = Vorlauf = supply line
DOMAIN.FAMILY.member_differentiator | Location | ID |
---|---|---|
HEAT.TEMP.heating_VL | Heatingroom | 28-00000d3bc212 |
HEAT.TEMP.heating_RL | Heatingroom | 28-00000d3eea84 |
HEAT.TEMP.heater_VL | Heatingroom | 28-3c01d075e70c |
HEAT.TEMP.heater_RL | Heatingroom | 28-3c01d6070f99 |
HEAT.TEMP.solar_VL | Heatingroom | 28-3c01d607ec9b |
HEAT.TEMP.solar_RL | Heatingroom | 28-3c01d0751f91 |
HEAT.TEMP.support_VL | Heatingroom | 28-3c01d075dff2 |
HEAT.TEMP.support_RL | Heatingroom | 28-3c01d0755014 |
HEAT.TEMP.water_cold | Heatingroom | 28-3c01d075cc24 |
HEAT.TEMP.water_warm | Heatingroom | 28-3c01d075be7a |
HEAT.TEMP.water_circ | Heatingroom | 28-3c01d60738e0 |
Bei event_on_change_reading kann mann nach dem reading noch per Doppelpunkt einen threshold (= Minimaländerung festlegen). temperature:0.2 macht erst ab einer Temperaturänderung von 0.2°C = 0.2K einen neuen Eintrag. Sollte man ein ganz bisschen größer als die minimale Auflösung eines Gerätes setzen. Wenn der Temperatursensor nur auf 0.1°C = 0.1K auflöst, springt es immer hin und her. Mit dem threshhold wird dieses Gewackel nicht mehr mitgeschrieben.