ReadingsGroup
Hier soll eine Sammlung von Beispielen zur Verwendung der readingsGroup und den zugehörigen screenshots entstehen.
Beispiele
define batteries readingsGroup .*:battery
define temperatures readingsGroup s300th.*:temperature define temperatures readingsGroup TYPE=CUL_WS.*:temperature
define culRSSI readingsGroup cul_RSSI=.*:+cul_RSSI
define heizung readingsGroup t1:temperature t2:temperature t3:temperature
attr heizung notime 1
attr heizung mapping {'t1.temperature' => 'Vorlauf', 't2.temperature' => 'Rücklauf', 't3.temperature' => 'Zirkulation'}
attr heizung style style="font-size:20px"
define systemStatus readingsGroup sysstat
attr systemStatus notime 1
attr systemStatus nostate 1
attr systemStatus mapping {'load' => 'Systemauslastung', 'temperature' => 'Systemtemperatur in °C'}
define Verbrauch readingsGroup TYPE=PCA301:state,power,consumption
attr Verbrauch mapping %ALIAS
attr Verbrauch nameStyle style="font-weight:bold"
attr Verbrauch style style="font-size:20px"
attr Verbrauch valueFormat {power => "%.1f W", consumption => "%.2f kWh"}
attr Verbrauch valueIcon { state => '%devStateIcon' }
attr Verbrauch valueStyle {($READING eq "power" && $VALUE > 150)?'style="color:red"':'style="color:green"'}