GELÖST: Geräte zur gleichen Zeit schalten

Begonnen von m311331, 20 August 2014, 11:56:51

Vorheriges Thema - Nächstes Thema

Mitch

Das mit der CFG ist nicht "schlimm", baer meist macht man dadurch mehr kaputt. Musste ich auch am Anfang lernene.
Und, ja das Forum ist zum helfen da (mir wurde und wird hier auch sehr gut und schnell geholen), aber die meisten Dinge sind hier schon irgendow zu finden.

Zu Deinem Problem, poste mal bitte Deine CFG.
Normalerweise müsste das mit dem alaramOn funktionieren, mach ich auch so und sagt ja auch die Fehlermeldung.
Irgendwo muss noch ein anderes Problem sein.
FHEM im Proxmox Container

m311331

#16
Hi

@Mitch

Danke für deine Antwort

um es vorweg zu nehmen ich arbeite in der config.
daher schaut es nicht so schön aus, ich probiere halt was funktioniert und was nicht
momentan geht alles so wie es soll nur der code  :o 


attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global statefile ./log/fhem.save
attr global updateInBackground 1
attr global userattr devStateIcon devStateStyle fp_Grundriss icon sortby webCmd widgetOverride
attr global verbose 3

#define telnetPort telnet 7072 global
#attr telnetPort password 1

define WEB FHEMWEB 8083 global
attr WEB basicAuth xxxxxxxxxxxxxxxxxxxxxx==
attr WEB stylesheetPrefix dark

define WEBphone FHEMWEB 8084 global
attr WEBphone basicAuth xxxxxxxxxxxxxxxxxxxx==
attr WEBphone stylesheetPrefix smallscreen

#define WEBtablet FHEMWEB 8085 global
#attr WEBtablet basicAuthxxxxxxxxxxxxxxxxxxxxxxxx==
#attr WEBtablet stylesheetPrefix touchpad

#Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate filelog ./log/%NAME-%Y.log

define eventTypes eventTypes ./log/eventTypes.txt

# Disable this to avoid looking for new USB devices on startup
#define initialUsbCheck notify global:INITIALIZED usb create

define Grundriss FLOORPLAN
attr Grundriss fp_arrange 1

define HMLAN1 HMLAN 192.168.0.92:1000
attr HMLAN1 hmId 26E9F1
attr HMLAN1 hmKey 01:xxxxxxxxxxxxxxxxxxxxxxxx
attr HMLAN1 hmLanQlen 1_min
attr HMLAN1 wdTimer 25

define WetterOnline weblink iframe http://www.wetteronline.de/cgi-bin/hpweather?PLZ=XXXXXX

define BWM.Sensor1 CUL_HM 20A941
attr BWM.Sensor1 .devInfo 110100
attr BWM.Sensor1 .stc 81
attr BWM.Sensor1 IODev HMLAN1
attr BWM.Sensor1 actCycle 000:10
attr BWM.Sensor1 actStatus alive
attr BWM.Sensor1 autoReadReg 4_reqStatus
attr BWM.Sensor1 expert 2_full
attr BWM.Sensor1 firmware 1.6
attr BWM.Sensor1 fp_Grundriss 100,300,1,
attr BWM.Sensor1 model HM-Sen-MDIR-O
attr BWM.Sensor1 peerIDs
attr BWM.Sensor1 room CUL_HM
attr BWM.Sensor1 serialNr KEQ0194749
attr BWM.Sensor1 subType motionDetector
define FileLog_BWM.Sensor1 FileLog ./log/BWM.Sensor1-%Y.log BWM.Sensor1
attr FileLog_BWM.Sensor1 logtype text
attr FileLog_BWM.Sensor1 room CUL_HM

define ActionDetector CUL_HM 000000
attr ActionDetector actCycle 600
attr ActionDetector event-on-change-reading .*
attr ActionDetector fp_Grundriss 50,100
attr ActionDetector model ActionDetector
attr ActionDetector room CUL_HM
define FileLog_ActionDetector FileLog ./log/ActionDetector-%Y.log ActionDetector
attr FileLog_ActionDetector logtype text
attr FileLog_ActionDetector room CUL_HM

############# Alarmanlage ###### test ############

define anlage_status dummy
attr anlage_status room Alarm

define alarm_status dummy
attr alarm_status room Alarm

define benachrichtigung_status dummy
attr benachrichtigung_status room Alarm

define Scharfschalten notify FB.Alarm._armExt:Short.* {\
fhem "set anlage_status scharf";;\
}

define Unscharfschalten notify FB.Alarm._armInt:Short.* {\
fhem "set anlage_status unscharf";;\
fhem "set alarm_status kein alarm";;\
fhem "set benachrichtigung_status keine benachrichtigung";;\
}

define Alarmroutine notify BWM.Sensor.:.*on.* \
{if (Value("anlage_status") eq "scharf"){fhem "set alarm_status alarm"} \
}

define Alarmroutine2 notify TF.Sensor.:open \
{if (Value("anlage_status") eq "scharf"){fhem "set alarm_status alarm"} \
}

define Alarmfall notify alarm_status:alarm \
{if (Value("anlage_status") eq "scharf"){fhem "set benachrichtigung_status benachrichtigt"} \
}

define Sirene notify alarm_status:alarm \
{if (Value("anlage_status") eq "scharf"){fhem "set RM.Teammelder alarmOn" } \
}

define Sirene2 notify alarm_status:alarm \
{if (Value("anlage_status") eq "scharf"){fhem "set Piezosirene on-for-timer 10" } \
}

define Alarm_aus notify FB.Alarm._disarm:Short.* \
{if (Value("alarm_status") eq "alarm"){fhem "set RM.Teammelder alarmOff"} \
}

define Rauchmelder1 CUL_HM 260C57
attr Rauchmelder1 IODev HMLAN1
attr Rauchmelder1 actCycle 099:00
attr Rauchmelder1 actStatus alive
attr Rauchmelder1 autoReadReg 4_reqStatus
attr Rauchmelder1 expert 2_full
attr Rauchmelder1 firmware 1.1
attr Rauchmelder1 model HM-SEC-SD
attr Rauchmelder1 msgRepeat 1
attr Rauchmelder1 peerIDs 00000000,11111101,
attr Rauchmelder1 room CUL_HM
attr Rauchmelder1 serialNr LEQ0021714
attr Rauchmelder1 subType smokeDetector
attr Rauchmelder1 webCmd statusRequest
define FileLog_Rauchmelder1 FileLog ./log/Rauchmelder1-%Y.log Rauchmelder1
attr FileLog_Rauchmelder1 logtype text
attr FileLog_Rauchmelder1 room CUL_HM

define Rauchmelder2 CUL_HM 260C87
attr Rauchmelder2 IODev HMLAN1
attr Rauchmelder2 actCycle 099:00
attr Rauchmelder2 actStatus alive
attr Rauchmelder2 autoReadReg 4_reqStatus
attr Rauchmelder2 expert 2_full
attr Rauchmelder2 firmware 1.1
attr Rauchmelder2 model HM-SEC-SD
attr Rauchmelder2 msgRepeat 1
attr Rauchmelder2 peerIDs 00000000,11111101,
attr Rauchmelder2 room CUL_HM
attr Rauchmelder2 serialNr LEQ0021666
attr Rauchmelder2 subType smokeDetector
attr Rauchmelder2 webCmd statusRequest
define FileLog_Rauchmelder2 FileLog ./log/Rauchmelder2-%Y.log Rauchmelder2
attr FileLog_Rauchmelder2 logtype text
attr FileLog_Rauchmelder2 room CUL_HM

