Probleme bei der Einrichtung von DbLog

Begonnen von wm1962, 26 November 2018, 17:57:01

Vorheriges Thema - Nächstes Thema

wm1962

Hallo zusammen,
ich habe mein FHEM auf DbLog umgestellt.
Wenn ich mit SVG-Plot auf die Daten zugreife, werden keine Werte angezeigt.
# ==============================================================
# DB-Log einrichten
# ==============================================================
define DbLog DbLog ./db.conf .*:.*
attr DbLog DbLogSelectionMode Exclude


Wenn ich die geloggten Daten in SQLite ansehe, dann wird der Wert des Reading in die Spalte "UNIT" geschrieben.
Der sollte doch in der Spalte "VALUE" sein, siehe z.B. den Wert "brightness".

sqlite> select * from HISTORY;
2018-11-26 17:35:28|DG_Lichtsensor|CUL_HM|battery: ok|battery|ok|
2018-11-26 17:35:28|DG_Lichtsensor|CUL_HM|brightness: 0.01|brightness|0.01|
2018-11-26 17:35:28|DG_Lichtsensor|CUL_HM|state: B: 0.01|state|B|0.01


Kann mir jemand weiterhelfen?


RPI 3 mit FHEM, 1x Stackable CUL (433MHz)

DS_Starter

Guten Abend,

jetzt habe ich mir deinen Post mehrmals angeschaut und kann nicht nachvollziehen woran du erkennst dass der Wert des Reading in die Spalte "UNIT" geschrieben würde ?

Ich habe dir mal nur eine Zeile "aufgedröselt":


      Timestamp    |   Device      |   Type  |     Event           |  Reading  |  Value |
2018-11-26 17:35:28|DG_Lichtsensor |CUL_HM   |brightness: 0.01     |brightness |  0.01  |


Jetzt kommt es wahrscheinlich eher darauf an wie du dein SVG-Device definiert hast.

Vom DbLog mach mal bitte ein "list <DbLog-Device>"  und außerdem bitte noch "set <DbLog-Device> configCheck".
Beide Ausgaben dann posten.

Grüße
Heiko
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

wm1962

Hallo Heiko,

zunächst vielen Dank für Deine Unterstützung,
Mit der Darstellung da hast du Recht, da habe ich mich vertan.

Die Ausgaben sehen wie folgt aus:
"list DbLog"
Internals:
   COLUMNS    field length used for Device: 64, Type: 64, Event: 512, Reading: 64, Value: 128, Unit: 32
   CONFIGURATION ./db.conf
   DEF        ./db.conf .*:.*
   MODE       synchronous
   MODEL      SQLITE
   NAME       DbLog
   NR         41
   NTFY_ORDER 50-DbLog
   PID        628
   REGEXP     .*:.*
   STATE      connected
   TYPE       DbLog
   VERSION    3.13.0
   dbconn     SQLite:dbname=/opt/fhem/fhem.db
   dbuser     
   HELPER:
     COLSET     1
     DEVICECOL  64
     EVENTCOL   512
     OLDSTATE   connected
     READINGCOL 64
     TYPECOL    64
     UNITCOL    32
     VALUECOL   128
   Helper:
     DBLOG:
       state:
         DbLog:
           TIME       1543250061.09822
           VALUE      connected
   READINGS:
     2018-11-26 23:05:08   state           connected
   cache:
     index      0
Attributes:
   DbLogSelectionMode Exclude
   room       System


set DbLog configcheck
Result of DbLog version check

Used DbLog version: 3.13.0
Recommendation: Your running version may be the current one. Please check for updates of DbLog periodically.

Result of configuration read check

Connection parameter store type: file
Connection parameter: Connection -> SQLite:dbname=/opt/fhem/fhem.db, User -> , Password -> read o.k.

Result of connection check

Connection to database /opt/fhem/fhem.db successfully done.
Recommendation: settings o.k.

Result of encoding check

Encoding used by DB /opt/fhem/fhem.db: UTF-8
Recommendation: This is only an information about text encoding used by the main database.

