Hy ich würde gerne Plots erstellen von meinen Heizungsthermostaten
wie mache ich das am besten
im Wiki habe ich schon geschaut und im Forum .
Aber ich glaube ich brauche eine Schritt für Schritt anleitung.
In dem Filelog steht schon die gemessene Temperatur und die gewünschte Temperatur sowie die ventil stellung jetzt möchte ich das ganze einfach nur zusätzlich grafisch darstellen.
Kann mir da jemand helfen.
schau mal in der commandref unter SVG
Bei mir ist das ganz einfach so:
Internals:
DEF az_FHT_log:arbeitszimmer:CURRENT
GPLOTFILE arbeitszimmer
LOGDEVICE az_FHT_log
LOGFILE CURRENT
NAME az_Heizkurve
NR 355
STATE initialized
TYPE SVG
Und das GPLOTFILE
# Created by FHEM/98_SVG.pm, 2013-09-29 01:08:25
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 nomirror
set y2tics
set grid ytics
set ylabel "Temperaturen °C"
set y2label "Ventil %"
set yrange [10:25]
set y2range [0:80]
#FileLog 4:az_FHT_ClimRT_tr.T\x3a:0:
#FileLog 6:az_FHT_ClimRT_tr.T\x3a:0:
#FileLog 8:az_FHT_ClimRT_tr.T\x3a:0:int
plot "<IN>" using 1:2 axes x1y1 title 'I' ls l1 lw 1 with lines,\
"<IN>" using 1:2 axes x1y1 title 'S' ls l0 lw 1 with steps,\
"<IN>" using 1:2 axes x1y2 title 'V' ls l3fill lw 1 with steps
Mehr ist das nicht.
(siehe Anhang / see attachement)
wo kommt des Internals her oder wo kommt das hin?
und das gplotfile in die fhem.cfg?
habe das gleiche Problem ???
bin auch neu und versuche FHEM zu verstehen und vor allem, die PLOT's erstellen zu können.
Eg gibt viele Infos, aber keine richtige HowTo Schritt für Schritt erklärt, wie man die Plots macht.
Momentan habe ich 9 HM-CC-RT-DN's installiert und suche nach einer Anleitung wie man die Grafiken darstellen kann.
Wenn jemand Zeit hat, kann evtl. wenn auch kurz, erklären welche Einträge in welchen Dateien
Schon mal vielen dank im Voraus ;)
Moin Lucas,
versuchs mal damit:
http://forum.fhem.de/index.php/topic,11275.msg75594.html#msg75594
Gruß Joachim
Zitat von: RedOne am 30 September 2013, 21:12:41
wo kommt des Internals her oder wo kommt das hin?
und das gplotfile in die fhem.cfg?
vielleicht hilft dir meine konfiguration weiter:
ich habe das gplot-file (thermostat.gplot, im verzeichnis www/gplot):
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 '<TL>'
set ytics
set y2tics
set grid y2tics
set ylabel "Ventilposition (%)"
set y2label "Temperatur (°C)"
set yrange [0:100]
set y2range [15:26]
#FileLog 4:measured-temp\x3a::
#FileLog 4:desired-temp\x3a::
#FileLog 4:ValvePosition\x3a::
plot "<IN>" using 1:2 axes x1y2 title 'Gemessen' ls l0fill lw 2 with lines,\
"<IN>" using 1:2 axes x1y2 title 'Gewünscht' ls l1fill lw 1 with lines,\
"<IN>" using 1:2 axes x1y1 title 'Ventilpos' ls l2 lw 1 with lines
und die definition im config-file:
define plotThermostatVZ SVG FileLog_HK_VZ_tr:thermostat:CURRENT
das "FileLog_HK_VZ_tr" gibt die darzustellende log-Datei an, das "thermostat" das gplot-file.
und wie ds ganze aussieht siehst du im Anhang
lg
Tom
Hallo tomballarino,
funktioniert super :)
Bei neueren Geräten steht aber offenbar die Ventilposition in actuator, und nicht mehr in ValvePosition.
Falls der nächste diese Frage sucht ;-)
Grüße, McFish
Actuator steht im Device, ValvePosition steht im Channel.
Gesendet von meinem GT-I9295