define TeamVirtuell CUL_HM 111111
attr TeamVirtuell IODev HMLAN1
attr TeamVirtuell autoReadReg 4_reqStatus
attr TeamVirtuell expert 2_full
attr TeamVirtuell model virtual_1
attr TeamVirtuell subType virtual
attr TeamVirtuell webCmd virtual

define RM.Teammelder CUL_HM 11111101
attr RM.Teammelder model virtual_1
attr RM.Teammelder peerIDs 260C5701,260C8701,
attr RM.Teammelder webCmd press short:press long

define BWM.Sensor3 CUL_HM 20A916
attr BWM.Sensor3 IODev HMLAN1
attr BWM.Sensor3 actCycle 000:10
attr BWM.Sensor3 actStatus alive
attr BWM.Sensor3 autoReadReg 4_reqStatus
attr BWM.Sensor3 expert 2_full
attr BWM.Sensor3 firmware 1.6
attr BWM.Sensor3 model HM-Sen-MDIR-O
attr BWM.Sensor3 peerIDs 00000000,
attr BWM.Sensor3 room CUL_HM
attr BWM.Sensor3 serialNr KEQ0194738
attr BWM.Sensor3 subType motionDetector
define FileLog_BWM.Sensor3 FileLog ./log/BWM.Sensor3-%Y.log BWM.Sensor3
attr FileLog_BWM.Sensor3 logtype text
attr FileLog_BWM.Sensor3 room CUL_HM

define BWM.Sensor2 CUL_HM 1EC1A1
attr BWM.Sensor2 IODev HMLAN1
attr BWM.Sensor2 actCycle 000:10
attr BWM.Sensor2 actStatus alive
attr BWM.Sensor2 autoReadReg 4_reqStatus
attr BWM.Sensor2 expert 2_full
attr BWM.Sensor2 firmware 1.5
attr BWM.Sensor2 model HM-Sen-MDIR-O
attr BWM.Sensor2 room CUL_HM
attr BWM.Sensor2 serialNr JEQ0702876
attr BWM.Sensor2 subType motionDetector
define FileLog_BWM.Sensor2 FileLog ./log/BWM.Sensor2-%Y.log BWM.Sensor2
attr FileLog_BWM.Sensor2 logtype text
attr FileLog_BWM.Sensor2 room CUL_HM

define FB.Alarm1 CUL_HM 26803B
attr FB.Alarm1 IODev HMLAN1
attr FB.Alarm1 autoReadReg 4_reqStatus
attr FB.Alarm1 expert 2_full
attr FB.Alarm1 firmware 1.2
attr FB.Alarm1 model HM-RC-Sec4-2
attr FB.Alarm1 room CUL_HM
attr FB.Alarm1 serialNr LEQ0136289
attr FB.Alarm1 subType remote
attr FB.Alarm1 webCmd getConfig:clear msgEvents
define FileLog_FB.Alarm1 FileLog ./log/FB.Alarm1-%Y.log FB.Alarm1
attr FileLog_FB.Alarm1 logtype text
attr FileLog_FB.Alarm1 room CUL_HM

define FB.Alarm1_armInt CUL_HM 26803B01
attr FB.Alarm1_armInt model HM-RC-Sec4-2
attr FB.Alarm1_armInt peerIDs 00000000,

define FB.Alarm1_armExt CUL_HM 26803B02
attr FB.Alarm1_armExt model HM-RC-Sec4-2
attr FB.Alarm1_armExt peerIDs 00000000,

define FB.Alarm1_light CUL_HM 26803B03
attr FB.Alarm1_light model HM-RC-Sec4-2
attr FB.Alarm1_light peerIDs 00000000,

define FB.Alarm1_disarm CUL_HM 26803B04
attr FB.Alarm1_disarm model HM-RC-Sec4-2
attr FB.Alarm1_disarm peerIDs 00000000,

define FB.Alarm2 CUL_HM 268161
attr FB.Alarm2 IODev HMLAN1
attr FB.Alarm2 autoReadReg 4_reqStatus
attr FB.Alarm2 expert 2_full
attr FB.Alarm2 firmware 1.2
attr FB.Alarm2 model HM-RC-Sec4-2
attr FB.Alarm2 room CUL_HM
attr FB.Alarm2 serialNr LEQ0136206
attr FB.Alarm2 subType remote
attr FB.Alarm2 webCmd getConfig:clear msgEvents
define FileLog_FB.Alarm2 FileLog ./log/FB.Alarm2-%Y.log FB.Alarm2
attr FileLog_FB.Alarm2 logtype text
attr FileLog_FB.Alarm2 room CUL_HM

define FB.Alarm2_armInt CUL_HM 26816101
attr FB.Alarm2_armInt model HM-RC-Sec4-2
attr FB.Alarm2_armInt peerIDs 00000000,

define FB.Alarm2_armExt CUL_HM 26816102
attr FB.Alarm2_armExt model HM-RC-Sec4-2
attr FB.Alarm2_armExt peerIDs 00000000,
define FB.Alarm2_light CUL_HM 26816103
attr FB.Alarm2_light model HM-RC-Sec4-2
attr FB.Alarm2_light peerIDs 00000000,
define FB.Alarm2_disarm CUL_HM 26816104
attr FB.Alarm2_disarm model HM-RC-Sec4-2
attr FB.Alarm2_disarm peerIDs 00000000,

define Piezosirene CUL_HM 2755DC
attr Piezosirene IODev HMLAN1
attr Piezosirene autoReadReg 4_reqStatus
attr Piezosirene expert 2_full
attr Piezosirene firmware 1.6
attr Piezosirene model HM-LC-SW1-BA-PCB
attr Piezosirene msgRepeat 1
attr Piezosirene peerIDs 00000000,
attr Piezosirene room CUL_HM
attr Piezosirene serialNr LEQ0186698
attr Piezosirene subType switch
attr Piezosirene webCmd statusRequest:toggle:on:off
define FileLog_Piezosirene FileLog ./log/Piezosirene-%Y.log Piezosirene
attr FileLog_Piezosirene logtype text
attr FileLog_Piezosirene room CUL_HM

define TF.Sensor1 CUL_HM 26B2CA
attr TF.Sensor1 IODev HMLAN1
attr TF.Sensor1 actCycle 028:00
attr TF.Sensor1 actStatus alive
attr TF.Sensor1 autoReadReg 4_reqStatus
attr TF.Sensor1 expert 2_full
attr TF.Sensor1 firmware 2.4
attr TF.Sensor1 model HM-SEC-SC-2
attr TF.Sensor1 peerIDs 00000000,
attr TF.Sensor1 room CUL_HM
attr TF.Sensor1 serialNr LEQ0138844
attr TF.Sensor1 subType threeStateSensor
define FileLog_TF.Sensor1 FileLog ./log/TF.Sensor1-%Y.log TF.Sensor1
attr FileLog_TF.Sensor1 logtype text
attr FileLog_TF.Sensor1 room CUL_HM


schonmal danke fürs anschauen