Result of logmode check

Logmode of DbLog-device DbLog is: synchronous
Recommendation: Switch DbLog to the asynchronous logmode by setting the 'asyncMode' attribute. The advantage of this mode is to log events non-blocking.
There are attributes 'syncInterval' and 'cacheLimit' relevant for this working mode.
Please refer to commandref for further information about these attributes.

Result of plot generation method check

WARNING - at least one of your FHEMWEB devices have attribute "plotfork = 1" not set. This may cause blocking situations when creating plots.
WEB: plotfork=0
WEBphone: plotfork=0
WEBtablet: plotfork=0
Recommendation: You should set attribute "plotfork = 1" in relevant devices

Result of table 'history' check

Column width set in DB /opt/fhem/fhem.db.history: 'DEVICE' = 64, 'TYPE' = 64, 'EVENT' = 512, 'READING' = 64, 'VALUE' = 128, 'UNIT' = 32
Column width used by DbLog: 'DEVICE' = 64, 'TYPE' = 64, 'EVENT' = 512, 'READING' = 64, 'VALUE' = 128, 'UNIT' = 32
Recommendation: settings o.k.

Result of table 'current' check

Column width set in DB /opt/fhem/fhem.db.current: 'DEVICE' = 64, 'TYPE' = 64, 'EVENT' = 512, 'READING' = 64, 'VALUE' = 128, 'UNIT' = 32
Column width used by DbLog: 'DEVICE' = 64, 'TYPE' = 64, 'EVENT' = 512, 'READING' = 64, 'VALUE' = 128, 'UNIT' = 32
Recommendation: settings o.k.

Result of check 'Search_Idx' availability

Index 'Search_Idx' exists and contains recommended fields 'DEVICE', 'READING', 'TIMESTAMP'.
Recommendation: settings o.k.

Result of check 'Report_Idx' availability for DbRep-devices

No DbRep-device assigned to DbLog is used. Hence an index for DbRep isn't needed.
Recommendation: settings o.k.


Viele Grüße Wilfried
RPI 3 mit FHEM, 1x Stackable CUL (433MHz)

DS_Starter

Hallo Wilfried,

also DbLog-seitig sieht alles ok aus. An dieser Stelle brauchst du nicht weitersuchen.
(Mal abgesehen davon dass du dir die Empfehlungen des configCheck anschauen solltest, asyncMode etc.)

Nun müsste man sich ein SVG-DEvice näher anschauen wie deses definiert ist, was genau nicht angezeigt wird.
Auch die Definition des GPLOTFILE ist wichtig.
Ein grober Test ist auch die Verwendung der Taste "show preprocessed input" im SVG Editor.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

wm1962

Hallo Heiko,

das GPLOTFILE "SVG_DbLog_DG_Lichtsensor_1" sieht wie folgt aus:
# Created by FHEM/98_SVG.pm, 2018-11-26 18:18:01
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set title '<L1>'
set ytics
set y2tics
set grid
set ylabel ""
set y2label "Helligkeit"
set y2range [-100:10000]

#DbLog brightness:::

plot "<IN>" using 1:2 axes x1y2 title 'Line 1' ls l1 lw 1 with lines


das SVG:
list SVG_DbLog_DG_Lichtsensor_1
Internals:
   DEF        DbLog:SVG_DbLog_DG_Lichtsensor_1:HISTORY
   GPLOTFILE  SVG_DbLog_DG_Lichtsensor_1
   LOGDEVICE  DbLog
   LOGFILE    HISTORY
   NAME       SVG_DbLog_DG_Lichtsensor_1
   NOTIFYDEV  global
   NR         467
   STATE      initialized
   TYPE       SVG
Attributes:
   room       Plots


VG Wilfried
RPI 3 mit FHEM, 1x Stackable CUL (433MHz)

DS_Starter

Hallo Wilfried,

ich denke das gplot file ist nicht korrekt. Speziell die Zeile mit #DbLog.
Vergleiche mit meinem Beispiel

