[Gelöst] Fhem hängt sich auf und logfile wird zugemüllt

Begonnen von moerte, 14 Dezember 2018, 07:42:16

Vorheriges Thema - Nächstes Thema

moerte

Hallo meine lieben,
ich habe ein ganz großes Problem. seit einigen Tagen hängt mein Fhem enorm. Manchmal dauert es ewig bis ich auf die Benutzeroberfläche komme, und auch z.B. Schaltbefehle die ich absende dauern ewig eh sie ankommen.

Hab mich auch belesen und kam dann auf das log File.
Hier hab ich schon gemerkt das da was nict stimmt. Da es so groß war dass man es nicht mal laden konnte.
Habe dies gelöscht und einen Neustart von Fhem gemacht.
Da sehe ich das mein Gaszähler das logfile mit Error-Meldungen zu bombadiert.

Hätte evtl jemand eine Lösung warum diese Meldungen kommen? ich werde nicht schau :-(
anbei mal das logfile (nur ein Auszug, da es nach 2-3min ewig lang ist)


2018.12.14 07:23:08 1: Including fhem.cfg
2018.12.14 07:23:09 3: telnetPort: port 7072 opened
2018.12.14 07:23:10 3: WEB: port 8083 opened
2018.12.14 07:23:10 3: WEBphone: port 8084 opened
2018.12.14 07:23:10 3: WEBtablet: port 8085 opened
2018.12.14 07:23:10 2: eventTypes: loaded 1511 events from ./log/eventTypes.txt
2018.12.14 07:23:11 3: HourCounter HourCounter Initialize.220 Init Done with Version 1.0.1.2 - 24.12.2014
2018.12.14 07:23:11 0: HourCounter Gasverbrauch Define.228 parameters: Gasverbrauch HourCounter GPIOGaszaehler:on GPIOGaszaehler:off
2018.12.14 07:23:11 3: Opening CUL868 device /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0
2018.12.14 07:23:11 3: Setting CUL868 serial parameters to 38400,8,N,1
2018.12.14 07:23:14 3: CUL868: Possible commands: BCFiAZEkGMKUYRTVWXefltx
2018.12.14 07:23:14 3: CUL868 device opened
2018.12.14 07:23:14 0: HourCounter Eingang Define.228 parameters: Eingang HourCounter Haustuer:on Haustuer:off
2018.12.14 07:23:14 3: Opening CUL433 device /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
2018.12.14 07:23:14 3: Setting CUL433 serial parameters to 38400,8,N,1
2018.12.14 07:23:15 3: CUL433: Possible commands: BCFiAZEkGMKUYRTVWXefltx
2018.12.14 07:23:15 3: CUL433 device opened
2018.12.14 07:23:17 3: TABLETUI: new ext defined infix:ftui/: dir:./www/tablet/:
2018.12.14 07:23:17 3: Registering HTTPSRV TABLETUI for URL /ftui   and assigned link ftui/ ...
2018.12.14 07:23:19 1: HMCCU: [d_ccu] Initialized version 4.3.008
2018.12.14 07:23:19 1: HMCCU: [d_ccu] HMCCU: Initializing device
2018.12.14 07:23:20 1: HMCCU: [d_ccu] HMCCU: Read 8 devices with 100 channels from CCU 192.168.2.161
2018.12.14 07:23:20 1: HMCCU: [d_ccu] HMCCU: Read 3 interfaces from CCU 192.168.2.161
2018.12.14 07:23:20 1: HMCCU: [d_ccu] HMCCU: Read 0 programs from CCU 192.168.2.161
2018.12.14 07:23:20 1: HMCCU: [d_ccu] HMCCU: Read 0 virtual groups from CCU 192.168.2.161
2018.12.14 07:23:20 1: HMCCU: [d_ccu] RPC server mode intrpc is deprecated. Please use procrpc instead
2018.12.14 07:23:20 3: TankstelleBFT: Defined with URL http://www.clever-tanken.de/tankstelle_details/28952 and interval 600
2018.12.14 07:23:20 3: TankstelleKaufland: Defined with URL http://www.clever-tanken.de/tankstelle_details/12844 and interval 600
2018.12.14 07:23:20 3: TankstelleRewe: Defined with URL http://www.clever-tanken.de/tankstelle_details/13213 and interval 600
2018.12.14 07:23:21 3: Batterie: Unrecognized character \xC2; marked by <-- HERE after > "%0d%" }<-- HERE near column 27 at (eval 56) line 1, <$fh> line 406.

