Hauptmenü

LogFiles

Begonnen von LotharRappsilber, 17 Februar 2014, 10:46:36

Vorheriges Thema - Nächstes Thema

LotharRappsilber

Hallo,

ich habe FHEM auf FB7490 installiert, aber auch bei minimaler Konfiguration hören die log's irgendwann auf zu schreiben. Meine fhem.cfg im Anhang:

attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
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 statefile ./log/fhem.save
attr global updateInBackground 1
attr global userattr devStateIcon devStateStyle fp_Haus icon sortby webCmd
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global
attr WEB stylesheetPrefix dark

define WEBphone FHEMWEB 8084 global
attr WEBphone stylesheetPrefix smallscreen

define WEBtablet FHEMWEB 8085 global
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 autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog ./log/%NAME-%Y.log
attr autocreate weblink 1
attr autocreate weblink_room Plots

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


# If the above notify did not helped, then you probably have to enable some of
# the following lines.  Verify first that /dev/xxx ist correct.

#define FHZ FHZ /dev/USB0
define CUL_0 CUL /dev/ttyACM0@9600 1234
attr CUL_0 rfmode HomeMatic

#define EUL TCM 310 /dev/ttyACM0@57600
#define BscBor TCM 120 /dev/ttyUSB0@9600
#define BscSmartConnect TCM 310 /dev/ttyUSB0@57600

define fbaha FBAHA localhost:2002
define eventTypes eventTypes ./log/eventTypes.txt
define CUL_WS_6 CUL_WS 6
attr CUL_WS_6 room CUL_WS
define FileLog_CUL_WS_6 FileLog ./log/CUL_WS_6-%Y.log CUL_WS_6:T:.*
attr FileLog_CUL_WS_6 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_6 room CUL_WS
define SVG_CUL_WS_6 SVG FileLog_CUL_WS_6:temp4hum6:CURRENT
attr SVG_CUL_WS_6 label "CUL_WS_6 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_6 room Plots
define CUL_WS_2 CUL_WS 2
attr CUL_WS_2 room CUL_WS
define FileLog_CUL_WS_2 FileLog ./log/CUL_WS_2-%Y.log CUL_WS_2:T:.*
attr FileLog_CUL_WS_2 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_2 room CUL_WS
define SVG_CUL_WS_2 SVG FileLog_CUL_WS_2:temp4hum6:CURRENT
attr SVG_CUL_WS_2 label "CUL_WS_2 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_2 room Plots
define CUL_WS_4 CUL_WS 4
attr CUL_WS_4 room CUL_WS
define FileLog_CUL_WS_4 FileLog ./log/CUL_WS_4-%Y.log CUL_WS_4:T:.*
attr FileLog_CUL_WS_4 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_4 room CUL_WS
define SVG_CUL_WS_4 SVG FileLog_CUL_WS_4:temp4hum6:CURRENT
attr SVG_CUL_WS_4 label "CUL_WS_4 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_4 room Plots
define CUL_WS_8 CUL_WS 8
attr CUL_WS_8 room CUL_WS
define FileLog_CUL_WS_8 FileLog ./log/CUL_WS_8-%Y.log CUL_WS_8:T:.*
attr FileLog_CUL_WS_8 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_8 room CUL_WS
define SVG_CUL_WS_8 SVG FileLog_CUL_WS_8:temp4hum6:CURRENT
attr SVG_CUL_WS_8 label "CUL_WS_8 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_8 room Plots
define CUL_WS_1 CUL_WS 1
attr CUL_WS_1 room CUL_WS
define FileLog_CUL_WS_1 FileLog ./log/CUL_WS_1-%Y.log CUL_WS_1:T:.*
attr FileLog_CUL_WS_1 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_1 room CUL_WS
define SVG_CUL_WS_1 SVG FileLog_CUL_WS_1:temp4hum6:CURRENT
attr SVG_CUL_WS_1 label "CUL_WS_1 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_1 room Plots
define CUL_WS_7 CUL_WS 7
attr CUL_WS_7 room CUL_WS
define FileLog_CUL_WS_7 FileLog ./log/CUL_WS_7-%Y.log CUL_WS_7:T:.*
attr FileLog_CUL_WS_7 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_7 room CUL_WS
define SVG_CUL_WS_7 SVG FileLog_CUL_WS_7:temp4hum6:CURRENT
attr SVG_CUL_WS_7 label "CUL_WS_7 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_7 room Plots
define CUL_WS_3 CUL_WS 3
attr CUL_WS_3 room CUL_WS
define FileLog_CUL_WS_3 FileLog ./log/CUL_WS_3-%Y.log CUL_WS_3:T:.*
attr FileLog_CUL_WS_3 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_3 room CUL_WS
define SVG_CUL_WS_3 SVG FileLog_CUL_WS_3:temp4hum6:CURRENT
attr SVG_CUL_WS_3 label "CUL_WS_3 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_3 room Plots
define KS300 KS300 1234
attr KS300 room KS300
define FileLog_KS300 FileLog ./log/KS300-%Y.log KS300:T:.*
attr FileLog_KS300 logtype temp4rain10:Temp/Rain,hum6wind8:Wind/Hum,text
attr FileLog_KS300 room KS300
define SVG_KS300 SVG FileLog_KS300:temp4rain10:CURRENT
attr SVG_KS300 label "KS300 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_KS300 room Plots
define SVG_KS300_2 SVG FileLog_KS300:hum6wind8:CURRENT
attr SVG_KS300_2 label "KS300 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_KS300_2 room Plots
define Haus FLOORPLAN