-edit-
ich verstehe es leider noch nicht warum es nicht geht
sobald ich mehre Geräte in einer notify ansprechen möchte. 

Mitch

sieht soweit ganz gut aus (hab es nur überflogen).

Was passiert denn bei einem set RM.Teammelder alarmOn?


Wenn Du in der CFG editierst, sollte es so aussehen:
define Sirene notify alarm_status:alarm {\
  if (ReadingsVal("anlage_status") eq "scharf") {\
    fhem("set Piezosirene on ;;set RM.Teammelder alarmOn");;\
    }\
}


Das muss definitiv gehen, geht bei mir astrein (gerade nachgebaut)
FHEM im Proxmox Container

m311331

Hi Mitch,

erstmal Danke das du versuchst mir zu helfen

ZitatWas passiert denn bei einem
Code: [Auswählen]

set RM.Teammelder alarmOn

?

die Rauchmelder gehen an.

ZitatDas muss definitiv gehen, geht bei mir astrein (gerade nachgebaut)

habs gerade eingebaut und versucht  :'(
das gibts doch nicht
hier damit du es sehen kannst


# Alarmanlage

define anlage_status dummy
attr anlage_status room Alarm

define alarm_status dummy
attr alarm_status room Alarm

define benachrichtigung_status dummy
attr benachrichtigung_status room Alarm

define Scharfschalten notify FB.Alarm._armExt:Short.* {\
fhem "set anlage_status scharf";;\
}

define Unscharfschalten notify FB.Alarm._armInt:Short.* {\
fhem "set anlage_status unscharf";;\
fhem "set alarm_status kein alarm";;\
fhem "set benachrichtigung_status keine benachrichtigung";;\
}

define Alarmroutine notify BWM.Sensor.:.*on.* \
{if (Value("anlage_status") eq "scharf"){fhem "set alarm_status alarm"} \
}

define Alarmroutine2 notify TF.Sensor.:open \
{if (Value("anlage_status") eq "scharf"){fhem "set alarm_status alarm"} \
}

define Alarmfall notify alarm_status:alarm \
{if (Value("anlage_status") eq "scharf"){fhem "set benachrichtigung_status benachrichtigt"} \
}

#define Sirene notify alarm_status:alarm \
#{if (Value("anlage_status") eq "scharf"){fhem "set RM.Teammelder alarmOn" } \
#}

#define Sirene2 notify alarm_status:alarm \
#{if (Value("anlage_status") eq "scharf"){fhem "set Piezosirene on-for-timer 10" } \
}

define Sirene notify alarm_status:alarm {\
  if (ReadingsVal("anlage_status") eq "scharf") {\
    fhem("set Piezosirene on ;;set RM.Teammelder alarmOn");;\
    }\
}


define Alarm_aus notify FB.Alarm._disarm:Short.* \
{if (Value("alarm_status") eq "alarm"){fhem "set RM.Teammelder alarmOff"} \
}


hier die Events bei Bewegung:

2014-08-22 12:45:42 dummy benachrichtigung_status benachrichtigt
2014-08-22 12:45:42 dummy alarm_status alarm
2014-08-22 12:45:42 dummy benachrichtigung_status benachrichtigt
2014-08-22 12:45:42 dummy alarm_status alarm
2014-08-22 12:45:42 dummy benachrichtigung_status benachrichtigt
2014-08-22 12:45:42 dummy alarm_status alarm
2014-08-22 12:45:42 CUL_HM BWM.Sensor2 motion
2014-08-22 12:45:42 CUL_HM BWM.Sensor2 motion: on (to broadcast)
2014-08-22 12:45:42 CUL_HM BWM.Sensor2 motionCount: 200_next:14s
2014-08-22 12:45:42 CUL_HM BWM.Sensor2 brightness: 167
2014-08-22 12:46:09 CUL_HM BWM.Sensor1 brightness: 7
2014-08-22 12:46:09 CUL_HM BWM.Sensor1 cover: closed
2014-08-22 12:46:09 CUL_HM BWM.Sensor1 battery: ok

und hier der Log

2014.08.22 12:45:21 1: Including fhem.cfg
2014.08.22 12:45:21 3: WEB: port 8083 opened
2014.08.22 12:45:21 3: WEBphone: port 8084 opened
2014.08.22 12:45:21 2: eventTypes: loaded 700 events from ./log/eventTypes.txt
2014.08.22 12:45:21 1: HMLAN_Parse: HMLAN1 new condition disconnected
2014.08.22 12:45:21 3: Opening HMLAN1 device 192.168.0.92:1000
2014.08.22 12:45:21 3: HMLAN1 device opened
2014.08.22 12:45:21 1: HMLAN_Parse: HMLAN1 new condition init
2014.08.22 12:45:22 1: Including ./log/fhem.save
2014.08.22 12:45:22 1: HMLAN_Parse: HMLAN1 new condition ok
2014.08.22 12:45:27 3: Device BWM.Sensor1 added to ActionDetector with 000:10 time
2014.08.22 12:45:27 3: Device BWM.Sensor2 added to ActionDetector with 000:10 time
2014.08.22 12:45:27 3: Device BWM.Sensor3 added to ActionDetector with 000:10 time
2014.08.22 12:45:27 3: Device Rauchmelder1 added to ActionDetector with 099:00 time
2014.08.22 12:45:27 3: Device Rauchmelder2 added to ActionDetector with 099:00 time
2014.08.22 12:45:27 3: Device TF.Sensor1 added to ActionDetector with 028:00 time
2014.08.22 12:45:28 3: CUL_HM set Piezosirene statusRequest
2014.08.22 12:45:29 3: CUL_HM set Rauchmelder1 statusRequest
2014.08.22 12:45:30 3: CUL_HM set Rauchmelder2 statusRequest
2014.08.22 12:45:42 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 185) line 2, near ""anlage_status") "

2014.08.22 12:45:42 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 188) line 2, near ""anlage_status") "

2014.08.22 12:45:42 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 191) line 2, near ""anlage_status") "

darum geht es wohl nicht
ich schnalle es noch nicht auf die schnelle  ???

ph1959de

Die Syntax von ReadingsVal(<devicename>,<reading>,<defaultvalue>) laut commandref. Wenn ich das richtig sehe, spezifizierst Du nur das <reading>.
Aktives Mitglied des FHEM e.V. | Moderator im Forenbereich "Wiki"

m311331

#20
Hi

ich schnall 's nich):

-edit-
das heisst es muss ein default-wert noch dazu ? :-\

Mitch

#21
erstens, da fehlt ein Leerzeichen und ich hatte was vergessen (es muss noch Status rein, sorry):
define Sirene notify alarm_status:alarm {\
  if (ReadingsVal("anlage_status", "status", "") eq "scharf") {\
    fhem("set Piezosirene on ;; set RM.Teammelder alarmOn");;\
    }\
}


Wenn Du jetzt ein set anlage_status scharf und dann ein set alarm_status alarm machts, was passiert und was steht im Log?
FHEM im Proxmox Container

m311331

Hi Mitch,

# Alarmanlage

define anlage_status dummy
attr anlage_status room Alarm

define alarm_status dummy
attr alarm_status room Alarm

define benachrichtigung_status dummy
attr benachrichtigung_status room Alarm