#LogDBShort PR.GTag.Heiko:presenceAsNum::

Zuerst kommt das DbLog Device , dann das auszuwertende Device und dann das Reading. Das Device fehlt bei dir.
Hast du das File mit dem SVG Editor erstellt ? Im Wiki gibt es auch eine Anleitung zur Umstellung alter Filelog SVGs nach DbLog.

Grüße
Heiko
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

wm1962

Hallo Heiko,

das war der entscheidende Hinweis. Das Device hatte gefehlt .
Ich hatte zwar nach der Anleitung im Wiki versucht die Umstellung machen, dann aber irgendwie den Faden verloren.

Nochmals vielen Dank  :)

VG Wilfried
RPI 3 mit FHEM, 1x Stackable CUL (433MHz)

wm1962

Hallo Heiko,

ich habe noch folgendes Problem und zwar bekomme ich sehr viele FM bei DbLog wie:

2018.11.27 17:59:58 2: DBLog retry failed.
2018.11.27 18:00:28 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 402.

2018.11.27 18:00:58 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 402.

2018.11.27 18:00:58 2: DBLog retry failed.
2018.11.27 18:01:08 3: Opening MAXCube device 192.168.177.20:62910
2018.11.27 18:01:08 3: MAXCube device opened
2018.11.27 18:01:28 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 403.

2018.11.27 18:01:58 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 403.

2018.11.27 18:01:58 2: DBLog retry failed.
2018.11.27 18:02:28 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 404.

2018.11.27 18:02:58 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 404.

2018.11.27 18:02:58 2: DBLog retry failed.
2018.11.27 18:03:28 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 405.

2018.11.27 18:03:58 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 405.

2018.11.27 18:03:58 2: DBLog retry failed.
2018.11.27 18:04:09 3: Opening MAXCube device 192.168.177.20:62910
2018.11.27 18:04:09 3: MAXCube device opened
2018.11.27 18:04:28 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 406.

2018.11.27 18:04:58 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 406.

2018.11.27 18:04:58 2: DBLog retry failed.
2018.11.27 18:05:28 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 407.

2018.11.27 18:05:58 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 407.

2018.11.27 18:05:58 2: DBLog retry failed.
2018.11.27 18:06:28 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 408.

2018.11.27 18:06:58 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 408.

2018.11.27 18:06:58 2: DBLog retry failed.
2018.11.27 18:07:10 3: Opening MAXCube device 192.168.177.20:62910
2018.11.27 18:07:10 3: MAXCube device opened
2018.11.27 18:07:28 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 409.

2018.11.27 18:07:59 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 409.

2018.11.27 18:07:59 2: DBLog retry failed.


List DbLOg:
Internals:
   COLUMNS    field length used for Device: 64, Type: 64, Event: 512, Reading: 64, Value: 128, Unit: 32
   CONFIGURATION ./db.conf
   DEF        ./db.conf .*:.*
   MODE       asynchronous
   MODEL      SQLITE
   NAME       DbLog
   NR         41
   NTFY_ORDER 50-DbLog
   PID        9439
   REGEXP     .*:.*
   STATE      connected
   TYPE       DbLog
   VERSION    3.13.0
   dbconn     SQLite:dbname=/opt/fhem/fhem.db
   dbuser     
   HELPER:
     COLSET     1
     DEVICECOL  64
     EVENTCOL   512
     OLDSTATE   connected
     READINGCOL 64
     TYPECOL    64
     UNITCOL    32
     VALUECOL   128
   READINGS:
     2018-11-27 18:10:16   CacheUsage      0
     2018-11-27 18:10:16   NextSync        2018-11-27 18:10:46 or if CacheUsage 500 reached
     2018-11-27 18:10:16   state           connected
   cache:
     index      33
Attributes:
   DbLogSelectionMode Include
   asyncMode  1
   room       System
   verbose    3


VG Wilfried
RPI 3 mit FHEM, 1x Stackable CUL (433MHz)