Gruß
FB 7590, FHEM, 1xCCU2, 6xDECT200, 1xDECT201, 1xHMIP-SWO-PL, 1xHMIP-PS, 1xDECT301,  2xHM-LC-Sw1-PL

Rince

#1
Du hast doch genau diesen Thread schon gestern hier aufgemacht.
http://forum.fhem.de/index.php/topic,20316.0.html

Puschel bat dich gestern schon, nicht zu viele Threads auf zu machen.
Ich bat dich, das LogFile anzuhängen.

Wir haben dir ne Anleitung verlinkt, wie man Fragen stellt, dass sie beantwortet werden.

:(

Du willst echt nicht, dass man dir hilft, oder?
Wer zu meinen Posts eine Frage schreibt und auf eine Antwort wartet, ist hiermit herzlich eingeladen mich per PN darauf aufmerksam zu machen. (Bitte mit Link zum betreffenden Thread)

betateilchen

Zitat von: Puschel74 am 16 Februar 2014, 14:40:32
Hallo,
Kann sein.

Versuch mal das Raute-Symbol für Code und das "Sprechblasensymbol" für Zitate.
Vielleicht fällt dir dann auf das der Text etwas übersichtlicher wird  ;)

Guter Anlaufpunkt ist aber dennoch immer mal das FHEM-Logfile.

Grüße

Edith: Was aber durchaus auch hilfreich sein kann - für dich und auch für uns: Verteile deine Fragen zu EINEM Problem nicht auf mehrere Beiträge sondern konzentriere dich auf einen Beitrag.
Entscheide dich wo du dein LogFile-Problem weiter verfolgen möchtest und schliesse die anderen Beiträge bitte.
Einmal dieser Beitrag hier
und dann dieser http://forum.fhem.de/index.php/topic,20277.msg138265.html#msg138265

Edith2: Und noch was - wenn du schon Antworten bekommst wäre es auch nett wenn du auf diese Beiträge eingehst.
Die Hilfe hier ist freiwillig und wundere dich mal nicht wenn dir freiwillig niemand mehr helfen will.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

betateilchen

ich glaub, das hier ist inzwischen der vierte Thread zu den Loggingproblemen. Und offenbar wurde keine der gegebenen Antworten gelesen, geschweige denn umgesetzt.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

Rince

