fhem.cfg speichern - fhem startet nicht mehr

Begonnen von guy.brush, 23 März 2013, 22:05:24

Vorheriges Thema - Nächstes Thema

guy.brush

Wenn ich über die FHEM Oberfläche die fhem.cfg speichere, startet fhem nicht mehr durch. Im Terminal ./startfhem geht jedoch und alles läuft. Zuletzt hatte ich die autocreate Anweisungen auskommentiert und xbmc eingebaut / getestet. Daran scheint es aber nicht zu liegen. Habe dann die Datei über Fritz!NAS geladen und doe letzten Änderungen rückgängig gemacht.

Das ist meine fhem.cfg, wobei ich nicht glaube das es an der liegt.


attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd none
attr global statefile ./log/fhem.save
attr global userattr fm_fav fm_groups fm_name fm_order fm_type fm_view icon room_map webCmd
attr global verbose 3

#
# pgm2 / autocreate configfile. Take a look at the other examples for more.
#

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 CUL /dev/ttyACM0@38400 1234
#attr CUL rfmode HomeMatic

#define EUL TCM 310 /dev/ttyACM0@38400
#define BscBor TCM 120 /dev/ttyUSB0@9600
#define BscSmartConnect TCM 310 /dev/ttyUSB0@57600
define CUL_0 CUL /dev/ttyACM0@38400 1034
attr CUL_0 alias CUL Stick
define FS20_c04b00 FS20 c04b 00
attr FS20_c04b00 alias Turmlampe
attr FS20_c04b00 fm_name Turmlampe
attr FS20_c04b00 fm_type on-off
attr FS20_c04b00 fm_view 0,1
attr FS20_c04b00 model fs20st
attr FS20_c04b00 room Wohnzimmer
define FileLog_FS20_c04b00 FileLog ./log/FS20_c04b00-%Y.log FS20_c04b00
attr FileLog_FS20_c04b00 logtype text
attr FileLog_FS20_c04b00 room FS20
define FS20_c04b01 FS20 c04b 01
attr FS20_c04b01 alias Schreibtisch
attr FS20_c04b01 fm_name Schreibtisch
attr FS20_c04b01 fm_type slider
attr FS20_c04b01 fm_view 0,0
attr FS20_c04b01 model fs20di
attr FS20_c04b01 room Wohnzimmer
define FileLog_FS20_c04b01 FileLog ./log/FS20_c04b01-%Y.log FS20_c04b01
attr FileLog_FS20_c04b01 logtype text
attr FileLog_FS20_c04b01 room FS20
define Fhemobile dummy
define telnetPort telnet 7072 global
define FS20_c04b03 FS20 c04b 03
attr FS20_c04b03 alias Kugellampe
attr FS20_c04b03 fm_name Kugellampe
attr FS20_c04b03 room Wohnzimmer
define FileLog_FS20_c04b03 FileLog ./log/FS20_c04b03-%Y.log FS20_c04b03
attr FileLog_FS20_c04b03 logtype text
attr FileLog_FS20_c04b03 room FS20
define FS20_c04b02 FS20 c04b 02
attr FS20_c04b02 alias Lichtschlauch
attr FS20_c04b02 fm_name Lichtschlauch
attr FS20_c04b02 room Wohnzimmer
define FileLog_FS20_c04b02 FileLog ./log/FS20_c04b02-%Y.log FS20_c04b02
attr FileLog_FS20_c04b02 logtype text
attr FileLog_FS20_c04b02 room FS20
define HMS100TF_f3da HMS f3da
attr HMS100TF_f3da alias Temp.Wohnzimmer
attr HMS100TF_f3da fm_name Temp.Wohnzimmer
attr HMS100TF_f3da fm_view 1,0
attr HMS100TF_f3da model hms100-tf
attr HMS100TF_f3da room Temperaturen
define FileLog_HMS100TF_f3da FileLog ./log/HMS100TF_f3da-%Y.log HMS100TF_f3da
attr FileLog_HMS100TF_f3da alias FileLog Temp.Wohnzimmer
attr FileLog_HMS100TF_f3da logtype text
attr FileLog_HMS100TF_f3da room Temperaturen
define CUL_WS_1 CUL_WS 1
attr CUL_WS_1 alias Temp.Balkon
attr CUL_WS_1 fm_name Temp.Balkon
attr CUL_WS_1 fm_view 1,0
attr CUL_WS_1 icon icoTempBaum
attr CUL_WS_1 model S300TH
attr CUL_WS_1 room Temperaturen
define FileLog_CUL_WS_1 FileLog ./log/CUL_WS_1-%Y.log CUL_WS_1:T:.*
attr FileLog_CUL_WS_1 alias Log Aussentemp.
attr FileLog_CUL_WS_1 icon icoLog
attr FileLog_CUL_WS_1 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_1 room Temperaturen
define weblink_CUL_WS_1 weblink fileplot FileLog_CUL_WS_1:temp4hum6:CURRENT
attr weblink_CUL_WS_1 label "CUL_WS_1 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr weblink_CUL_WS_1 room Plots
#define MailOnNotify notify FS20_c04b00 {fb_mail("Notify Test","@ %");;}
define HMS100TF_5f96 HMS 5f96
attr HMS100TF_5f96 alias Temp.Schlafzimmer
attr HMS100TF_5f96 fm_name Temp.Schlafzimmer
attr HMS100TF_5f96 room Temperaturen
define FileLog_HMS100TF_5f96 FileLog ./log/HMS100TF_5f96-%Y.log HMS100TF_5f96
attr FileLog_HMS100TF_5f96 alias Temp.Schlafzimmer
attr FileLog_HMS100TF_5f96 logtype text
attr FileLog_HMS100TF_5f96 room Temperaturen
define HMS100TF_9cbc HMS 9cbc
attr HMS100TF_9cbc alias Temp.Bad
attr HMS100TF_9cbc fm_name Temp.Bad
attr HMS100TF_9cbc room Temperaturen
define FileLog_HMS100TF_9cbc FileLog ./log/HMS100TF_9cbc-%Y.log HMS100TF_9cbc
attr FileLog_HMS100TF_9cbc alias FileLog Temp.Bad
attr FileLog_HMS100TF_9cbc logtype text
attr FileLog_HMS100TF_9cbc room Temperaturen
define FS20_88b000 FS20 88b0 00
attr FS20_88b000 alias Klingel1
attr FS20_88b000 room FS20
define FileLog_FS20_88b000 FileLog ./log/FS20_88b000-%Y.log FS20_88b000
attr FileLog_FS20_88b000 logtype text
attr FileLog_FS20_88b000 room FS20
define FS20_88b001 FS20 88b0 01
attr FS20_88b001 alias Klingel2
attr FS20_88b001 room FS20
define FileLog_FS20_88b001 FileLog ./log/FS20_88b001-%Y.log FS20_88b001
attr FileLog_FS20_88b001 logtype text
attr FileLog_FS20_88b001 room FS20
define MailOnKlingel notify FS20_88b000 {if ("%" eq "off"){fb_mail("Klingel wurde betaetigt","@ %");;}}
define HMS100TF_6e9f HMS 6e9f
attr HMS100TF_6e9f room HMS
define FileLog_HMS100TF_6e9f FileLog ./log/HMS100TF_6e9f-%Y.log HMS100TF_6e9f
attr FileLog_HMS100TF_6e9f logtype text
attr FileLog_HMS100TF_6e9f room HMS
define Fernseher VIERA 192.168.66.123
attr Fernseher webCmd off
define xbmc XBMC 192.168.66.30 http xbian raspberry
define fb FB_CALLMONITOR fritz.box
attr fb reverse-search all
define MuteTvOnCall notify fb:event:.ring {fhem "set Fernseher mute on";; fhem "set xbmc pause";;}
define MailOnCall notify fb:event:.ring { fb_mail("Anruf auf Festnetz", "");;}
define FS20_0bad00 FS20 0bad 00
attr FS20_0bad00 alias Waschmaschine
attr FS20_0bad00 room Bad
define FileLog_FS20_0bad00 FileLog ./log/FS20_0bad00-%Y.log FS20_0bad00
attr FileLog_FS20_0bad00 logtype text
attr FileLog_FS20_0bad00 room Bad


guy.brush

Hab eine Stunde nichts mehr gemacht. Jetzt gehts wieder.

Puschel74

Hallo,

bitte nicht komplette seitenlange Konfigs posten.

Interessanter ist die Fehlermeldung im fhem-Logfile warum fhem nicht startet.

Niemand, vermute ich mal, wird hier deine Konfig auf sein System werfen um zu schauen warum es bei dir nicht startet ;-)

Wenn es jetzt aber wieder läuft - umso besser.

Grüße
Zotac BI323 als Server mit DBLog
CUNO für FHT80B, 3 HM-Lan per vCCU, RasPi mit CUL433 für Somfy-Rollo (F2F), RasPi mit I2C(LM75) (F2F), RasPi für Panstamp+Vegetronix +SONOS(F2F)
Ich beantworte keine Supportanfragen per PM! Bitte im Forum suchen oder einen Beitrag erstellen.