define Scharfschalten notify FB.Alarm._armExt:Short.* {\
fhem "set anlage_status scharf";;\
}

define Unscharfschalten notify FB.Alarm._armInt:Short.* {\
fhem "set anlage_status unscharf";;\
fhem "set alarm_status kein alarm";;\
fhem "set benachrichtigung_status keine benachrichtigung";;\
}

define Alarmroutine notify BWM.Sensor.:.*on.* \
{if (Value("anlage_status") eq "scharf"){fhem "set alarm_status alarm"} \
}

define Alarmroutine2 notify TF.Sensor.:open \
{if (Value("anlage_status") eq "scharf"){fhem "set alarm_status alarm"} \
}

define Alarmfall notify alarm_status:alarm \
{if (Value("anlage_status") eq "scharf"){fhem "set benachrichtigung_status benachrichtigt"} \
}



define Sirene notify alarm_status:alarm {\
  if (ReadingsVal("anlage_status", "status", "") eq "scharf") {\
    fhem("set Piezosirene on ;; set RM.Teammelder alarmOn");;\
    }\
}


define Alarm_aus notify FB.Alarm._disarm:Short.* \
{if (Value("alarm_status") eq "alarm"){fhem "set RM.Teammelder alarmOff"} \
}


:'( :'( :'( :'( :'(

nichts geht

der Log
2014.08.22 12:45:21 1: Including fhem.cfg
2014.08.22 12:45:21 3: WEB: port 8083 opened
2014.08.22 12:45:21 3: WEBphone: port 8084 opened
2014.08.22 12:45:21 2: eventTypes: loaded 700 events from ./log/eventTypes.txt
2014.08.22 12:45:21 1: HMLAN_Parse: HMLAN1 new condition disconnected
2014.08.22 12:45:21 3: Opening HMLAN1 device 192.168.0.92:1000
2014.08.22 12:45:21 3: HMLAN1 device opened
2014.08.22 12:45:21 1: HMLAN_Parse: HMLAN1 new condition init
2014.08.22 12:45:22 1: Including ./log/fhem.save
2014.08.22 12:45:22 1: HMLAN_Parse: HMLAN1 new condition ok
2014.08.22 12:45:27 3: Device BWM.Sensor1 added to ActionDetector with 000:10 time
2014.08.22 12:45:27 3: Device BWM.Sensor2 added to ActionDetector with 000:10 time
2014.08.22 12:45:27 3: Device BWM.Sensor3 added to ActionDetector with 000:10 time
2014.08.22 12:45:27 3: Device Rauchmelder1 added to ActionDetector with 099:00 time
2014.08.22 12:45:27 3: Device Rauchmelder2 added to ActionDetector with 099:00 time
2014.08.22 12:45:27 3: Device TF.Sensor1 added to ActionDetector with 028:00 time
2014.08.22 12:45:28 3: CUL_HM set Piezosirene statusRequest
2014.08.22 12:45:29 3: CUL_HM set Rauchmelder1 statusRequest
2014.08.22 12:45:30 3: CUL_HM set Rauchmelder2 statusRequest
2014.08.22 12:45:42 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 185) line 2, near ""anlage_status") "

2014.08.22 12:45:42 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 188) line 2, near ""anlage_status") "

2014.08.22 12:45:42 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 191) line 2, near ""anlage_status") "

2014.08.22 12:59:42 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 194) line 2, near ""anlage_status") "

2014.08.22 12:59:42 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 197) line 2, near ""anlage_status") "

2014.08.22 12:59:42 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 200) line 2, near ""anlage_status") "

2014.08.22 13:02:32 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 203) line 2, near ""anlage_status") "

2014.08.22 13:02:32 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 206) line 2, near ""anlage_status") "

2014.08.22 13:02:32 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 209) line 2, near ""anlage_status") "

2014.08.22 13:10:52 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 212) line 2, near ""anlage_status") "

2014.08.22 13:10:52 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 215) line 2, near ""anlage_status") "

2014.08.22 13:10:52 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 218) line 2, near ""anlage_status") "

2014.08.22 13:12:45 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 221) line 2, near ""anlage_status") "

2014.08.22 13:12:45 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 224) line 2, near ""anlage_status") "

2014.08.22 13:12:45 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 227) line 2, near ""anlage_status") "

2014.08.22 13:13:32 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 230) line 2, near ""anlage_status") "

2014.08.22 13:13:32 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 233) line 2, near ""anlage_status") "

2014.08.22 13:13:32 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 236) line 2, near ""anlage_status") "

2014.08.22 13:14:06 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 239) line 2, near ""anlage_status") "

2014.08.22 13:14:06 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 242) line 2, near ""anlage_status") "

2014.08.22 13:14:06 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 245) line 2, near ""anlage_status") "

2014.08.22 13:14:50 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 248) line 2, near ""anlage_status") "

2014.08.22 13:14:50 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 251) line 2, near ""anlage_status") "

2014.08.22 13:14:50 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 254) line 2, near ""anlage_status") "

2014.08.22 13:15:22 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 257) line 2, near ""anlage_status") "

2014.08.22 13:15:22 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 260) line 2, near ""anlage_status") "

2014.08.22 13:15:22 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 263) line 2, near ""anlage_status") "

2014.08.22 13:15:54 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 266) line 2, near ""anlage_status") "

2014.08.22 13:15:54 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 269) line 2, near ""anlage_status") "

2014.08.22 13:15:54 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 272) line 2, near ""anlage_status") "

2014.08.22 13:33:58 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 275) line 2, near ""anlage_status") "

2014.08.22 13:33:58 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 278) line 2, near ""anlage_status") "

2014.08.22 13:33:58 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 281) line 2, near ""anlage_status") "

2014.08.22 13:35:34 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 284) line 2, near ""anlage_status") "

2014.08.22 13:35:34 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 287) line 2, near ""anlage_status") "

2014.08.22 13:35:34 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 290) line 2, near ""anlage_status") "

2014.08.22 13:47:23 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 293) line 2, near ""anlage_status") "

2014.08.22 13:47:23 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 296) line 2, near ""anlage_status") "

2014.08.22 13:47:23 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 299) line 2, near ""anlage_status") "

2014.08.22 13:53:56 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 302) line 2, near ""anlage_status") "

2014.08.22 13:53:56 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 305) line 2, near ""anlage_status") "

2014.08.22 13:53:56 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 308) line 2, near ""anlage_status") "

2014.08.22 13:58:35 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 311) line 2, near ""anlage_status") "

2014.08.22 13:58:35 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 314) line 2, near ""anlage_status") "

2014.08.22 13:58:35 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 317) line 2, near ""anlage_status") "

2014.08.22 14:07:32 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 320) line 2, near ""anlage_status") "

2014.08.22 14:07:32 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 323) line 2, near ""anlage_status") "

2014.08.22 14:07:32 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 326) line 2, near ""anlage_status") "

2014.08.22 14:10:41 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 329) line 2, near ""anlage_status") "

2014.08.22 14:10:41 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 332) line 2, near ""anlage_status") "

2014.08.22 14:10:41 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 335) line 2, near ""anlage_status") "

2014.08.22 14:11:43 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 338) line 2, near ""anlage_status") "

2014.08.22 14:11:43 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 341) line 2, near ""anlage_status") "

2014.08.22 14:11:43 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 344) line 2, near ""anlage_status") "

