Fensterkontakt HM-SEC-SC

Begonnen von Guest, 30 Juli 2011, 12:30:46

Vorheriges Thema - Nächstes Thema

Guest

Originally posted by: <email address deleted>

Moin,
so ich habe es gerade geschafft meine FB7390 mit CUL überredet meine
Steckdose (HM-LC-SW1-PL) zu schalten. Jetzt bin ich dabei den Status
vom Fenstekontakt abzufragen (was ab und an funktioniert), das ganze
möchte ich grafisch darstellen (bin ich noch weit von entfernt) und
zum guten Schluß möchte ich die Steckdose darüber schalten (hab ich
noch keine Idee zu).
Ich hänge mal mene fhem.cfg an und das Log von meinem Fensterkontakt
(Garagentor).
Über ein paar Tipps wäre ich sehr froh.
fhem.cfg:
attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global port 7072 global
attr global statefile ./log/fhem.save
attr global userattr fm_fav fm_name fm_order fm_groups
attr global verbose 3

define CUL CUL /dev/ttyACM0 1234
attr CUL rfmode HomeMatic

define WEB FHEMWEB 8083 global
define WEBphone FHEMWEB 8084 global
attr WEBphone smallscreen 1
define WEBtablet FHEMWEB 8085 global
attr WEBtablet touchpad 1

define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog ./log/%NAME-%Y.log
attr autocreate weblink 1
attr autocreate weblink_room Plots

define Steckdose_1 CUL_HM 14A0CE
attr Steckdose_1 devInfo 010100
attr Steckdose_1 firmware 1.9
attr Steckdose_1 hmClass receiver
attr Steckdose_1 model HM-LC-SW1-PL
attr Steckdose_1 room Wohnzimmer
attr Steckdose_1 serialNr IEQ0049429
attr Steckdose_1 subType switch

define FileLog_Steckdose_1 FileLog ./log/Steckdose_1-%Y.log
Steckdose_1
attr FileLog_Steckdose_1 logtype text
attr FileLog_Steckdose_1 room CUL_HM
# define a10 at +*{sunset_rel()} set Steckdose_1 on-till 23:30

#Fensterkontakt
define Garagentor CUL_HM 169214
attr Garagentor room CUL_HM
attr Garagentor model HM-SEC-SC
attr Garagentor serialNr IEQ0059286
attr Garagentor subType threeStateSensor
attr Garagentor hmClass sender
attr Garagentor firmware 2.0
attr Garagentor devInfo 810101

define FileLog_Garagentor FileLog ./log/Garagentor-%Y.log Garagentor
attr FileLog_Garagentor logtype text
attr FileLog_Garagentor room CUL_HM

#Hier versuche ich eine Grafik zu erstellen...
define FileLog_Garagenstatus FileLog ./log/Garagenstatus-%Y.log
Garagentor
#:CNT:.*
attr FileLog_Garagenstatus logtype hms
attr FileLog_Garagenstatus room CUL_HM

Garagentor-2011.log:
2011-07-30_12:00:32 Garagentor contact: open
2011-07-30_12:00:35 Garagentor contact: closed
2011-07-30_12:00:49 Garagentor resend nr 2
2011-07-30_12:00:50 Garagentor resend nr 2
2011-07-30_12:00:50 Garagentor resend nr 2
2011-07-30_12:01:02 Garagentor contact: open
2011-07-30_12:01:05 Garagentor contact: closed
2011-07-30_12:01:11 Garagentor contact: open
2011-07-30_12:01:14 Garagentor contact: closed
2011-07-30_12:01:27 Garagentor contact: open
2011-07-30_12:01:29 Garagentor contact: closed
2011-07-30_12:06:34 Garagentor contact: open
2011-07-30_12:06:35 Garagentor contact: closed
2011-07-30_12:07:26 Garagentor contact: open
2011-07-30_12:08:31 Garagentor contact: open
2011-07-30_12:08:35 Garagentor contact: closed
2011-07-30_12:10:58 Garagentor contact: open
2011-07-30_12:11:01 Garagentor contact: closed

Als letztes nochmal der State vom Fenterkontakt:
State   Value   Measured
contact   closed   2011-07-30 12:11:01
Internal      Value
CUL_MSGCNT   7
CUL_RAWMSG   A0C8BA041169214F11234018900F1
CUL_RSSI   -81.5
CUL_TIME   2011-07-30 12:11:01
DEF
169214
LASTIODev   CUL
MSGCNT      7
NAME      Garagentor
NR      11
STATE      MISSING ACK
TYPE      CUL_HM
lastMsg      A0C8BA041169214F11234018900

Herzlichen Dank,
Andreas

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com