Hallo,
ich habe seit heute Abend auf einmal bei allen HM Geräten ein MISSING ACK. Ein aktueller Status wird mir bei keinem Gerät mehr angezeigt. Ein on/off ist allerdings weiterhin möglich.
Logfile schreibt folgenden Eintrag:
2013.06.17 22:38:33 2: CUL_HM set Flur_EG_Lampe on
2013.06.17 22:39:12 3: CUL_0: Unknown code 810c04xx0909a00140630000aa00, help me!
2013.06.17 22:41:08 3: CUL_0: Unknown code 810c04xx0909a00140630000aa00, help me!
2013.06.17 22:42:16 2: CUL_HM set Flur_EG_Lampe on
2013.06.17 22:43:05 3: CUL_0: Unknown code 810c04xx0909a00140630000aa00, help me!
2013.06.17 22:43:34 2: CUL_HM set Flur_EG_Lampe off
fhem ist die aktruell 5.4 dev version. Irgendjemand eine Idee?
meine fhem.cfg
attr global autoload_undefined_devices 1
attr global backupdir /var/InternerSpeicher/Generic-FlashDisk-01/fhem/backup
attr global logfile /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/fhem-%Y-%m.log
attr global latitude 50.77632
attr global longitude 7.10608
attr global modpath .
attr global motd SecurityCheck:\
\
WEB,WEBphone,WEBtablet has no basicAuth attribute.\
telnetPort has no password/globalpassword attribute.\
Running with root privileges.\
Restart fhem for a new check if the problem is fixed,\
or set the global attribute motd to none to supress this message.\
attr global sendStatistics never
attr global statefile /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/fhem.save
attr global uniqueID ./FHEM/FhemUtils/uniqueID
attr global userattr Fenster Fenster_map Lampen Lampen_map devStateIcon fm_fav fm_groups fm_name fm_order fp_Grundriss fp_Grundriss.image icon room_map sortby structexclude webCmd
attr global verbose 3
define telnetPort telnet 7072 global
define WEB FHEMWEB 8083 global
attr WEB longpoll 1
attr WEB menuEntries rereadcfg,cmd=rereadcfg,restart,cmd=shutdown restart,update,cmd=update,updatecheck,cmd=update+check
define WEBphone FHEMWEB 8084 global
attr WEBphone longpoll 1
attr WEBphone stylesheetPrefix dark
define WEBtablet FHEMWEB 8085 global
attr WEBtablet longpoll 1
attr WEBtablet stylesheetPrefix dark
# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/fhem-%Y-%m.log fakelog
define autocreate autocreate
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/%NAME-%Y-%m.log
attr autocreate weblink 1
attr autocreate weblink_room Plots
# cul
#define CUL_0 CUL /dev/ttyACM0@9600 1034
define CUL_0 CUL /dev/ttyACM0@9600 1234
#define CUL_0 CUL /dev/ttyACM0@38400 1234
attr CUL_0 hmId F11234
attr CUL_0 rfmode HomeMatic
# fbaha
define fbaha_0 FBAHA localhost:2002
# Disable this to avoid looking for new USB devices on startup
#define initialUsbCheck notify global:INITIALIZED usb create
#FB_checkPw does not for FB-OS > 5.22
#attr WEB basicAuth {use FritzBoxUtils;;FB_checkPw("localhost","$password") }
#attr WEBphone basicAuth {use FritzBoxUtils;;FB_checkPw("localhost","$password") }
#attr WEBtablet basicAuth {use FritzBoxUtils;;FB_checkPw("localhost","$password") }
#attr telnetPort globalpassword {use FritzBoxUtils;;FB_checkPw("localhost","$password") }
# Grundrisse
define Grundriss FLOORPLAN
attr Grundriss fp_arrange WEB
attr Grundriss fp_default 1
attr Grundriss fp_noMenu 1
#attr Grundriss commandfield 1
#attr Grundriss stylesheet darkfloorplanstyle.css
#wlan wer ist zu hause
define Bjoern PRESENCE fritzbox iPhoneBjoern02 300
attr Bjoern devStateIcon present:Home_Status.1 absent:Home_Status.0
attr Bjoern fp_Grundriss 405,10,1,Björn
attr Bjoern group Bewohner
attr Bjoern icon icoHaus.png
attr Bjoern room WerIstZuHause
#define Bjoern_Status dummy
define Simone PRESENCE fritzbox iPhoneSimone01 300
attr Simone devStateIcon present:Home_Status.1 absent:Home_Status.0
attr Simone fp_Grundriss 460,10,1,
attr Simone group Bewohner
attr Simone icon icoHaus.png
attr Simone room WerIstZuHause
define Mathilda PRESENCE fritzbox iPhoneBjoern01 300
attr Mathilda devStateIcon present:Home_Status.1 absent:Home_Status.0
attr Mathilda fp_Grundriss 515,10,1,
attr Mathilda group Bewohner
attr Mathilda icon icoHaus.png
attr Mathilda room WerIstZuHause
# Nach 15 Minuten Abwesenheit (Handy im Status "absent") soll die gesamte Wohnung ausgeschaltet werden.
#define watchdog_Anwesenheit watchdog Handy:absent 00:15 Handy:present { fhem "set alle_Lampen_sw off";; fhem "setstate watchdog_Anwesenheit defined";;}
#attr watchdog_Anwesenheit regexp1WontReactivate 1
#define myTwilight Twilight 50.77632 7.10608 5 20066591
# sunrise schaltung flur/treppenhaus
define FlurTreppenLampe_an at *{sunset("HORIZON=0",0,"16:00","21:45")} set Flur_Treppe_Lampe on
define FlurTreppenLampe_aus at *23:55:00 set Flur_Treppe_Lampe off
# sunrise schaltung wz switch
define WZSwitch structure Lampen WZ_EG_1sw_Lampe WZ_EG_2sw_Lampe WZ_EG_3sw_Lampe WZ_EG_4sw_Lampe
define WZSwitchLampe_an at *{sunset("HORIZON=0",0,"16:00","21:45")} set WZSwitch on
define WZSwitchLampe_aus at *22:30:00 set WZSwitch off
#define WZSwitchLampe3_aus at *19:30:00 set WZ_EG_3sw_Lampe off
# sunrise schaltung innenhof
define InnenhofLampen structure Lampen Eingang_Innenhof_Lampe Ueberstand_Innenhof_Lampe
define InnenhofLampen_an at *{sunset("HORIZON=-3",0,"16:00","21:45")} set InnenhofLampen on
define InnenhofLampen_aus at *23:15:00 set InnenhofLampen off
# sunrise schaltung flur og
define OGSwitch structure room Flur_OG_1sw_Lampe
define OGSwitchLampe_an at *{sunset("HORIZON=2",0,"16:00","21:00")} set OGSwitch on
define OGSwitchLampe_aus at *21:23:00 set OGSwitch off
#define Flur_OG_1sw_Lampe_an at *{sunset("HORIZON=2",0,"16:00","21:45")} set Flur_OG_1sw_Lampe on-for-timer 5400
# gesamtes licht ausschalten
define Lichtschalter dummy
attr Lichtschalter devStateIcon on:switch.on off:switch.off
attr Lichtschalter eventMap on:ein off:aus
attr Lichtschalter fp_Grundriss 320,10,2,
attr Lichtschalter fp_Grundriss.image switch.{state}.png
attr Lichtschalter setList on off
define alle_Lampen_sw structure Lampen WC_EG_Lampe WZ_EG_1sw_Lampe WZ_EG_2sw_Lampe WZ_EG_3sw_Lampe WZ_EG_4sw_Lampe Terrasse_Garten_Lampe Flur_Treppe_Lampe Flur_EG_Lampe Eingang_Innenhof_Lampe Ueberstand_Innenhof_Lampe Flur_OG_1sw_Lampe Flur_OG_Lampe
#attr alle_Lampen_sw clientstate_behavior relative
#attr alle_Lampen_sw clientstate_priority on off
#attr alle_Lampen_sw group Licht
define act_Lichtschalter_aus notify Lichtschalter:off { {fhem("set alle_Lampen_sw off")} }
define act_Lichtschalter_an notify Lichtschalter:on { {fhem("set alle_Lampen_sw on")} }
#wc lampe nach 20 minuten ausschalten
define wd002 watchdog WC_EG_Lampe:on 00:20 WC_EG_Lampe:off {{fhem("set WC_EG_Lampe off")} {fhem("setstate wd002 defined")}}
#attr wd002 regexp1WontReactivate
# alle fenster schliessen
define Fensterschalter dummy
attr Fensterschalter devStateIcon on:switch.on off:switch.off
attr Fensterschalter eventMap on:auf off:zu
attr Fensterschalter fp_Grundriss 320,130,2,
attr Fensterschalter fp_Grundriss.image switch.{state}.png
attr Fensterschalter setList on off
define alle_Fenster_sw structure Fenster Bad_OG_Fenster
#attr alle_Fenster_sw clientstate_behavior relative
#attr alle_Fenster_sw clientstate_priority on off
#attr alle_Fenster_sw group Fenster
define act_Fensterschalter_zu notify Fensterschalter:off { {fhem("set alle_Fenster_sw off")} }
define act_Fensterschalter_auf notify Fensterschalter:on { {fhem("set alle_Fenster_sw on")} }
# fenster nach 30 minuten schließen
define Bad_OG_Fenster_vergessen dummy
define wd001 watchdog Bad_OG_Fenster:on 00:45 Bad_OG_Fenster:off { {FB_mail('contact@bjoern.biz' ('contact@bjoern.biz'),'Fenster_Vergessen_Watchdog','Bad_OG_Fenster offen')} {fhem("set Bad_OG_Fenster off")} {fhem("setstate wd001 defined")}}
#attr wd001 regexp1WontReactivate
# fritzbox temperatur
define FB_Temperatur dummy
attr FB_Temperatur fp_Grundriss 57,400,0,
attr FB_Temperatur room HWS
define FileLog_FB_Temperatur FileLog /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/FB_Temperatur-%Y-%m.log FB_Temperatur
attr FileLog_FB_Temperatur logtype temp4:Temp,text
attr FileLog_FB_Temperatur room HWS
define FritzTemp_at at +*00:30:00 {\
my $FritzCPUTemperature = int(`ctlmgr_ctl r power status/act_temperature`);;\
fhem("setstate FB_Temperatur $FritzCPUTemperature°");;\
fhem("trigger FB_Temperatur temperature: $FritzCPUTemperature");;\
}
define weblink_FB_Temperatur weblink fileplot FileLog_FB_Temperatur:temp4:CURRENT
attr weblink_FB_Temperatur label "FB_Temperatur Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr weblink_FB_Temperatur room Plots
# call falls temperatur zu hoch
define TempAlarmCall01 notify FB_Temperatur.* { FritzBoxCallnr('01732748168') if (floor(SplitVar("%"," ",1)) >= 52) }
# fritzbox Gast WLAN
define GastWLAN_Status dummy
attr GastWLAN_Status devStateIcon on:GastWLAN_Status.on off:GastWLAN_Status.off
attr GastWLAN_Status eventMap on:ein off:aus
attr GastWLAN_Status fp_Grundriss 43,422,0,
attr GastWLAN_Status fp_Grundriss.image GastWLAN_Status.{state}.png
attr GastWLAN_Status room HWS
attr GastWLAN_Status setList on off
# Prüfe Status Gäste WLAN
define Status_Guest_WLAN dummy
define Status_Guest_WLAN_AT at +*00:15:00 {my $g_wlan="";;\
$g_wlan=qx(/usr/bin/ctlmgr_ctl r wlan settings/guest_ap_enabled);;\
if ($g_wlan ne $value{Status_Guest_WLAN}) {fhem "set Status_Guest_WLAN $g_wlan";;}\
if ($g_wlan == 1 && Value("GastWLAN_Status") eq "off") {fhem "set GastWLAN_Status on";;\
} else {\
if ($g_wlan == 0 && Value("GastWLAN_Status") eq "on") {fhem "set GastWLAN_Status off";;}\
}\
}
# GuestWLAN an mit FB (Kanal 5)
define guest_wlanON notify GastWLAN_Status:on.* {my $g_wlan="";;\
$g_wlan=qx(/usr/bin/ctlmgr_ctl w wlan settings/guest_ap_enabled 1);;\
$g_wlan=1;;\
fhem "set Status_Guest_WLAN $g_wlan";;}
# GuestWLAN aus mit FB (Kanal 5)
define guest_wlanOFF notify GastWLAN_Status:off.* {my $g_wlan="";;\
$g_wlan=qx(/usr/bin/ctlmgr_ctl w wlan settings/guest_ap_enabled 0);;\
$g_wlan=0;;\
fhem "set Status_Guest_WLAN $g_wlan";;}
#define FHT_4063 FHT 4063
#attr FHT_4063 retrycount 3
#attr FHT_4063 room FHT
#define FileLog_FHT_4063 FileLog /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/FHT_4063-%Y-%m.log FHT_4063
#attr FileLog_FHT_4063 logtype fht:Temp/Act,text
#attr FileLog_FHT_4063 room FHT
#define weblink_FHT_4063 weblink fileplot FileLog_FHT_4063:fht:CURRENT
#attr weblink_FHT_4063 label "FHT_4063 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
#attr weblink_FHT_4063 room Plots
#schalter lampe wc
define WC_EG_Lampe CUL_HM 1B732F
attr WC_EG_Lampe .devInfo 010100
attr WC_EG_Lampe devStateIcon on:black_FS20.on off:black_FS20.off
attr WC_EG_Lampe expert 2_full
attr WC_EG_Lampe firmware 2.1
attr WC_EG_Lampe fp_Grundriss 30,501,0,
attr WC_EG_Lampe model HM-LC-Sw1PBU-FM
attr WC_EG_Lampe peerIDs
attr WC_EG_Lampe room device_CUL_HM,Haus,WC
attr WC_EG_Lampe serialNr JEQ0100715
attr WC_EG_Lampe subType switch
attr WC_EG_Lampe webCmd toggle:on:off:statusRequest
#attr WC_EG_Lampe group Licht
#define FileLog_WC_EG_Lampe FileLog /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/WC_EG_Lampe-%Y-%m.log WC_EG_Lampe
#attr FileLog_WC_EG_Lampe logtype text
#attr FileLog_WC_EG_Lampe room device_CUL_HM
#bad fenster
define Bad_OG_Fenster CUL_HM 1BD17C
attr Bad_OG_Fenster .devInfo 010100
attr Bad_OG_Fenster devStateIcon on:black_Fenster.on off:black_Fenster.off
attr Bad_OG_Fenster expert 2_full
attr Bad_OG_Fenster firmware 2.1
attr Bad_OG_Fenster fp_Grundriss 428,362,0,
attr Bad_OG_Fenster model HM-LC-Bl1PBU-FM
attr Bad_OG_Fenster peerIDs
attr Bad_OG_Fenster room device_CUL_HM,Haus,Bad
attr Bad_OG_Fenster serialNr JEQ0115957
attr Bad_OG_Fenster subType blindActuator
attr Bad_OG_Fenster webCmd toggle:on:off:stop:statusRequest
#attr Bad_OG_Fenster group Fenster
#define FileLog_Bad_OG_Fenster FileLog /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/Bad_OG_Fenster-%Y-%m.log Bad_OG_Fenster
#attr FileLog_Bad_OG_Fenster logtype text
#attr FileLog_Bad_OG_Fenster room device_CUL_HM
#wz steckdosen switch
define WZ_EG_1sw_Lampe IT 0000FFFF0F FF F0
attr WZ_EG_1sw_Lampe IODev CUL_0
attr WZ_EG_1sw_Lampe devStateIcon on:black_Steckdose.on off:black_Steckdose.off
attr WZ_EG_1sw_Lampe fp_Grundriss 268,241,0,
attr WZ_EG_1sw_Lampe model itswitch
attr WZ_EG_1sw_Lampe room device_IT,Haus,Wohnraum
#attr WZ_EG_1sw_Lampe group Licht
define WZ_EG_2sw_Lampe IT 00000FFF0F FF F0
attr WZ_EG_2sw_Lampe IODev CUL_0
attr WZ_EG_2sw_Lampe devStateIcon on:black_Steckdose.on off:black_Steckdose.off
attr WZ_EG_2sw_Lampe fp_Grundriss 268,290,0,
attr WZ_EG_2sw_Lampe model itswitch
attr WZ_EG_2sw_Lampe room device_IT,Haus,Wohnraum
#attr WZ_EG_2sw_Lampe group Licht
define WZ_EG_3sw_Lampe IT 0000F0FF0F FF F0
attr WZ_EG_3sw_Lampe IODev CUL_0
attr WZ_EG_3sw_Lampe devStateIcon on:black_Steckdose.on off:black_Steckdose.off
attr WZ_EG_3sw_Lampe fp_Grundriss 256,117,0,
attr WZ_EG_3sw_Lampe model itswitch
attr WZ_EG_3sw_Lampe room device_IT,Haus,Wohnraum
#attr WZ_EG_3sw_Lampe group Licht
define WZ_EG_4sw_Lampe IT 000000FF0F FF F0
attr WZ_EG_4sw_Lampe IODev CUL_0
attr WZ_EG_4sw_Lampe devStateIcon on:black_Steckdose.on off:black_Steckdose.off
attr WZ_EG_4sw_Lampe fp_Grundriss 151,265,0,
attr WZ_EG_4sw_Lampe model itswitch
attr WZ_EG_4sw_Lampe room device_IT,Haus,Wohnraum
#attr WZ_EG_4sw_Lampe group Licht
#lampe treppenhaus
define Flur_Treppe_Lampe CUL_HM 1CAAB4
attr Flur_Treppe_Lampe .devInfo 010100
attr Flur_Treppe_Lampe devStateIcon on:black_FS20.on off:black_FS20.off
attr Flur_Treppe_Lampe expert 2_full
attr Flur_Treppe_Lampe firmware 1.9
attr Flur_Treppe_Lampe fp_Grundriss 172,488,0,
attr Flur_Treppe_Lampe model HM-LC-SW1-FM
attr Flur_Treppe_Lampe peerIDs
attr Flur_Treppe_Lampe room device_CUL_HM,Haus,Flur
attr Flur_Treppe_Lampe serialNr JEQ0296921
attr Flur_Treppe_Lampe subType switch
attr Flur_Treppe_Lampe webCmd toggle:on:off:statusRequest
#attr Flur_Treppe_Lampe group Licht
#define FileLog_Flur_Treppe_Lampe FileLog /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/Flur_Treppe_Lampe-%Y-%m.log Flur_Treppe_Lampe
#attr FileLog_Flur_Treppe_Lampe logtype text
#attr FileLog_Flur_Treppe_Lampe room device_CUL_HM
#lampe terrasse
define Terrasse_Garten_Lampe IT 000000000F FF F0
attr Terrasse_Garten_Lampe IODev CUL_0
attr Terrasse_Garten_Lampe devStateIcon on:black_FS20.on off:black_FS20.off
attr Terrasse_Garten_Lampe fp_Grundriss 57,320,0,
attr Terrasse_Garten_Lampe model itswitch
attr Terrasse_Garten_Lampe room device_IT,Aussen,Garten
#attr Terrasse_Garten_Lampe group Licht
#lampe eg flur
define Flur_EG_Lampe CUL_HM 1CAD3C
attr Flur_EG_Lampe .devInfo 010100
attr Flur_EG_Lampe .stc 10
attr Flur_EG_Lampe devStateIcon on:black_FS20.on off:black_FS20.off
attr Flur_EG_Lampe expert 2_full
attr Flur_EG_Lampe firmware 1.9
attr Flur_EG_Lampe fp_Grundriss 101,455,0,
attr Flur_EG_Lampe model HM-LC-SW1-FM
attr Flur_EG_Lampe peerIDs
attr Flur_EG_Lampe room device_CUL_HM,Haus,Flur
attr Flur_EG_Lampe serialNr JEQ0298001
attr Flur_EG_Lampe subType switch
attr Flur_EG_Lampe webCmd toggle:on:off:statusRequest
#define FileLog_Flur_EG_Lampe FileLog /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/Flur_EG_Lampe-%Y-%m.log Flur_EG_Lampe
#attr FileLog_Flur_EG_Lampe logtype text
#attr FileLog_Flur_EG_Lampe room device_CUL_HM
#lampen haus innenhof
define Aktor_Innenhof_Haus CUL_HM 1CA45F
attr Aktor_Innenhof_Haus .devInfo 020200
attr Aktor_Innenhof_Haus .stc 10
attr Aktor_Innenhof_Haus expert 2_full
attr Aktor_Innenhof_Haus firmware 1.9
attr Aktor_Innenhof_Haus model HM-LC-SW2-FM
attr Aktor_Innenhof_Haus peerIDs
attr Aktor_Innenhof_Haus room device_CUL_HM
attr Aktor_Innenhof_Haus serialNr JEQ0279471
attr Aktor_Innenhof_Haus subType switch
attr Aktor_Innenhof_Haus webCmd getConfig
#define FileLog_Aktor_Innenhof_Haus FileLog /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/Aktor_Innenhof_Haus-%Y-%m.log Aktor_Innenhof_Haus
#attr FileLog_Aktor_Innenhof_Haus logtype text
#attr FileLog_Aktor_Innenhof_Haus room device_CUL_HM
#aktor 1
define Eingang_Innenhof_Lampe CUL_HM 1CA45F01
attr Eingang_Innenhof_Lampe devStateIcon on:black_FS20.on off:black_FS20.off
attr Eingang_Innenhof_Lampe fp_Grundriss 74,547,0,
attr Eingang_Innenhof_Lampe model HM-LC-SW2-FM
attr Eingang_Innenhof_Lampe peerIDs
attr Eingang_Innenhof_Lampe room device_CUL_HM,Aussen,Innenhof
attr Eingang_Innenhof_Lampe webCmd toggle:on:off:statusRequest
#define FileLog_Eingang_Innenhof_Lampe FileLog /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/Eingang_Innenhof_Lampe-%Y-%m.log Eingang_Innenhof_Lampe
#attr FileLog_Eingang_Innenhof_Lampe logtype text
#attr FileLog_Eingang_Innenhof_Lampe room device_CUL_HM
#aktor 2
define Ueberstand_Innenhof_Lampe CUL_HM 1CA45F02
attr Ueberstand_Innenhof_Lampe devStateIcon on:black_FS20.on off:black_FS20.off
attr Ueberstand_Innenhof_Lampe fp_Grundriss 220,555,0,
attr Ueberstand_Innenhof_Lampe model HM-LC-SW2-FM
attr Ueberstand_Innenhof_Lampe peerIDs
attr Ueberstand_Innenhof_Lampe room device_CUL_HM,Aussen,Innenhof
attr Ueberstand_Innenhof_Lampe webCmd toggle:on:off:statusRequest
#define FileLog_Ueberstand_Innenhof_Lampe FileLog /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/Ueberstand_Innenhof_Lampe-%Y-%m.log Ueberstand_Innenhof_Lampe
#attr FileLog_Ueberstand_Innenhof_Lampe logtype text
#attr FileLog_Ueberstand_Innenhof_Lampe room device_CUL_HM
define Flur_OG_1sw_Lampe FBDECT 16 switch
attr Flur_OG_1sw_Lampe devStateIcon on:black_Steckdose.on off:black_Steckdose.off
attr Flur_OG_1sw_Lampe event-min-interval power:900
attr Flur_OG_1sw_Lampe fp_Grundriss 557,381,0,
attr Flur_OG_1sw_Lampe room device_FBDECT,Haus,Flur
define FileLog_Flur_OG_1sw_Lampe FileLog /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/Flur_OG_1sw_Lampe-%Y-%m.log Flur_OG_1sw_Lampe:power.*
attr FileLog_Flur_OG_1sw_Lampe logtype power4:Power,text
attr FileLog_Flur_OG_1sw_Lampe room device_FBDECT
define weblink_Flur_OG_1sw_Lampe weblink fileplot FileLog_Flur_OG_1sw_Lampe:power4:CURRENT
attr weblink_Flur_OG_1sw_Lampe label "Flur_OG_1sw_Lampe Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr weblink_Flur_OG_1sw_Lampe room Plots
define Flur_OG_Lampe CUL_HM 1CACD0
attr Flur_OG_Lampe .devInfo 010100
attr Flur_OG_Lampe .stc 10
attr Flur_OG_Lampe devStateIcon on:black_FS20.on off:black_FS20.off
attr Flur_OG_Lampe expert 2_full
attr Flur_OG_Lampe firmware 1.9
attr Flur_OG_Lampe fp_Grundriss 471,447,0,
attr Flur_OG_Lampe model HM-LC-SW1-FM
attr Flur_OG_Lampe peerIDs
attr Flur_OG_Lampe room device_CUL_HM,Haus,Flur
attr Flur_OG_Lampe serialNr JEQ0297748
attr Flur_OG_Lampe subType switch
attr Flur_OG_Lampe webCmd toggle:on:off:statusRequest
#define FileLog_Flur_OG_Lampe FileLog /var/InternerSpeicher/Generic-FlashDisk-01/fhem/log/Flur_OG_Lampe-%Y-%m.log Flur_OG_Lampe
#attr FileLog_Flur_OG_Lampe logtype text
#attr FileLog_Flur_OG_Lampe room device_CUL_HM
Hallo,
Zitat von: baumeister schrieb am Mo, 17 Juni 2013 22:47fhem ist die aktruell 5.4 dev version. Irgendjemand eine Idee?
nur eine ganz Dunkle dank dieses Threads:
http://forum.fhem.de/index.php?t=msg&goto=82620Evtl. ist eine Änderung der
Blocking.pm Schuld, kommentier testweise mal Deine PRESENCE-Definitionen aus.
Die Blocking.pm-Änderung wurde hier besprochen:
http://forum.fhem.de/index.php?t=msg&goto=80621Ich habe den Verdacht, dass das Device::SerialPort beim close() etwas mehr macht, als nur den Filedescriptor zu schliessen. Wahrscheinlich resettet es auch die seriellen Parameter und dann gibt es wieder ein Echo beim CUL...
Gruß
Michael
Hallo baumeister,
falls Michaels tip nichts hilft:
kannst du ein paar roh-logs ziehen von den Fehler-szenarien mit
attr global verbose 1
attr global mseclog 1
attr CUL_0 loglevel 1
Gruss
Martgin
Hi Zusammen,
habe das gleiche Problem seit gestern Abend 17.6
Mein letztes Update war am 16.6 Die Missing Ack kamen nach einem Ausfall der FB7390 heute Abend. (Neustart mit Netzstecker)
Der Tipp mit Presence zu deaktivieren hat mit den Missing Ack geholfen.
Kann man das Presence Modul danach wieder aktivieren oder auf das nächste Update warten?
Gruß
Juergen
Hallo,
danke für die schnelle Hilfe. Es scheint wirklich am presence Modul zu liegen. Ich habe die gesamte Konfiguration entfernt und die HM Geräte sind wieder voll verfügbar.
FB hat das OS 5.52. Hängt das auch damit zusammen?
Gibt es schon ein Patch oder Workaround für das Presence Modul?
DANKE!
Hallo,
Zitat von: baumeister schrieb am Di, 18 Juni 2013 08:01FB hat das OS 5.52. Hängt das auch damit zusammen?
Nein, das liegt an einer Änderung des Blocking-Moduls (welches von PRESENCE benutzt wird), welche eine unerwartete Nebenwirkung hatte. Die hat sich allerdings erst (wegen eines nicht stattfindenden SerialPort::close() beim shutdown) nach einem Reboot des Host-Systems ausgewirkt.
ZitatGibt es schon ein Patch oder Workaround für das Presence Modul?
Nein, leider nicht. Mir fällt auch keine schöne Lösung ein, nur ein böser (ungetesteter) Hack:
Füge mal in
DevIo.pm folgende Zeile vor Zeile 295 ein:
delete($hash->{USBDev}->{TERMIOS}) if defined($hash->{USBDev}->{TERMIOS});
Das sollte dann mit Kontext so aussehen:
} elsif($hash->{USBDev}) {
delete($hash->{USBDev}->{TERMIOS}) if defined($hash->{USBDev}->{TERMIOS});
$hash->{USBDev}->close() ;
delete($hash->{USBDev});
@Martin: Kannst Du bitte in
diesem Thread auf das Problem mit dem Zurücksetzen der Termios-Einstellungen des Geräts beim close() hinweisen? Ich darf im Developer-Forum nicht schreiben. Danke :-)
Gruß
Michael
Hallo,
wie gut ist das getestet?
Ggf. baue ich das am Wochenende ein.
Grüße
Boris
Hallo Boris,
Zitat von: Dr. Boris Neubert schrieb am Di, 18 Juni 2013 21:10wie gut ist das getestet?
Gar nicht, hatte dazu heute keine Zeit. Hab mir nur den Code zu Device::SerialPort angeschaut und den Auslöser für das Verhalten gefunden.
ZitatGgf. baue ich das am Wochenende ein.
Brauchst Du nicht, anscheinend hat Rudi das Problem ziemlich zeitgleich identifiziert und sauberer gefixed. Ein update morgen sollte also das Problem lösen.
Gruß
Michael
Hallo,
bei mir scheinen die Probleme mit dem Update von heute auf den ersten Blick behoben. Aktuell läuft alles auch nach einem FB restart problemlos.
Danke!