Hallo,
bekomme einen Syntaxfehler in diesem Einzeiler:
define MD_Notify notify motionDetector_1 { if (Value("ANLAGE_STATUS") eq "on" && Value("ALARM_STATUS") ne "alarm") { FB_mail('xx@@test.de','ALERT','ALERT SN5');;set ALARM_STATUS "alarm";; define resetAlarmStatus at +00:01:00 set ALARM_STATUS "idle"}}
Log sagt: Bareword found where operator expected at (eval 151) line 1, near "00 set"
(Missing operator before set?)
2013.11.21 23:08:59 3: MD_Notify return value: syntax error at (eval 151) line 1, near "00:"
Was mache ich da falsch?
define MD_Notify notify motionDetector_1 { if (Value("ANLAGE_STATUS") eq "on" && Value("ALARM_STATUS") ne "alarm") { FB_mail('xx@@test.de','ALERT','ALERT SN5');;fhem("set ALARM_STATUS alarm; define resetAlarmStatus at +00:01:00 set ALARM_STATUS idle"}}
glaube ich
YOU'RE A STAR!!!