2014.08.22 14:13:02 1: Including fhem.cfg
2014.08.22 14:13:02 3: WEB: port 8083 opened
2014.08.22 14:13:02 3: WEBphone: port 8084 opened
2014.08.22 14:13:02 2: eventTypes: loaded 700 events from ./log/eventTypes.txt
2014.08.22 14:13:02 1: HMLAN_Parse: HMLAN1 new condition disconnected
2014.08.22 14:13:02 3: Opening HMLAN1 device 192.168.0.92:1000
2014.08.22 14:13:02 3: HMLAN1 device opened
2014.08.22 14:13:02 1: HMLAN_Parse: HMLAN1 new condition init
2014.08.22 14:13:03 1: Including ./log/fhem.save
2014.08.22 14:13:03 1: HMLAN_Parse: HMLAN1 new condition ok
2014.08.22 14:13:08 3: Device BWM.Sensor1 added to ActionDetector with 000:10 time
2014.08.22 14:13:08 3: Device BWM.Sensor2 added to ActionDetector with 000:10 time
2014.08.22 14:13:08 3: Device BWM.Sensor3 added to ActionDetector with 000:10 time
2014.08.22 14:13:08 3: Device Rauchmelder1 added to ActionDetector with 099:00 time
2014.08.22 14:13:08 3: Device Rauchmelder2 added to ActionDetector with 099:00 time
2014.08.22 14:13:08 3: Device TF.Sensor1 added to ActionDetector with 028:00 time
2014.08.22 14:13:09 3: CUL_HM set Piezosirene statusRequest
2014.08.22 14:13:10 3: CUL_HM set Rauchmelder1 statusRequest
2014.08.22 14:13:11 3: CUL_HM set Rauchmelder2 statusRequest
2014.08.22 14:16:10 3: CUL_HM set FB.Alarm1_armInt getConfig
2014.08.22 14:16:10 3: CUL_HM set FB.Alarm1_armExt getConfig
2014.08.22 14:16:10 3: CUL_HM set FB.Alarm1_light getConfig
2014.08.22 14:16:10 3: CUL_HM set FB.Alarm1_disarm getConfig


habs gerade erst so 14:00 Uhr probiert aber im Log steht ziemlich oft
2014.08.22 13:10:52 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 215) line 2, near ""anlage_status") "

in der zeit hatte ich nix gemacht kann das sein das aus welchem Grund auch immer das noch was läuft ?

Mitch

Ok, letzter Versuch, dann bin ich mit meinem Latein am Ende:

define Sirene notify alarm_status:alarm {\
  if (Value("anlage_status") eq "scharf") {\
    fhem("set Piezosirene on");;\
    fhem("set RM.Teammelder alarmOn");;\
    }\
}


Wenn Du jetzt ein set anlage_status scharf und dann ein set alarm_status alarm machts, was passiert und was steht im Log?
FHEM im Proxmox Container

m311331

Hi Mitch,

DANKE !!!!

ich habs gerade versucht und es geht !!!!!!!!!!!!
jetzt muss ich erstmal ganz genau schaun was jetzt so anders ist

ich möchte ja noch der Piezosirene den on-for-timer verpassen 
aber das sollte ja kein prob, sein (hoffe ich mal)

der Log sieht jetzt so aus

2014.08.22 14:10:41 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 335) line 2, near ""anlage_status") "

2014.08.22 14:11:43 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 338) line 2, near ""anlage_status") "

2014.08.22 14:11:43 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 341) line 2, near ""anlage_status") "

2014.08.22 14:11:43 3: Sirene return value: Not enough arguments for main::ReadingsVal at (eval 344) line 2, near ""anlage_status") "

2014.08.22 14:13:02 1: Including fhem.cfg
2014.08.22 14:13:02 3: WEB: port 8083 opened
2014.08.22 14:13:02 3: WEBphone: port 8084 opened
2014.08.22 14:13:02 2: eventTypes: loaded 700 events from ./log/eventTypes.txt
2014.08.22 14:13:02 1: HMLAN_Parse: HMLAN1 new condition disconnected
2014.08.22 14:13:02 3: Opening HMLAN1 device 192.168.0.92:1000
2014.08.22 14:13:02 3: HMLAN1 device opened
2014.08.22 14:13:02 1: HMLAN_Parse: HMLAN1 new condition init
2014.08.22 14:13:03 1: Including ./log/fhem.save
2014.08.22 14:13:03 1: HMLAN_Parse: HMLAN1 new condition ok
2014.08.22 14:13:08 3: Device BWM.Sensor1 added to ActionDetector with 000:10 time
2014.08.22 14:13:08 3: Device BWM.Sensor2 added to ActionDetector with 000:10 time
2014.08.22 14:13:08 3: Device BWM.Sensor3 added to ActionDetector with 000:10 time
2014.08.22 14:13:08 3: Device Rauchmelder1 added to ActionDetector with 099:00 time
2014.08.22 14:13:08 3: Device Rauchmelder2 added to ActionDetector with 099:00 time
2014.08.22 14:13:08 3: Device TF.Sensor1 added to ActionDetector with 028:00 time
2014.08.22 14:13:09 3: CUL_HM set Piezosirene statusRequest
2014.08.22 14:13:10 3: CUL_HM set Rauchmelder1 statusRequest
2014.08.22 14:13:11 3: CUL_HM set Rauchmelder2 statusRequest
2014.08.22 14:16:10 3: CUL_HM set FB.Alarm1_armInt getConfig
2014.08.22 14:16:10 3: CUL_HM set FB.Alarm1_armExt getConfig
2014.08.22 14:16:10 3: CUL_HM set FB.Alarm1_light getConfig
2014.08.22 14:16:10 3: CUL_HM set FB.Alarm1_disarm getConfig
2014.08.22 15:41:43 1: Including fhem.cfg
2014.08.22 15:41:43 3: WEB: port 8083 opened
2014.08.22 15:41:43 3: WEBphone: port 8084 opened
2014.08.22 15:41:44 2: eventTypes: loaded 700 events from ./log/eventTypes.txt
2014.08.22 15:41:44 1: HMLAN_Parse: HMLAN1 new condition disconnected
2014.08.22 15:41:44 3: Opening HMLAN1 device 192.168.0.92:1000
2014.08.22 15:41:44 3: HMLAN1 device opened
2014.08.22 15:41:44 1: HMLAN_Parse: HMLAN1 new condition init
2014.08.22 15:41:44 1: Including ./log/fhem.save
2014.08.22 15:41:44 1: HMLAN_Parse: HMLAN1 new condition ok
2014.08.22 15:41:49 3: Device BWM.Sensor1 added to ActionDetector with 000:10 time
2014.08.22 15:41:49 3: Device BWM.Sensor2 added to ActionDetector with 000:10 time
2014.08.22 15:41:49 3: Device BWM.Sensor3 added to ActionDetector with 000:10 time
2014.08.22 15:41:49 3: Device Rauchmelder1 added to ActionDetector with 099:00 time
2014.08.22 15:41:49 3: Device Rauchmelder2 added to ActionDetector with 099:00 time
2014.08.22 15:41:49 3: Device TF.Sensor1 added to ActionDetector with 028:00 time
2014.08.22 15:41:50 3: CUL_HM set Piezosirene statusRequest
2014.08.22 15:41:52 3: CUL_HM set Rauchmelder1 statusRequest
2014.08.22 15:41:53 3: CUL_HM set Rauchmelder2 statusRequest
2014.08.22 15:42:28 3: CUL_HM set Piezosirene on
2014.08.22 15:42:28 3: CUL_HM set RM.Teammelder alarmOn
2014.08.22 15:42:44 3: CUL_HM set FB.Alarm1_armInt getConfig
2014.08.22 15:42:44 3: CUL_HM set FB.Alarm1_armExt getConfig
2014.08.22 15:42:44 3: CUL_HM set FB.Alarm1_light getConfig
2014.08.22 15:42:44 3: CUL_HM set FB.Alarm1_disarm getConfig
2014.08.22 15:42:44 3: CUL_HM set RM.Teammelder alarmOff
2014.08.22 15:43:07 3: CUL_HM set Piezosirene off


