Attribut genericDeviceType: Unterschied zwischen den Versionen

Aus FHEMWiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 6: Zeile 6:
! Name !! Readings verpflichtend!! Readings optional !! Settings          !! Settings optional !! Bemerkungen
! Name !! Readings verpflichtend!! Readings optional !! Settings          !! Settings optional !! Bemerkungen
|-
|-
| switch || state=on|off        ||                  || state=on|off      !!                   !!    
| switch || state=on/off        ||                  || state=on/off      ||                   ||    
|-
|-
| outlet || state=on|off        || power            || state=on|off      !!                   !!    
| outlet || state=on/off        || power            || state=on/off      ||                   ||    
|-
|-
| light  || state=on|off        || power            || state=on|off      !!                   !!    
| light  || state=on/off        || power            || state=on/off      ||                   ||    
|-
|-
| dimmer || state=on|off|<Prozent> || power          || state=on|off, pct=<Prozent> !!         !!    
| dimmer || state=on/off/<Prozent> || power          || state=on/off, pct=<Prozent> ||         ||    
|-
|-
| blind  || state=open|closed|<Prozent> ||          || state=on|off, pct=<Prozent> !!          !!    
| blind  || state=open/closed/<Prozent> ||          || state=open/closed, pct=<Prozent> !!          ||    
|-
|-
| thermometer || state=<Grad>    ||                  ||                    !!                   !!    
| thermometer || state=<Grad>    ||                  ||                    ||                   ||    
|-
|-
| thermostat  || state=<Grad>    ||                  || desired-temp=<Grad>!!                   !!  
| thermostat  || state=<Grad>    ||                  || desired-temp=<Grad>||                   ||  
|-
|-
| hygronmeter || state=<Prozent> ||                  ||                    !!                   !!  
| hygronmeter || state=<Prozent> ||                  ||                    ||                   ||  
|}
|}
[[Kategorie:Sprachsteuerung]]
[[Kategorie:Sprachsteuerung]]

Version vom 4. Januar 2022, 09:58 Uhr

genericDeviceType

Dieses Attribut dient dazu, ohne spezielle Angaben einen bestimmten Gerätetyp und damit verpflichtend vorhandene Readings oder Settings auszuwählen und somit Konfigurationsaufwand zu sparen. Das Attribut kann nur wenige verschiedene Werte annehmen, die per Drop-Down-Liste ausgewählt werden können

Name Readings verpflichtend Readings optional Settings Settings optional Bemerkungen
switch state=on/off state=on/off
outlet state=on/off power state=on/off
light state=on/off power state=on/off
dimmer state=on/off/<Prozent> power state=on/off, pct=<Prozent>
blind state=open/closed/<Prozent> state=open/closed, pct=<Prozent> !!
thermometer state=<Grad>
thermostat state=<Grad> desired-temp=<Grad>
hygronmeter state=<Prozent>