Hallo, ich verwende das Modul FRM und erhalte beim Starten immer eine Fehlermeldung:
Zitat2016.01.27 16:47:24 3: set Trafo_1 on : pin '' is not configured for mode 'INPUT' or 'OUTPUT' at /opt/fhem/FHEM/lib/Device/Firmata/Platform.pm line 465.
2016.01.27 16:47:24 3: OG_BAD_L_N return value: pin '' is not configured for mode 'INPUT' or 'OUTPUT' at /opt/fhem/FHEM/lib/Device/Firmata/Platform.pm line 465.
Der Entsprechend Codeteil ist:
Zitat# Trafo 1
define Trafo_1 FRM_OUT 51
attr Trafo_1 IODev FIRMATA_OUTPUT
attr Trafo_1 room hidden
attr Trafo_1 stateFormat value
attr Trafo_1 activeLow no
# Trafo 1 Einschaltnotifications
# Licht OG_KZ_L Notify
define OG_KZ_L_N notify OG_KZ_L:.* {\
if (\
(Value("OG_KZ_L") eq "off") \
&& (Value("OG_BAD_L") eq "off")\
&& (Value("OG_GA_L") eq "off")\
) {\
fhem("set Trafo_1 off")\
}\
else {\
fhem("set Trafo_1 on") \
}\
}
Trafo 1 ist aus meiner Sicht als OUTPUT definiert.
Was läuft hier falsch?
Das Notify gibts natürlich für jeden LED Kreis der am Trafo angeschlossen ist.
(wäre auch noch so eine Frage, wie ich das in einem Notify unterbringe)
Entsprechend auch jeweils eine Fehlermeldung.
Danke für Eure Hilfe.
lg
christian