gibt es eine beschränkung für:
if (Value("anlage_status") eq "scharf") {\
    fhem("set Piezosirene on");;\
    fhem("set RM.Teammelder alarmOn");;\
    fhem("set XX.XXXXXX aktionOn");;\
    fhem("set XX.XXXXXX aktionOff");;\
    fhem("set XX.XXXXXX aktionOn");;\
}\
}


oder kann ich da soviel ich möchte reinpacken ?

besten Dank nochmal !!!

mfg. m311331

Mitch

#25
Gerne  ;)

Für den Timer infach diese Zeile
fhem("set Piezosirene on");;\
in diese (Zeit wie von dir geüwnscht einstellen, hier als Bespiel 1 Minute) ändern
fhem("set Piezosirene on-for-timer 60");;\


Wegen der Anzahl der Befehle bis Du bei dieser Art quasi unbegrenzt, weil es jedes Mal ein "eigener" Befehl ist.

Ich würde Dir aber trotzdem raten, in Zukunft nicht die CFG direkt zu editieren, sondern über die Weboberfläche zu gehen. Ist viel viel besser und bei Syntaxfehler bekommst du direkt ein eMeldung, ohne, dass es dir die ganze CFG komplett zerhaut und nichts mehr geht!!
FHEM im Proxmox Container

m311331

Hi Mitch,

Danke für deine Antwort
du bist sehr nett !

Zitatin diese (Zeit wie von dir geüwnscht einstellen, hier als Bespiel 1 Minute) ändern
Code: [Auswählen]

fhem("set Piezosirene on-for-timer 60");;\


habe ich schon geht auch
was ich jetzt nicht verstehe ist das auf einmal das abschalten des Alarms nicht mehr will  :o

und ich bekomme ein highload am HM_LAN
2014.08.22 16:19:36 1: Including fhem.cfg
2014.08.22 16:19:36 3: WEB: port 8083 opened
2014.08.22 16:19:36 3: WEBphone: port 8084 opened
2014.08.22 16:19:36 2: eventTypes: loaded 700 events from ./log/eventTypes.txt
2014.08.22 16:19:36 1: HMLAN_Parse: HMLAN1 new condition disconnected
2014.08.22 16:19:36 3: Opening HMLAN1 device 192.168.0.92:1000
2014.08.22 16:19:36 3: HMLAN1 device opened
2014.08.22 16:19:36 1: HMLAN_Parse: HMLAN1 new condition init
2014.08.22 16:19:37 1: Including ./log/fhem.save
2014.08.22 16:19:37 1: HMLAN_Parse: HMLAN1 new condition ok
2014.08.22 16:19:42 3: Device BWM.Sensor1 added to ActionDetector with 000:10 time
2014.08.22 16:19:42 3: Device BWM.Sensor2 added to ActionDetector with 000:10 time
2014.08.22 16:19:42 3: Device BWM.Sensor3 added to ActionDetector with 000:10 time
2014.08.22 16:19:42 3: Device Rauchmelder1 added to ActionDetector with 099:00 time
2014.08.22 16:19:42 3: Device Rauchmelder2 added to ActionDetector with 099:00 time
2014.08.22 16:19:42 3: Device TF.Sensor1 added to ActionDetector with 028:00 time
2014.08.22 16:19:43 3: CUL_HM set Piezosirene statusRequest
2014.08.22 16:19:44 3: CUL_HM set Rauchmelder1 statusRequest
2014.08.22 16:19:45 3: CUL_HM set Rauchmelder2 statusRequest
2014.08.22 16:20:04 3: CUL_HM set FB.Alarm1_armInt getConfig
2014.08.22 16:20:04 3: CUL_HM set FB.Alarm1_armExt getConfig
2014.08.22 16:20:04 3: CUL_HM set FB.Alarm1_light getConfig
2014.08.22 16:20:04 3: CUL_HM set FB.Alarm1_disarm getConfig
2014.08.22 16:20:11 3: CUL_HM set Piezosirene on-for-timer 10
2014.08.22 16:20:11 3: CUL_HM set RM.Teammelder alarmOn
2014.08.22 16:20:40 3: CUL_HM set Piezosirene on-for-timer 10
2014.08.22 16:20:40 3: CUL_HM set RM.Teammelder alarmOn
2014.08.22 16:20:41 1: HMLAN_Parse: HMLAN1 new condition Warning-HighLoad
2014.08.22 16:20:44 3: CUL_HM set Piezosirene on-for-timer 10
2014.08.22 16:20:44 3: CUL_HM set RM.Teammelder alarmOn
2014.08.22 16:20:47 1: HMLAN_Parse: HMLAN1 new condition ERROR-Overload
2014.08.22 16:20:56 3: Alarm_aus return value: Missing right curly or square bracket at (eval 451) line 6, at end of line
syntax error at (eval 451) line 6, at EOF

2014.08.22 16:20:56 3: Alarm_aus return value: Missing right curly or square bracket at (eval 452) line 6, at end of line
syntax error at (eval 452) line 6, at EOF

2014.08.22 16:20:56 3: Alarm_aus return value: Missing right curly or square bracket at (eval 453) line 6, at end of line
syntax error at (eval 453) line 6, at EOF

2014.08.22 16:21:08 3: Alarm_aus return value: Missing right curly or square bracket at (eval 454) line 6, at end of line
syntax error at (eval 454) line 6, at EOF

2014.08.22 16:21:08 3: Alarm_aus return value: Missing right curly or square bracket at (eval 455) line 6, at end of line
syntax error at (eval 455) line 6, at EOF

2014.08.22 16:21:08 3: Alarm_aus return value: Missing right curly or square bracket at (eval 456) line 6, at end of line
syntax error at (eval 456) line 6, at EOF

2014.08.22 16:21:14 3: Alarm_aus return value: Missing right curly or square bracket at (eval 457) line 6, at end of line
syntax error at (eval 457) line 6, at EOF

2014.08.22 16:21:14 3: Alarm_aus return value: Missing right curly or square bracket at (eval 458) line 6, at end of line
syntax error at (eval 458) line 6, at EOF

2014.08.22 16:21:14 3: Alarm_aus return value: Missing right curly or square bracket at (eval 459) line 6, at end of line
syntax error at (eval 459) line 6, at EOF

2014.08.22 16:21:21 3: Alarm_aus return value: Missing right curly or square bracket at (eval 460) line 6, at end of line
syntax error at (eval 460) line 6, at EOF

