Ich habe eben, nach ein paar Tagen, mal wieder ein Update durchgeführt, seit dem stürzt mir FHEM ab wenn ich eine Seite mit SVG Plot aufrufe.
Die Definition in fhem.cfg zum Plot ist
define pl_aussenthermometer SVG myDbLog:aussenthermometer:CURRENT
attr pl_aussenthermometer group Wetter
attr pl_aussenthermometer label "Aussentemperatur Min: $data{min1}, Max: $data{max1}, Aktuell: $data{currval1}"
attr pl_aussenthermometer room Aussenbereich
Die gplot Datei:
# Created by FHEM/98_SVG.pm, 2013-12-06 17:25:11
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 y2tics
set ylabel "Luftfeuchtigkeit in %"
set y2label "Temperatur in °C"
#DbLog aussenthermometer:temperature
#DbLog aussenthermometer:humidity
plot "<IN>" using 1:2 axes x1y2 title 'Temperatur' ls l0 lw 1 with lines,\
"<IN>" using 1:2 axes x1y1 title 'Luftfeuchtigkeit' ls l2 lw 1 with lines
Die Fehlermeldungen:
DBD::mysql::st execute failed: Commands out of sync; you can't run this command now at /volume1/@appstore/FHEM/share/fhem/FHEM/93_DbLog.pm line 430.
DBD driver has not implemented the AutoCommit attribute at /volume1/@appstore/FHEM/share/fhem/FHEM/93_DbLog.pm line 448.
DBD::mysql::st bind_columns failed: Statement has no result columns to bind (perhaps you need to successfully call execute first) at /volume1/@appstore/FHEM/share/fhem/FHEM/93_DbLog.pm line 741.
DBD::mysql::st fetch failed: fetch() without execute() at /volume1/@appstore/FHEM/share/fhem/FHEM/93_DbLog.pm line 744.
DBD::mysql::st execute failed: Lost connection to MySQL server during query at /volume1/@appstore/FHEM/share/fhem/FHEM/93_DbLog.pm line 731.
Use of uninitialized value in concatenation (.) or string at (eval 47) line 1.
Use of uninitialized value in concatenation (.) or string at (eval 47) line 1.
Use of uninitialized value in concatenation (.) or string at (eval 47) line 1.
beim nächsten Versuch:
DBD::mysql::st bind_columns failed: Statement has no result columns to bind (perhaps you need to successfully call execute first) at /volume1/@appstore/FHEM/share/fhem/FHEM/93_DbLog.pm line 741.
DBD::mysql::st fetch failed: fetch() without execute() at /volume1/@appstore/FHEM/share/fhem/FHEM/93_DbLog.pm line 744.
DBD::mysql::st execute failed: Lost connection to MySQL server during query at /volume1/@appstore/FHEM/share/fhem/FHEM/93_DbLog.pm line 435.
DBD driver has not implemented the AutoCommit attribute at /volume1/@appstore/FHEM/share/fhem/FHEM/93_DbLog.pm line 448.