:(

Es hätte mich ja echt interessiert, wo das Problem liegt.
Aber ich fürchte wir kommen nicht weiter.
Wer zu meinen Posts eine Frage schreibt und auf eine Antwort wartet, ist hiermit herzlich eingeladen mich per PN darauf aufmerksam zu machen. (Bitte mit Link zum betreffenden Thread)

LotharRappsilber

Hallo betateilchen,

dann habe ich das leider nicht verstanden. Ich brauche Hilfe!!!
FB 7590, FHEM, 1xCCU2, 6xDECT200, 1xDECT201, 1xHMIP-SWO-PL, 1xHMIP-PS, 1xDECT301,  2xHM-LC-Sw1-PL

betateilchen

Zitat von: Rince am 17 Februar 2014, 10:58:33Aber ich fürchte wir kommen nicht weiter.

Das fürchte ich auch. Wenn es schon mit der Lesbarkeit einer Fragestellung (mittels der bereits mehrfach beschriebenen code- und quote-Tags) nicht funktioniert.

Ich bin hier raus.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

LotharRappsilber

Habe noch mal die Lesbarkeit verbessert!

attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
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 statefile ./log/fhem.save
attr global updateInBackground 1
attr global userattr devStateIcon devStateStyle fp_Haus icon sortby webCmd
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global
attr WEB stylesheetPrefix dark

define WEBphone FHEMWEB 8084 global
attr WEBphone stylesheetPrefix smallscreen

define WEBtablet FHEMWEB 8085 global
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 autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog ./log/%NAME-%Y.log
attr autocreate weblink 1
attr autocreate weblink_room Plots

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


# If the above notify did not helped, then you probably have to enable some of
# the following lines.  Verify first that /dev/xxx ist correct.

#define FHZ FHZ /dev/USB0
define CUL_0 CUL /dev/ttyACM0@9600 1234
attr CUL_0 rfmode HomeMatic

#define EUL TCM 310 /dev/ttyACM0@57600
#define BscBor TCM 120 /dev/ttyUSB0@9600
#define BscSmartConnect TCM 310 /dev/ttyUSB0@57600

define fbaha FBAHA localhost:2002
define eventTypes eventTypes ./log/eventTypes.txt
define CUL_WS_6 CUL_WS 6
attr CUL_WS_6 room CUL_WS
define FileLog_CUL_WS_6 FileLog ./log/CUL_WS_6-%Y.log CUL_WS_6:T:.*
attr FileLog_CUL_WS_6 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_6 room CUL_WS
define SVG_CUL_WS_6 SVG FileLog_CUL_WS_6:temp4hum6:CURRENT
attr SVG_CUL_WS_6 label "CUL_WS_6 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_6 room Plots
define CUL_WS_2 CUL_WS 2
attr CUL_WS_2 room CUL_WS
define FileLog_CUL_WS_2 FileLog ./log/CUL_WS_2-%Y.log CUL_WS_2:T:.*
attr FileLog_CUL_WS_2 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_2 room CUL_WS
define SVG_CUL_WS_2 SVG FileLog_CUL_WS_2:temp4hum6:CURRENT
attr SVG_CUL_WS_2 label "CUL_WS_2 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_2 room Plots
define CUL_WS_4 CUL_WS 4
attr CUL_WS_4 room CUL_WS
define FileLog_CUL_WS_4 FileLog ./log/CUL_WS_4-%Y.log CUL_WS_4:T:.*
attr FileLog_CUL_WS_4 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_4 room CUL_WS
define SVG_CUL_WS_4 SVG FileLog_CUL_WS_4:temp4hum6:CURRENT
attr SVG_CUL_WS_4 label "CUL_WS_4 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_4 room Plots
define CUL_WS_8 CUL_WS 8
attr CUL_WS_8 room CUL_WS
define FileLog_CUL_WS_8 FileLog ./log/CUL_WS_8-%Y.log CUL_WS_8:T:.*
attr FileLog_CUL_WS_8 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_8 room CUL_WS
define SVG_CUL_WS_8 SVG FileLog_CUL_WS_8:temp4hum6:CURRENT
attr SVG_CUL_WS_8 label "CUL_WS_8 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_8 room Plots
define CUL_WS_1 CUL_WS 1
attr CUL_WS_1 room CUL_WS
define FileLog_CUL_WS_1 FileLog ./log/CUL_WS_1-%Y.log CUL_WS_1:T:.*
attr FileLog_CUL_WS_1 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_1 room CUL_WS
define SVG_CUL_WS_1 SVG FileLog_CUL_WS_1:temp4hum6:CURRENT
attr SVG_CUL_WS_1 label "CUL_WS_1 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_1 room Plots
define CUL_WS_7 CUL_WS 7
attr CUL_WS_7 room CUL_WS
define FileLog_CUL_WS_7 FileLog ./log/CUL_WS_7-%Y.log CUL_WS_7:T:.*
attr FileLog_CUL_WS_7 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_7 room CUL_WS
define SVG_CUL_WS_7 SVG FileLog_CUL_WS_7:temp4hum6:CURRENT
attr SVG_CUL_WS_7 label "CUL_WS_7 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_7 room Plots
define CUL_WS_3 CUL_WS 3
attr CUL_WS_3 room CUL_WS
define FileLog_CUL_WS_3 FileLog ./log/CUL_WS_3-%Y.log CUL_WS_3:T:.*
attr FileLog_CUL_WS_3 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_3 room CUL_WS
define SVG_CUL_WS_3 SVG FileLog_CUL_WS_3:temp4hum6:CURRENT
attr SVG_CUL_WS_3 label "CUL_WS_3 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_3 room Plots
define KS300 KS300 1234
attr KS300 room KS300
define FileLog_KS300 FileLog ./log/KS300-%Y.log KS300:T:.*
attr FileLog_KS300 logtype temp4rain10:Temp/Rain,hum6wind8:Wind/Hum,text
attr FileLog_KS300 room KS300
define SVG_KS300 SVG FileLog_KS300:temp4rain10:CURRENT
attr SVG_KS300 label "KS300 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_KS300 room Plots
define SVG_KS300_2 SVG FileLog_KS300:hum6wind8:CURRENT
attr SVG_KS300_2 label "KS300 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_KS300_2 room Plots
define Haus FLOORPLAN
FB 7590, FHEM, 1xCCU2, 6xDECT200, 1xDECT201, 1xHMIP-SWO-PL, 1xHMIP-PS, 1xDECT301,  2xHM-LC-Sw1-PL

Rince

Nope.
Immer noch kein Quote, immer noch kein LogFile.

Bin auch raus.
Wer zu meinen Posts eine Frage schreibt und auf eine Antwort wartet, ist hiermit herzlich eingeladen mich per PN darauf aufmerksam zu machen. (Bitte mit Link zum betreffenden Thread)

betateilchen

Zitat von: Puschel74 am 16 Februar 2014, 14:40:32Versuch mal das Raute-Symbol für Code und das "Sprechblasensymbol" für Zitate.
Vielleicht fällt dir dann auf das der Text etwas übersichtlicher wird
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

LotharRappsilber

Jetzt das LogFile

2014-02-16_19: 41:02 CUL_WS_1 T: 22,0 H: 50,2
2014-02-16_19: 46:56 CUL_WS_1 T: 22,0 H: 50,2
2014-02-16_19: 49:53 CUL_WS_1 T: 22,0 H: 50,2
2014-02-16_19: 55:48 CUL_WS_1 T: 22,0 H: 50,2
2014-02-16_19: 58:45 CUL_WS_1 T: 22,0 H: 50,2
2014-02-16_20: 01.42 CUL_WS_1 T: 22,0 H: 50,2
2014-02-16_20: 04.39 CUL_WS_1 T: 22,0 H: 50,2
FB 7590, FHEM, 1xCCU2, 6xDECT200, 1xDECT201, 1xHMIP-SWO-PL, 1xHMIP-PS, 1xDECT301,  2xHM-LC-Sw1-PL

LotharRappsilber

Was kann ich noch rein stellen?
FB 7590, FHEM, 1xCCU2, 6xDECT200, 1xDECT201, 1xHMIP-SWO-PL, 1xHMIP-PS, 1xDECT301,  2xHM-LC-Sw1-PL

betateilchen

Zitat von: Puschel74 am 16 Februar 2014, 14:40:32Versuch mal das Raute-Symbol für Code und das "Sprechblasensymbol" für Zitate.
Vielleicht fällt dir dann auf das der Text etwas übersichtlicher wird

(http://up.picr.de/17392205ub.png)
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

betateilchen

Zitat2014-02-16_19: 41:02 CUL_WS_1 T: 22,0 H: 50,2

Wie hast Du eigentlich das Leerzeichen zwischen "..._19:" und "41:..." hinbekommen? Das steht doch nicht wirklich so im Log?
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

LotharRappsilber

Das steht wirklich so im Log!
FB 7590, FHEM, 1xCCU2, 6xDECT200, 1xDECT201, 1xHMIP-SWO-PL, 1xHMIP-PS, 1xDECT301,  2xHM-LC-Sw1-PL