2014.08.22 16:21:22 3: Alarm_aus return value: Missing right curly or square bracket at (eval 461) line 6, at end of line
syntax error at (eval 461) line 6, at EOF

2014.08.22 16:21:22 3: Alarm_aus return value: Missing right curly or square bracket at (eval 462) line 6, at end of line
syntax error at (eval 462) line 6, at EOF

2014.08.22 16:21:23 3: Alarm_aus return value: Missing right curly or square bracket at (eval 463) line 6, at end of line
syntax error at (eval 463) line 6, at EOF

2014.08.22 16:21:24 3: Alarm_aus return value: Missing right curly or square bracket at (eval 464) line 6, at end of line
syntax error at (eval 464) line 6, at EOF

2014.08.22 16:21:24 3: Alarm_aus return value: Missing right curly or square bracket at (eval 465) line 6, at end of line
syntax error at (eval 465) line 6, at EOF

2014.08.22 16:21:28 3: CUL_HM set RM.Teammelder alarmOff
2014.08.22 16:22:05 3: Alarm_aus return value: Missing right curly or square bracket at (eval 467) line 6, at end of line
syntax error at (eval 467) line 6, at EOF

2014.08.22 16:22:05 3: Alarm_aus return value: Missing right curly or square bracket at (eval 468) line 6, at end of line
syntax error at (eval 468) line 6, at EOF

2014.08.22 16:22:05 3: Alarm_aus return value: Missing right curly or square bracket at (eval 469) line 6, at end of line
syntax error at (eval 469) line 6, at EOF

2014.08.22 16:22:14 3: Alarm_aus return value: Missing right curly or square bracket at (eval 470) line 6, at end of line
syntax error at (eval 470) line 6, at EOF

2014.08.22 16:22:15 3: Alarm_aus return value: Missing right curly or square bracket at (eval 471) line 6, at end of line
syntax error at (eval 471) line 6, at EOF

2014.08.22 16:22:20 3: Alarm_aus return value: Missing right curly or square bracket at (eval 472) line 6, at end of line
syntax error at (eval 472) line 6, at EOF

2014.08.22 16:22:21 3: Alarm_aus return value: Missing right curly or square bracket at (eval 473) line 6, at end of line
syntax error at (eval 473) line 6, at EOF

2014.08.22 16:22:21 3: Alarm_aus return value: Missing right curly or square bracket at (eval 474) line 6, at end of line
syntax error at (eval 474) line 6, at EOF

2014.08.22 16:22:24 3: Alarm_aus return value: Missing right curly or square bracket at (eval 475) line 6, at end of line
syntax error at (eval 475) line 6, at EOF

2014.08.22 16:22:25 3: Alarm_aus return value: Missing right curly or square bracket at (eval 476) line 6, at end of line
syntax error at (eval 476) line 6, at EOF

2014.08.22 16:22:25 3: Alarm_aus return value: Missing right curly or square bracket at (eval 477) line 6, at end of line
syntax error at (eval 477) line 6, at EOF

2014.08.22 16:22:26 3: Alarm_aus return value: Missing right curly or square bracket at (eval 478) line 6, at end of line
syntax error at (eval 478) line 6, at EOF

2014.08.22 16:22:27 3: Alarm_aus return value: Missing right curly or square bracket at (eval 479) line 6, at end of line
syntax error at (eval 479) line 6, at EOF

2014.08.22 16:22:27 3: Alarm_aus return value: Missing right curly or square bracket at (eval 480) line 6, at end of line
syntax error at (eval 480) line 6, at EOF

2014.08.22 16:22:31 3: CUL_HM set RM.Teammelder alarmOff
2014.08.22 16:22:44 3: CUL_HM set RM.Teammelder alarmOff
2014.08.22 16:22:44 3: set RM.Teammelder alarmOff ; define Schalter_testOff at +00:00:15 set Schalter_test on : Schalter_testOff already defined, delete it first
2014.08.22 16:22:44 3: Aus return value: Schalter_testOff already defined, delete it first
2014.08.22 16:22:45 3: CUL_HM set RM.Teammelder alarmOff
2014.08.22 16:22:45 3: set RM.Teammelder alarmOff ; define Schalter_testOff at +00:00:15 set Schalter_test on : Schalter_testOff already defined, delete it first
2014.08.22 16:22:45 3: Aus return value: Schalter_testOff already defined, delete it first
2014.08.22 16:22:47 3: CUL_HM set RM.Teammelder alarmOff
2014.08.22 16:23:25 3: CUL_HM set RM.Teammelder alarmOff
2014.08.22 16:23:54 1: Including fhem.cfg
2014.08.22 16:23:55 3: WEB: port 8083 opened
2014.08.22 16:23:55 3: WEBphone: port 8084 opened
2014.08.22 16:23:55 2: eventTypes: loaded 700 events from ./log/eventTypes.txt
2014.08.22 16:23:55 1: HMLAN_Parse: HMLAN1 new condition disconnected
2014.08.22 16:23:55 3: Opening HMLAN1 device 192.168.0.92:1000
2014.08.22 16:23:55 3: HMLAN1 device opened
2014.08.22 16:23:55 1: HMLAN_Parse: HMLAN1 new condition init
2014.08.22 16:23:55 1: Including ./log/fhem.save
2014.08.22 16:23:56 1: HMLAN_Parse: HMLAN1 new condition Warning-HighLoad
2014.08.22 16:24:00 3: Device BWM.Sensor1 added to ActionDetector with 000:10 time
2014.08.22 16:24:00 3: Device BWM.Sensor2 added to ActionDetector with 000:10 time
2014.08.22 16:24:00 3: Device BWM.Sensor3 added to ActionDetector with 000:10 time
2014.08.22 16:24:00 3: Device Rauchmelder1 added to ActionDetector with 099:00 time
2014.08.22 16:24:01 3: Device Rauchmelder2 added to ActionDetector with 099:00 time
2014.08.22 16:24:01 3: Device TF.Sensor1 added to ActionDetector with 028:00 time
2014.08.22 16:24:01 3: CUL_HM set RM.Teammelder alarmOff
2014.08.22 16:24:01 1: HMLAN_Parse: HMLAN1 new condition ERROR-Overload
2014.08.22 16:24:22 3: CUL_HM set RM.Teammelder alarmOff
2014.08.22 16:24:31 3: CUL_HM set FB.Alarm1_armInt getConfig
2014.08.22 16:24:31 3: CUL_HM set FB.Alarm1_armExt getConfig
2014.08.22 16:24:31 3: CUL_HM set FB.Alarm1_light getConfig
2014.08.22 16:24:31 3: CUL_HM set FB.Alarm1_disarm getConfig
2014.08.22 16:24:39 3: CUL_HM set RM.Teammelder alarmOff
2014.08.22 16:24:55 3: CUL_HM set RM.Teammelder alarmOff
2014.08.22 16:24:59 3: Alarm_aus return value: Missing right curly or square bracket at (eval 489) line 6, at end of line
syntax error at (eval 489) line 6, at EOF

2014.08.22 16:25:03 3: Alarm_aus return value: Missing right curly or square bracket at (eval 490) line 6, at end of line
syntax error at (eval 490) line 6, at EOF