DS_Starter

#8
Hallo Wilfried,

uups, dann benutzt du ein Modul dessen Entwickler eine Backdoor im DbLog nutzt.
Es gibt nämlich für Modulentwickler die Möglichkeit, Daten direkt in die DB zu schreiben ohne Umweg über die Events.
Wenn DbLog bereits in die DB schreibt, darf zu diesem Zeitpunkt (bei SQLite) kein anderer und die FM kommt.

Zwei Dinge könntest du mal versuchen:

1. das Attribut syncInterval auf einen höheren Wert setzen, z.B. 90
2. verbose 4 setzen um zu sehen wer da versucht hinten rum in die DB zu schreiben. Der Eintrag beginnt im Log dann mit
    Executing ...
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

wm1962

Hallo Heiko,

Ich hab keine Ahnung wie ich zu so einer Version komme.
anbei ein Auszug aus der FileLog:
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: DG_Kueche_WEEKPROFILE
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: DG_Kueche_WEEKPROFILE , Event: profile_count: 1
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 2 for device: hk_DG_Kueche
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: firmware: 1.0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: testresult: 0
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: DG_Kueche_WEEKPROFILE
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: DG_Kueche_WEEKPROFILE , Event: profile_count: 1
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 27 for device: hk_DG_Kueche
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: ecoTemperature: 16.5
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: comfortTemperature: 21.5
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: maximumTemperature: on
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: minimumTemperature: off
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: boostValveposition: 80
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: boostDuration: 5
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: measurementOffset: 0.0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: windowOpenTemperature: 12.0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: windowOpenDuration: 15
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: maxValveSetting: 100
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: valveOffset: 0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: decalcification: Sat 12:00
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-0-Sat-time: 00:00-06:00  /  06:00-09:05  /  09:05-12:00  /  12:00-15:30  /  15:30-19:00  /  19:00-22:30  /  22:30-00:00
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-0-Sat-temp: 12.0 °C  /  20.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-1-Sun-time: 00:00-06:00  /  06:00-09:05  /  09:05-12:00  /  12:00-15:30  /  15:30-19:00  /  19:00-22:30  /  22:30-00:00
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-1-Sun-temp: 12.0 °C  /  20.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-2-Mon-time: 00:00-06:00  /  06:00-09:05  /  09:05-12:00  /  12:00-15:30  /  15:30-19:00  /  19:00-22:30  /  22:30-00:00
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-2-Mon-temp: 12.0 °C  /  20.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-3-Tue-time: 00:00-06:00  /  06:00-09:05  /  09:05-12:00  /  12:00-15:30  /  15:30-19:00  /  19:00-22:30  /  22:30-00:00
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-3-Tue-temp: 12.0 °C  /  20.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-4-Wed-time: 00:00-06:00  /  06:00-09:05  /  09:05-12:00  /  12:00-15:30  /  15:30-19:00  /  19:00-22:30  /  22:30-00:00
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-4-Wed-temp: 12.0 °C  /  20.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-5-Thu-time: 00:00-06:00  /  06:00-09:05  /  09:05-12:00  /  12:00-15:30  /  15:30-19:00  /  19:00-22:30  /  22:30-00:00
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-5-Thu-temp: 12.0 °C  /  20.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-6-Fri-time: 00:00-06:00  /  06:00-09:05  /  09:05-12:00  /  12:00-15:30  /  15:30-19:00  /  19:00-22:30  /  22:30-00:00
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: weekprofile-6-Fri-temp: 12.0 °C  /  20.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C  /  12.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: state: 12.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: DG_Kueche_WEEKPROFILE
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: DG_Kueche_WEEKPROFILE , Event: profile_count: 1
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: hk_DG_Kueche
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: state: 12.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: DG_Jannik_WEEKPROFILE
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: DG_Jannik_WEEKPROFILE , Event: profile_count: 1
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 6 for device: hk_DG_Jannik
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Jannik , Event: mode: auto
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Jannik , Event: battery: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Jannik , Event: batteryState: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Jannik , Event: desiredTemperature: 12.0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Jannik , Event: valveposition: 0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Jannik , Event: state: 12.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: DG_Jannik_WEEKPROFILE
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: DG_Jannik_WEEKPROFILE , Event: profile_count: 1
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 5 for device: hk_DG_Jannik
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Jannik , Event: MAXLAN_initialized: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Jannik , Event: MAXLAN_error: 0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Jannik , Event: MAXLAN_errorInCommand:
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Jannik , Event: MAXLAN_valid: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Jannik , Event: MAXLAN_isAnswer: 0
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 4 for device: Fk_EG_Kueche
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_EG_Kueche , Event: battery: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_EG_Kueche , Event: batteryState: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_EG_Kueche , Event: onoff: 0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_EG_Kueche , Event: state: closed
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 5 for device: Fk_EG_Kueche
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_EG_Kueche , Event: MAXLAN_initialized: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_EG_Kueche , Event: MAXLAN_error: 0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_EG_Kueche , Event: MAXLAN_errorInCommand:
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_EG_Kueche , Event: MAXLAN_valid: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_EG_Kueche , Event: MAXLAN_isAnswer: 0
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: DG_Bad_WEEKPROFILE
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: DG_Bad_WEEKPROFILE , Event: profile_count: 1
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 7 for device: hk_DG_Bad
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Bad , Event: mode: auto
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Bad , Event: battery: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Bad , Event: batteryState: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Bad , Event: desiredTemperature: 12.0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Bad , Event: temperature: 12.7
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Bad , Event: valveposition: 5
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Bad , Event: state: 12.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: DG_Bad_WEEKPROFILE
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: DG_Bad_WEEKPROFILE , Event: profile_count: 1
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 5 for device: hk_DG_Bad
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Bad , Event: MAXLAN_initialized: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Bad , Event: MAXLAN_error: 0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Bad , Event: MAXLAN_errorInCommand:
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Bad , Event: MAXLAN_valid: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Bad , Event: MAXLAN_isAnswer: 0
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 8 for device: hk_EG_Bad
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_EG_Bad , Event: mode: auto
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_EG_Bad , Event: battery: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_EG_Bad , Event: batteryState: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_EG_Bad , Event: desiredTemperature: 20.0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_EG_Bad , Event: temperature: 21.3
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_EG_Bad , Event: valveposition: 6
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_EG_Bad , Event: state: 20.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_EG_Bad , Event: RSSI: -63.5
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: EG_Bad_WEEKPROFILE
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: EG_Bad_WEEKPROFILE , Event: profile_count: 1
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 5 for device: hk_EG_Bad
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_EG_Bad , Event: MAXLAN_initialized: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_EG_Bad , Event: MAXLAN_error: 0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_EG_Bad , Event: MAXLAN_errorInCommand:
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_EG_Bad , Event: MAXLAN_valid: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_EG_Bad , Event: MAXLAN_isAnswer: 0
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: EG_Bad_WEEKPROFILE
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: EG_Bad_WEEKPROFILE , Event: profile_count: 1
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 5 for device: Fk_DG_Bad
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_DG_Bad , Event: battery: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_DG_Bad , Event: batteryState: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_DG_Bad , Event: onoff: 0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_DG_Bad , Event: state: closed
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_DG_Bad , Event: RSSI: -76.5
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 5 for device: Fk_DG_Bad
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_DG_Bad , Event: MAXLAN_initialized: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_DG_Bad , Event: MAXLAN_error: 0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_DG_Bad , Event: MAXLAN_errorInCommand:
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_DG_Bad , Event: MAXLAN_valid: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: Fk_DG_Bad , Event: MAXLAN_isAnswer: 0
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: DG_Buero_WEEKPROFILE
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: DG_Buero_WEEKPROFILE , Event: profile_count: 1
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 6 for device: hk_DG_Buero
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Buero , Event: mode: auto
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Buero , Event: battery: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Buero , Event: batteryState: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Buero , Event: desiredTemperature: 12.0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Buero , Event: valveposition: 0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Buero , Event: state: 12.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: DG_Buero_WEEKPROFILE
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: DG_Buero_WEEKPROFILE , Event: profile_count: 1
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 5 for device: hk_DG_Buero
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Buero , Event: MAXLAN_initialized: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Buero , Event: MAXLAN_error: 0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Buero , Event: MAXLAN_errorInCommand:
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Buero , Event: MAXLAN_valid: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Buero , Event: MAXLAN_isAnswer: 0
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: DG_Kueche_WEEKPROFILE
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: DG_Kueche_WEEKPROFILE , Event: profile_count: 1
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 6 for device: hk_DG_Kueche
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: mode: auto
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: battery: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: batteryState: ok
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: desiredTemperature: 12.0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: valveposition: 0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: state: 12.0 °C
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 1 for device: DG_Kueche_WEEKPROFILE
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: DG_Kueche_WEEKPROFILE , Event: profile_count: 1
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:21 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:21 4: DbLog DbLog -> number of events received: 5 for device: hk_DG_Kueche
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: MAXLAN_initialized: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: MAXLAN_error: 0
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: MAXLAN_errorInCommand:
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: MAXLAN_valid: 1
2018.11.27 18:42:21 4: DbLog DbLog -> check Device: hk_DG_Kueche , Event: MAXLAN_isAnswer: 0
2018.11.27 18:42:22 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:22 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:22 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:22 4: DbLog DbLog -> number of events received: 1 for device: Sonoff_POW_SH2
2018.11.27 18:42:22 4: DbLog DbLog -> check Device: Sonoff_POW_SH2 , Event: transmission-state: incoming publish received
2018.11.27 18:42:22 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:22 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:22 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:22 4: DbLog DbLog -> number of events received: 1 for device: Sonoff_POW_SH2
2018.11.27 18:42:22 4: DbLog DbLog -> check Device: Sonoff_POW_SH2 , Event: SENSOR: {"Time":"2018.11.27 18:42:21","ENERGY":{"Total":1.160,"Yesterday":0.003,"Today":0.003,"Period":0,"Power":0,"Factor":0.00,"Voltage":226,"Current":0.000}}
2018.11.27 18:42:22 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:22 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:22 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:22 4: DbLog DbLog -> number of events received: 9 for device: Sonoff_POW_SH2
2018.11.27 18:42:22 4: DbLog DbLog -> check Device: Sonoff_POW_SH2 , Event: ENERGY_Period: 0
2018.11.27 18:42:22 4: DbLog DbLog -> check Device: Sonoff_POW_SH2 , Event: ENERGY_Total: 1.16
2018.11.27 18:42:22 4: DbLog DbLog -> check Device: Sonoff_POW_SH2 , Event: ENERGY_Yesterday: 0.003
2018.11.27 18:42:22 4: DbLog DbLog -> check Device: Sonoff_POW_SH2 , Event: ENERGY_Current: 0
2018.11.27 18:42:22 4: DbLog DbLog -> check Device: Sonoff_POW_SH2 , Event: ENERGY_Voltage: 226
2018.11.27 18:42:22 4: DbLog DbLog -> check Device: Sonoff_POW_SH2 , Event: ENERGY_Factor: 0
2018.11.27 18:42:22 4: DbLog DbLog -> check Device: Sonoff_POW_SH2 , Event: ENERGY_Today: 0.003
2018.11.27 18:42:22 4: DbLog DbLog -> check Device: Sonoff_POW_SH2 , Event: ENERGY_Power: 0
2018.11.27 18:42:22 4: DbLog DbLog -> check Device: Sonoff_POW_SH2 , Event: Time: 2018.11.27 18:42:21
2018.11.27 18:42:32 2: DBLog error: DBD::SQLite::db do failed: database is locked at ./FHEM/93_DbLog.pm line 2523, <FH> line 444.