2018.12.14 07:23:21 3: Opening CUL_1 device 192.168.2.186:2000
2018.12.14 07:23:24 3: CUL_1: Possible commands: ABCeFfGiKLlMNRTtUVWXx
2018.12.14 07:23:24 3: CUL_1 device opened
2018.12.14 07:23:25 3: Opening Telefon device 192.168.2.1:1012
2018.12.14 07:23:25 3: FB_CALLMONITOR (Telefon) - unable to access cache file: /opt/fhem/log/reverse_search.txt
2018.12.14 07:23:25 1: Including ./log/fhem.save
2018.12.14 07:23:26 0: HMCCU: Start of RPC server after FHEM initialization in 12 seconds
2018.12.14 07:23:26 1: usb create starting
2018.12.14 07:23:26 3: Probing CUL device /dev/ttyAMA0
2018.12.14 07:23:27 3: Probing TCM_ESP3 device /dev/ttyAMA0
2018.12.14 07:23:27 3: Probing ZWDongle device /dev/ttyAMA0
2018.12.14 07:23:27 3: Probing FRM device /dev/ttyAMA0
2018.12.14 07:23:32 1: usb create end
2018.12.14 07:23:32 0: Featurelevel: 5.9
2018.12.14 07:23:32 0: Server started with 156 defined entities (fhem.pl:17779/2018-11-18 perl:5.020002 os:linux user:fhem pid:16395)
2018.12.14 07:23:32 0: HourCounter Gasverbrauch Run.598 first run done countsOverall:329686
2018.12.14 07:23:32 1: ERROR evaluating my $TYPE='HourCounter';my $EVTPART1='461';my $EVTPART0='countsPerDay:';my $NAME='Gasverbrauch';my $EVENT='countsPerDay: 461';my $SELF='GasGesamtNotify';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 80) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 80) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $EVTPART1='329686';my $TYPE='HourCounter';my $EVENT='countsOverall: 329686';my $SELF='GasGesamtNotify';my $NAME='Gasverbrauch';my $EVTPART0='countsOverall:';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 81) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 81) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $NAME='Gasverbrauch';my $EVTPART0='pulseTimeIncrement:';my $SELF='GasGesamtNotify';my $EVENT='pulseTimeIncrement: 8';my $TYPE='HourCounter';my $EVTPART1='8';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 82) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 82) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $TYPE='HourCounter';my $EVTPART1='8';my $EVTPART0='pulseTimeEdge:';my $NAME='Gasverbrauch';my $SELF='GasGesamtNotify';my $EVENT='pulseTimeEdge: 8';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 83) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 83) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $TYPE='HourCounter';my $EVTPART1='8347';my $EVTPART0='pulseTimePerDay:';my $NAME='Gasverbrauch';my $EVENT='pulseTimePerDay: 8347';my $SELF='GasGesamtNotify';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 84) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 84) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $TYPE='HourCounter';my $EVTPART1='6550958';my $NAME='Gasverbrauch';my $EVTPART0='pulseTimeOverall:';my $EVENT='pulseTimeOverall: 6550958';my $SELF='GasGesamtNotify';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 85) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 85) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $EVENT='pauseTimeIncrement: 0';my $SELF='GasGesamtNotify';my $EVTPART0='pauseTimeIncrement:';my $NAME='Gasverbrauch';my $EVTPART1='0';my $TYPE='HourCounter';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 86) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 86) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $NAME='Gasverbrauch';my $EVTPART0='pauseTimeEdge:';my $SELF='GasGesamtNotify';my $EVENT='pauseTimeEdge: 9';my $TYPE='HourCounter';my $EVTPART1='9';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 87) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 87) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $TYPE='HourCounter';my $EVTPART1='17679';my $NAME='Gasverbrauch';my $EVTPART0='pauseTimePerDay:';my $EVENT='pauseTimePerDay: 17679';my $SELF='GasGesamtNotify';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 88) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 88) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $EVTPART1='29276278';my $TYPE='HourCounter';my $SELF='GasGesamtNotify';my $EVENT='pauseTimeOverall: 29276278';my $NAME='Gasverbrauch';my $EVTPART0='pauseTimeOverall:';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 89) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 89) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $TYPE='HourCounter';my $EVTPART1='0';my $NAME='Gasverbrauch';my $EVTPART0='value:';my $SELF='GasGesamtNotify';my $EVENT='value: 0';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 90) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 90) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $SELF='GasGesamtNotify';my $EVENT='461';my $NAME='Gasverbrauch';my $EVTPART0='461';my $TYPE='HourCounter';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 91) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 91) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $TYPE='HourCounter';my $EVTPART1='10';my $EVTPART0='tickUpdated:';my $NAME='Gasverbrauch';my $SELF='GasGesamtNotify';my $EVENT='tickUpdated: 10';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 92) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 92) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $EVTPART1='3296.86';my $TYPE='HourCounter';my $SELF='GasGesamtNotify';my $EVENT='gesamt_m3: 3296.86';my $NAME='Gasverbrauch';my $EVTPART0='gesamt_m3:';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 93) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 93) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $EVTPART0='tages_m3:';my $NAME='Gasverbrauch';my $EVENT='tages_m3: 4.61';my $SELF='GasGesamtNotify';my $TYPE='HourCounter';my $EVTPART1='4.61';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 94) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 94) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $TYPE='HourCounter';my $EVTPART1='36265.46';my $EVTPART0='gesamt_kwh:';my $NAME='Gasverbrauch';my $EVENT='gesamt_kwh: 36265.46';my $SELF='GasGesamtNotify';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 95) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 95) line 2.

