readingsProxy - bei Set kommt immer eine Infobox hoch

Begonnen von bugster_de, 01 März 2017, 11:23:23

Vorheriges Thema - Nächstes Thema

bugster_de

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"}

bugster_de


LuckyDay

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