2018.11.27 18:42:38 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:38 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:38 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:38 4: DbLog DbLog -> number of events received: 1 for device: Sonoff_Pellets
2018.11.27 18:42:38 4: DbLog DbLog -> check Device: Sonoff_Pellets , Event: transmission-state: incoming publish received
2018.11.27 18:42:38 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:38 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:38 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:38 4: DbLog DbLog -> number of events received: 1 for device: Sonoff_Pellets
2018.11.27 18:42:38 4: DbLog DbLog -> check Device: Sonoff_Pellets , Event: POWER: {"Time":"2018.11.27 18:42:37","Uptime":"5 22:45:45","Vcc":3.143,"POWER":"ON","Wifi":{"AP":2,"SSId":"FRITZ!Box 6490 Cable","RSSI":68,"APMac":"CC:CE:1E:A2:02:23"}}
2018.11.27 18:42:38 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:38 4: DbLog DbLog -> ###              start of new Logcycle                       ###
2018.11.27 18:42:38 4: DbLog DbLog -> ################################################################
2018.11.27 18:42:38 4: DbLog DbLog -> number of events received: 8 for device: Sonoff_Pellets
2018.11.27 18:42:38 4: DbLog DbLog -> check Device: Sonoff_Pellets , Event: Uptime: 5 22:45:45
2018.11.27 18:42:38 4: DbLog DbLog -> check Device: Sonoff_Pellets , Event: POWER: ON
2018.11.27 18:42:38 4: DbLog DbLog -> check Device: Sonoff_Pellets , Event: Vcc: 3.143
2018.11.27 18:42:38 4: DbLog DbLog -> check Device: Sonoff_Pellets , Event: Wifi_SSId: FRITZ!Box 6490 Cable
2018.11.27 18:42:38 4: DbLog DbLog -> check Device: Sonoff_Pellets , Event: Wifi_AP: 2
2018.11.27 18:42:38 4: DbLog DbLog -> check Device: Sonoff_Pellets , Event: Wifi_APMac: CC:CE:1E:A2:02:23
2018.11.27 18:42:38 4: DbLog DbLog -> check Device: Sonoff_Pellets , Event: Wifi_RSSI: 68
2018.11.27 18:42:38 4: DbLog DbLog -> check Device: Sonoff_Pellets , Event: Time: 2018.11.27 18:42:37


