FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: bugster_de am 01 März 2017, 11:23:23

Titel: readingsProxy - bei Set kommt immer eine Infobox hoch
Beitrag von: bugster_de am 01 März 2017, 11:23:23
Hi,

ich habe mir einen readingsProxy definiert. Dieser setzt die Kommandos on und off an sein Masterdevice ab. Das geht auch. Nur jedesmal wenn ich dann on oder off klicke kommt im Webfrontend eine kleine Infobox hoch, die mir nochmal den gesetzten Wert anzeigt. Wie kriege ich die weg?

define rp_PoolPumpe readingsProxy Pool_Control:Pumpe
attr rp_PoolPumpe alias Pumpe
attr rp_PoolPumpe devStateIcon on:general_an@green off:general_aus@red
attr rp_PoolPumpe room Pool
attr rp_PoolPumpe setFn {($CMD eq "on")?"Pumpe on":"Pumpe off"}
attr rp_PoolPumpe setList on off
attr rp_PoolPumpe stateFormat { if( ReadingsVal( "Pool_Control", "Pumpe", "0" ) eq "1" ) { return( "on");;;; } else { return( "off" );;;;}}
attr rp_PoolPumpe userReadings status { if( index( ReadingsVal( "rp_PoolPumpe", "state", "undef"), "1") != -1 ) { return( "on");;;; } else { return( "off");;;;}}
attr rp_PoolPumpe valueFn {($VALUE == 0)?"off":"on"}
Titel: Antw:readingsProxy - bei Set kommt immer eine Infobox hoch
Beitrag von: bugster_de am 09 März 2017, 09:05:17
keiner eine Idee?
Titel: Antw:readingsProxy - bei Set kommt immer eine Infobox hoch
Beitrag von: LuckyDay am 09 März 2017, 13:38:59
Naja was heißt keine Idee?

attr A_L_Schalter setList state:on,off
attr A_L_Schalter webCmd on:off


bei mir kommt kein Popup