FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: inesa394 am 09 Februar 2017, 23:37:58

Titel: dblog mit mysql keine Plots
Beitrag von: inesa394 am 09 Februar 2017, 23:37:58
Hallo

Mir ist es nicht möglich über Create SVG plot from DbLog einen Plot zu erstellen
Es erscheint zwar das Fenster mit dem  Plot aber ich kann kein Device:Reading auswählen
weil keines vorhanden.
Hier ein list meines dblog
Internals:
   COLUMNS    field length used for Device: 64, Type: 64, Event: 512, Reading: 64, Value: 128, Unit: 32
   CONFIGURATION ./db.conf
   DBMODEL    MYSQL
   DEF        ./db.conf .*:(valve|position|location|lat|lon|temperature|pressure|humidity|dewpoint|absFeuchte|rain|windDirectionDegree|windSpeed|ValvePosition|place|accuracy|motion|state|contact|energy|kWh|power|measured-temp|wind|transition|event|desired-temp|costs|energy_kwh|presence|lux|moisture|fertility|absent|present|home|watt|total_kWh|total_euro|voc|consumption).*



   MODE       synchronous
   NAME       DBLOG
   NR         512
   NTFY_ORDER 50-logdb
   PID        22293
   REGEXP     .*:(valve|position|location|lat|lon|temperature|pressure|humidity|dewpoint|absFeuchte|rain|windDirectionDegree|windSpeed|ValvePosition|place|accuracy|motion|state|contact|energy|kWh|power|measured-temp|wind|transition|event|desired-temp|costs|energy_kwh|presence|lux|moisture|fertility|absent|present|home|watt|total_kWh|total_euro|voc|consumption).*



   STATE      connected
   TYPE       DbLog
   VERSION    2.11.1
   dbconn     mysql:database=fhem;host=127.0.0.1;port=3306
   dbuser     fhem
   Helper:
     COLSET     1
     DEVICECOL  64
     EVENTCOL   512
     READINGCOL 64
     TYPECOL    64
     UNITCOL    32
     VALUECOL   128
   Readings:
     2017-02-09 21:43:42   CacheUsage      0
     2017-02-09 21:50:11   state           connected
   Cache:
     index      0
Attributes:
   DbLogType  Current/History
   room       System

Daten sind in der Tabelle vorhanden laut phpMyAdmin sind es  260000
Warum geht das nicht bei mir

Inesa
Titel: Antw:dblog mit mysql keine Plots
Beitrag von: Thorsten Pferdekaemper am 10 Februar 2017, 21:03:43
Hi,
kann man den Inhalt von DbLog irgendwie anzeigen? Zeig mal, was da so drin ist.
Ich habe von DbLog keine Ahnung, aber schauen wir mal.
Gruß,
   Thorsten
Titel: Antw:dblog mit mysql keine Plots
Beitrag von: inesa394 am 10 Februar 2017, 23:15:35
Die Datenbank wird ja fleißig befüllt DbLog sagt ja auch das es connected ist siehe list vom device
Mein Problem ist ja wenn ich auf "Create SVG plot from DbLog"  ich kein Device:Reading auswählen kann.
Titel: Antw:dblog mit mysql keine Plots
Beitrag von: betateilchen am 10 Februar 2017, 23:16:47
Zitat von: inesa394 am 10 Februar 2017, 23:15:35
Mein Problem ist ja wenn ich auf "Create SVG plot from DbLog"  ich kein Device:Reading auswählen kann.

Das ist hier im Forum inzwischen schon 985 Mal beschrieben. Natürlich im richtigen Forumbereich, nicht in den Anfängerfragen.
Titel: Antw:dblog mit mysql keine Plots
Beitrag von: inesa394 am 10 Februar 2017, 23:24:25
ok war ich mal wieder zu faul zum suchen  ???