Für die Konvertierung von FileLog-Daten habe ich noch das Device "define LogConvert FileLogConvert DbLog" eingerichtet.

list LogConvert
Internals:
   DEF        DbLog
   NAME       LogConvert
   NR         42
   STATE      Initialized
   TYPE       FileLogConvert
   files_csv  1
   files_db   4
   files_log  53
   files_sql  0
   READINGS:
     2018-11-27 18:33:06   cmd             
     2018-11-27 18:33:06   destination     
     2018-11-27 18:33:06   events         
     2018-11-27 18:33:06   file-analysed   
     2018-11-27 18:33:06   file-source     
     2018-11-27 18:33:06   lines-analysed 
     2018-11-27 18:33:06   lines-converted
     2018-11-27 18:33:06   lines-imported 
     2018-11-27 18:33:06   regex           
     2018-11-27 18:33:06   state           Initialized
Attributes:
   room       System


VG Wilfried
RPI 3 mit FHEM, 1x Stackable CUL (433MHz)

DS_Starter

Ach da sieht man nichts. Ich glaube ich muss an der maßgeblichen Stelle im DbLog etwas ändern damit man zur Suche auch hilfreiche Informationen bekommt.

Also FileLogConvert ist auf jeden Fall so ein Programm. Aber das benutzt man eigentlich nur für die Zeit des Importes der File logs in die DB.

Wenn du das aktuell machst, dann sperre dir die DB temporär für das Logging mit:


set <dblog> reopen 7200


Dann wird 2 Stunden lang nichts geloggt. Die Daten gehen nicht verloren und werden solange gecached. In der Zeit kannst du gemütlich die Importe machen.

Wenn du das Logging wieder freigeben willst:


set <dblog> reopen
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter