Moin,
ich stehe gerade auf dem Schlauch....
Wie füge ich z.B. einem Raspberry-GPIO-Devicfe ein userReading hinzu?
Kann man z.B. einem GPIO-Device beliebig viele userReadings hinzufügen?
define Error_LED RPI_GPIO 5
attr Error_LED alias Error LED
attr Error_LED devStateIcon on:10px-kreis-rot off:1px-spacer
attr Error_LED direction output
attr Error_LED room Overheat
attr Error_LED userReadings MyReading_01 {ReadingsVal("Error_LED","state","")}
attr Error_LED userReadings MyReading_02 {ReadingsVal("Error_LED","state","")}
Moin Pf@nne,
auch wennes nervt, comandref ist Dein Freund.
ZitatuserReadings
Komma getrennte Liste von benutzerdefinierten Readings.
http://fhem.de/commandref_DE.html
also so:
attr Error_LED userReadings MyReading_01 {ReadingsVal("Error_LED","state","")},MyReading_02 {ReadingsVal("Error_LED","state","")}
Gruß Joachim
:o :o :o
Sorry, ich hatte die Links in der Ref durchgesehen.
Dass da natürlich auch die Attribute allgemein drin stehen habe ich wohl mutwillig überlesen.
Nochmal sorry und danke für den Hinweis. .
Gruß
Pf@nne