Hauptmenü

FHEM2FHEM notify

Begonnen von Pf@nne, 13 März 2015, 23:05:39

Vorheriges Thema - Nächstes Thema

Pf@nne

Moin,

ich habe beim Raspberry-Remote-FHEM einen GPIO:
define Error_LED RPI_GPIO 5
attr Error_LED direction output
attr Error_LED room Overheat


Den möchte ich jetzt im "Master" abfragen, das läuft auch soweit:
define EXT_Error_LED dummy
attr EXT_Error_LED room Overheat
attr EXT_Error_LED setList on off

define Set_EXT_Error_LED_ON notify Error_LED:on set EXT_Error_LED on
attr Set_EXT_Error_LED_ON room Overheat
define Set_EXT_Error_LED_OFF notify Error_LED:off set EXT_Error_LED off
attr Set_EXT_Error_LED_OFF room Overheat


ABER, warum geht das nicht?
define Set_EXT_Error_LED notify Error_LED set EXT_Error_LED $EVENT
attr Set_EXT_Error_LED room Overheat


Event-LOG:

2015-03-13 23:03:46 dummy EXT_Error_LED $EVENT
2015-03-13 23:03:46 dummy EXT_Error_LED on
2015-03-13 23:03:46 RPI_GPIO Error_LED on

2015-03-13 23:03:47 dummy EXT_Error_LED $EVENT
2015-03-13 23:03:47 dummy EXT_Error_LED off
2015-03-13 23:03:47 RPI_GPIO Error_LED off






FHEM auf: DS415+ (Master), Raspberry Pi 2

Pf@nne

Ist denn die zweite Syntax richtig?

define Set_EXT_Error_LED notify Error_LED set EXT_Error_LED $EVENT
attr Set_EXT_Error_LED room Overheat


bzw. hat den niemand eine Idee, fehlen noch Infos?
FHEM auf: DS415+ (Master), Raspberry Pi 2

Pf@nne

Nach einem UPDATE läuft es....  8)
FHEM auf: DS415+ (Master), Raspberry Pi 2