2014.08.22 16:30:03 1: HMLAN_Parse: HMLAN1 new condition Warning-HighLoad
2014.08.22 16:30:20 1: Including fhem.cfg
2014.08.22 16:30:20 3: WEB: port 8083 opened
2014.08.22 16:30:20 3: WEBphone: port 8084 opened
2014.08.22 16:30:20 2: eventTypes: loaded 700 events from ./log/eventTypes.txt
2014.08.22 16:30:20 1: HMLAN_Parse: HMLAN1 new condition disconnected
2014.08.22 16:30:20 3: Opening HMLAN1 device 192.168.0.92:1000
2014.08.22 16:30:21 3: HMLAN1 device opened
2014.08.22 16:30:21 1: HMLAN_Parse: HMLAN1 new condition init
2014.08.22 16:30:21 1: Including ./log/fhem.save
2014.08.22 16:30:21 3: CUL_HM set Piezosirene statusRequest
2014.08.22 16:30:21 1: HMLAN_Parse: HMLAN1 new condition Warning-HighLoad
2014.08.22 16:30:23 1: HMLAN_Parse: HMLAN1 new condition ERROR-Overload
2014.08.22 16:30:26 3: Device BWM.Sensor1 added to ActionDetector with 000:10 time
2014.08.22 16:30:26 3: Device BWM.Sensor2 added to ActionDetector with 000:10 time
2014.08.22 16:30:26 3: Device BWM.Sensor3 added to ActionDetector with 000:10 time
2014.08.22 16:30:26 3: Device Rauchmelder1 added to ActionDetector with 099:00 time
2014.08.22 16:30:26 3: Device Rauchmelder2 added to ActionDetector with 099:00 time
2014.08.22 16:30:26 3: Device TF.Sensor1 added to ActionDetector with 028:00 time
2014.08.22 16:30:34 3: CUL_HM set FB.Alarm1_armInt getConfig
2014.08.22 16:30:34 3: CUL_HM set FB.Alarm1_armExt getConfig
2014.08.22 16:30:34 3: CUL_HM set FB.Alarm1_light getConfig
2014.08.22 16:30:34 3: CUL_HM set FB.Alarm1_disarm getConfig
2014.08.22 16:30:48 3: CUL_HM set Piezosirene on-for-timer 10
2014.08.22 16:30:48 3: CUL_HM set RM.Teammelder alarmOn


sch... was mache ich nur

habe mal nen reset am HM_LAN gemacht

momentan ist es so das der Alarm aus knopf auf der FB nicht mehr anspricht
einzig der schalter im weninterface geht noch

hier noch mal die aktuelle config.

####################### Alarmanlage #######################################

define anlage_status dummy
attr anlage_status room Alarm

define alarm_status dummy
attr alarm_status room Alarm

define benachrichtigung_status dummy
attr benachrichtigung_status room Alarm

define Scharfschalten notify FB.Alarm._armExt:Short.* {\
fhem "set anlage_status scharf";;\
}

define Unscharfschalten notify FB.Alarm._armInt:Short.* {\
fhem "set anlage_status unscharf";;\
fhem "set alarm_status kein alarm";;\
fhem "set benachrichtigung_status keine benachrichtigung";;\
}

define Alarmroutine notify BWM.Sensor.:.*on.*|TF.Sensor.:open \
{if (Value("anlage_status") eq "scharf"){fhem "set alarm_status alarm"} \
}


define Alarmfall notify alarm_status:alarm \
{if (Value("anlage_status") eq "scharf"){fhem "set benachrichtigung_status benachrichtigt"} \
}

define Sirene notify alarm_status:alarm {\
  if (Value("anlage_status") eq "scharf") {\
    fhem("set Piezosirene on-for-timer 10");;\
    fhem("set RM.Teammelder alarmOn");;\
    }\
}

define Alarm_aus notify FB.Alarm._disarm:Short.* {\
{if (Value("alarm_status") eq "alarm") {\
    fhem("set RM.Teammelder alarmOff");;\
    }\
}

#define Alarm notify BWM.Sensor.:.*on.* set RM.Teammelder alarmOn;;define timedAlarmOff at +00:01:00 set RM.Teammelder alarmOff;;set timedAlarmOff on")

define Schalter_test dummy
attr Schalter_test eventMap on:on off:off
attr Schalter_test room Alarm

define Aus notify Schalter_test:off { fhem ("set RM.Teammelder alarmOff ;; define Schalter_testOff at +00:00:15 set Schalter_test on") }



define Rauchmelder1 CUL_HM 260C57
attr Rauchmelder1 IODev HMLAN1
attr Rauchmelder1 actCycle 099:00
attr Rauchmelder1 actStatus alive
attr Rauchmelder1 autoReadReg 4_reqStatus


:(


m311331

Hi


ich glaube ich habs jetzt
scheint zu gehn, muß noch testen

####################### Alarmanlage #######################################

define anlage_status dummy
attr anlage_status room Alarm

define alarm_status dummy
attr alarm_status room Alarm

define benachrichtigung_status dummy
attr benachrichtigung_status room Alarm

define Scharfschalten notify FB.Alarm._armExt:Short.* {\
fhem "set anlage_status scharf";;\
}

define Unscharfschalten notify FB.Alarm._armInt:Short.* {\
fhem "set anlage_status unscharf";;\
fhem "set alarm_status kein alarm";;\
fhem "set benachrichtigung_status keine benachrichtigung";;\
}

define Alarmroutine notify BWM.Sensor.:.*on.*|TF.Sensor.:open \
{if (Value("anlage_status") eq "scharf"){fhem "set alarm_status alarm"} \
}


define Alarmfall notify alarm_status:alarm \
{if (Value("anlage_status") eq "scharf"){fhem "set benachrichtigung_status benachrichtigt"} \
}

define Sirene notify alarm_status:alarm {\
  if (Value("anlage_status") eq "scharf") {\
    fhem("set Piezosirene on-for-timer 10");;\
    fhem("set RM.Teammelder alarmOn");;\
    }\
}

define Alarm_aus notify FB.Alarm._disarm:Short.* {\
  if (Value("alarm_status") eq "alarm") {\
    fhem("set RM.Teammelder alarmOff");;\
    }\
}


besten Dank nochmal an Mitch der so geduldig mit mir war !  :D :)

Mitch

Du hast vermutlich so viel rumgespielt, dass die max. "Funkzeit" aufgebraucht ist (such mal nach LOV).
Ein resett des HMLan hilft.

Übrigends bei mir geht der alarmOff vom Temmelder auch eher schlecht als recht, muss immer ein paar mal klicken bzw. kommt der Off Befehl meist stark verzögert.
Stört mich aber nicht wirklich, weil mir ist es soweiso am liebsten, wenn ich den Alarm gar nicht erst hören muss  ;D
FHEM im Proxmox Container

m311331

Hi Mitch,

ZitatDu hast vermutlich so viel rumgespielt, dass die max. "Funkzeit" aufgebraucht ist (such mal nach LOV).
Ein resett des HMLan hilft.
;D

ja reset hilft.

es gibt eine max. Funkzeit vom HM_LAN ? na dann werde ich mal nach LOV suchen  :o
stimmt der Teammelder ist etwas langsam aber es ist Funk, da sind Verzögerungen nun mal nicht ausgeschlossen ! 

sag mal hast du zufällig ein Codeschloss an deiner Alarmanlage ?

mfg. m311331