2018.12.14 07:23:32 1: ERROR evaluating my $EVTPART1='50.71';my $TYPE='HourCounter';my $EVENT='tages_kwh: 50.71';my $SELF='GasGesamtNotify';my $EVTPART0='tages_kwh:';my $NAME='Gasverbrauch';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 96) line 2.

2018.12.14 07:23:32 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 96) line 2.

2018.12.14 07:23:32 3: delete tmp_time_gas : Please define tmp_time_gas first
2018.12.14 07:23:37 3: telnetForBlockingFn_1544768617: port 33539 opened
2018.12.14 07:23:38 0: HourCounter Eingang Run.598 first run done countsOverall:4821
2018.12.14 07:23:38 3: Telefon device opened
2018.12.14 07:23:38 1: HMCCU: [d_ccu] Internal RPC server is depricated and will be removed soon. Set ccuflags to procrpc
2018.12.14 07:23:38 2: HMCCU: Create child process with timeouts 0.01 and 0.25
2018.12.14 07:23:38 0: HMCCU: Child process for server CB2001 started with PID 16417
2018.12.14 07:23:38 0: CCURPC: CB2001 Creating file queue /tmp/ccuqueue_2001_1
2018.12.14 07:23:38 0: CCURPC: Initializing RPC server CB2001
2018.12.14 07:23:38 1: HMCCU: [d_ccu] All RPC servers starting
2018.12.14 07:23:38 0: RPC server(s) starting
2018.12.14 07:23:39 0: CCURPC: Callback server created listening on port 7411
2018.12.14 07:23:39 1: CCURPC: CB2001 Adding callback for events
2018.12.14 07:23:39 1: CCURPC: CB2001 Adding callback for new devices
2018.12.14 07:23:39 1: CCURPC: CB2001 Adding callback for deleted devices
2018.12.14 07:23:39 1: CCURPC: CB2001 Adding callback for modified devices
2018.12.14 07:23:39 1: CCURPC: CB2001 Adding callback for replaced devices
2018.12.14 07:23:39 1: CCURPC: CB2001 Adding callback for readded devices
2018.12.14 07:23:39 1: CCURPC: CB2001 Adding callback for list devices
2018.12.14 07:23:39 0: CCURPC: CB2001 Entering server loop
2018.12.14 07:23:40 3: ABFALL myABFALL - CALENDAR:AbfallGoogleCalender triggered, updating ABFALL myABFALL ...
2018.12.14 07:23:43 0: HMCCU: Received SL event. RPC server CB2001 enters server loop
2018.12.14 07:23:50 1: HMCCU: Registering callback http://192.168.2.40:7411/fh2001 with ID CB2001 at http://192.168.2.161:2001
2018.12.14 07:23:51 1: CCURPC: CB2001 ListDevices. Sending init to HMCCU
2018.12.14 07:23:51 1: HMCCU: RPC callback with URL http://192.168.2.40:7411/fh2001 initialized
2018.12.14 07:23:51 2: CCURPC: CB2001 NewDevice received 108 device specifications
2018.12.14 07:23:56 0: HMCCU: Received IN event. RPC server CB2001 initialized.
2018.12.14 07:23:56 1: HMCCU: [d_ccu] All RPC servers running
2018.12.14 07:23:56 2: HMCCU: [d_ccu] Updated devices. Success=7 Failed=0
2018.12.14 07:24:43 1: ERROR evaluating my $EVTPART1='462';my $TYPE='HourCounter';my $SELF='GasGesamtNotify';my $EVENT='countsPerDay: 462';my $NAME='Gasverbrauch';my $EVTPART0='countsPerDay:';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 747) line 2, <GEN10> line 2.

2018.12.14 07:24:43 3: GasGesamtNotify return value: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 747) line 2, <GEN10> line 2.

2018.12.14 07:24:43 1: ERROR evaluating my $TYPE='HourCounter';my $EVTPART1='329687';my $EVTPART0='countsOverall:';my $NAME='Gasverbrauch';my $SELF='GasGesamtNotify';my $EVENT='countsOverall: 329687';{
my $GasUmlaufzeit=ReadingsVal(,,Gasverbrauch","pauseTimeEdge","0″)+ReadingsVal(,,Gasverbrauch","pulseTimeEdge","0″);
my $GasProStd=0;
if ($GasUmlaufzeit > 0) {$GasProStd=3600/$GasUmlaufzeit;}
my $GasProStdRounded=int(100 * $GasProStd + 0.5) / 100;
fhem(,,set d_GasverbrauchStd $GasProStdRounded");
if(defined($defs{,,tmp_time_gas"})) {
fhem(,,modify tmp_time_gas +00:02:00");
} else {
fhem(,,define tmp_time_gas at +00:02:00 set d_GasverbrauchStd 0;; setreading Gasverbrauch pauseTimeEdge 0;;
setreading Gasverbrauch pulseTimeEdge 0");
}
}
: Unrecognized character \xE2; marked by <-- HERE after adingsVal(<-- HERE near column 31 at (eval 748) line 2, <GEN10> line 2.


Ich weiß nicht wo der Fehler steckt - seht ihr anhand des files evtl wo ich und was ich ändern muss?

LG und einen schönen Tag

Byte09

#1
Morgen ... nur schnell überflogen. Was mir auffällt sind die 'gänsefüschen unten' in deiner Routine vor den DeviceNamen.  Habe ich so noch nicht gesehen nd sollte so aussehen : "device".

ReadingsVal("Gasverbrauch","pauseTimeEdge","0″)

Gruss Byte09

Gesendet von meinem SM-G900F mit Tapatalk

moerte

Zitat von: Byte09 am 14 Dezember 2018, 08:00:53
Morgen ... nur schnell überflogen. Was mir auffällt sind die 'gänsefüschen unten' in deiner Routine vor den DeviceNamen.  Habe ich so noch nicht gesehen nd sollte so aussehen : "device".

Gruss Byte09

Gesendet von meinem SM-G900F mit Tapatalk

Hey und danke für deine Mühe ...
meinst du z.B. dies?:
...,,Gasverbrauch","pauseTimeEdge"..

Byte09

Ja, ändere das mal in "...."

Ich kann aber auch daneben liegen, kenne ich so nur nicht.


Gruss Byte09

moerte

Zitat von: Byte09 am 14 Dezember 2018, 08:10:08
Ja, ändere das mal in "...."

Ich kann aber auch daneben liegen, kenne ich so nur nicht.


Gruss Byte09

Was für ein geschultes Auge am frühen Morgen - keine Ahnung wie das passiert ist. Weil so lässt sich es nicht mal modifizieren.
hab es angepasst und ein neues logfile schreiben lassen nach restart - jetzt schauts erstmal besser aus. Mal sehen ob Fhem jetzt flüssiger läuft .

Vielen Dank

Christoph Morrison

Zitat von: moerte am 14 Dezember 2018, 08:27:45
Was für ein geschultes Auge am frühen Morgen - keine Ahnung wie das passiert ist. Weil so lässt sich es nicht mal modifizieren.

Irgendeiner deiner Editoren hat typografische Anführungszeichen eingebaut. Vielleicht die Autokorrektur auf deinem Mobilgerät?

moerte

welcher editor da jetzt verantwortlich war - keine Anung.
Aber es läuft wieder!
Zwar noch ein Problem mit einen nanoCUL, aber das hat hier nichts zu suchen, dafür evtl mal ein anderes Thema - wenn ich es nicht selbst hinbekomme :D

Wünsche euch ein tolles Wochenende