MAX-Plot bleibt leer

Begonnen von KatalytischerKonverter, 12 Januar 2013, 13:09:18

Vorheriges Thema - Nächstes Thema

KatalytischerKonverter

Hallo Zusammen,
ich habe heute meinen MAX Thermostat und  Fensterkontakt per Cube mit FHEM verbunden.
Nun habe ich den Plot laut Wiki eingetragen.
Leider werden die Werte nicht im Plot angezeigt.

Habe ich etwas übersehen?

Und was sagt mir diese Zeile?
MAX_05b16d is against deletion (HASH(0x984e20)), continuing with rereadcfg anyway


LOG:
2013.01.12 12:59:18 1: MAX_05b16d is against deletion (HASH(0x984e20)), continuing with rereadcfg anyway
2013.01.12 12:59:18 1: MAX_053d17 is against deletion (HASH(0xb579b8)), continuing with rereadcfg anyway
2013.01.12 12:59:18 1: MAX_050771 is against deletion (HASH(0xcfc6a0)), continuing with rereadcfg anyway
2013.01.12 12:59:18 1: Including fhem.cfg
2013.01.12 12:59:18 3: telnetPort: port 7072 opened
2013.01.12 12:59:18 3: WEB: port 8083 opened
2013.01.12 12:59:18 3: WEBphone: port 8084 opened
2013.01.12 12:59:18 3: WEBtablet: port 8085 opened
2013.01.12 12:59:18 3: Opening CUL01 device /dev/ttyACM0
2013.01.12 12:59:18 3: Setting CUL01 baudrate to 9600
2013.01.12 12:59:18 3: CUL01 device opened
2013.01.12 12:59:18 3: CUL01: Possible commands: BCFiAZEGMRTVWXefmltux
2013.01.12 12:59:18 3: No I/O device found for ELROA1
2013.01.12 12:59:18 3: No I/O device found for ELROA2
2013.01.12 12:59:18 1: Including ./log/fhem.save
2013.01.12 12:59:19 3: Opening ml device 192.168.178.29:62910
2013.01.12 12:59:19 3: ml device opened


Config:
attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd none

attr global statefile ./log/fhem.save
attr global userattr devStateIcon icon webCmd
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global

define WEBphone FHEMWEB 8084 global
attr WEBphone smallscreen 1

define WEBtablet FHEMWEB 8085 global
attr WEBtablet touchpad 1

# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog ./log/%NAME-%Y.log
attr autocreate weblink 1
attr autocreate weblink_room Plots

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create


# If the above notify did not helped, then you probably have to enable some of
# the following lines.  Verify first that /dev/xxx ist correct.

#FB_checkPw does not for FB-OS > 5.22
#attr WEB basicAuth {use FritzBoxUtils;;FB_checkPw("localhost","$password") }
#attr WEBphone basicAuth {use FritzBoxUtils;;FB_checkPw("localhost","$password") }
#attr WEBtablet basicAuth {use FritzBoxUtils;;FB_checkPw("localhost","$password") }
#attr telnetPort globalpassword {use FritzBoxUtils;;FB_checkPw("localhost","$password") }

define CUL01 CUL /dev/ttyACM0@9600 1234
attr CUL01 rfmode SlowRF

define ELROA1 IT 000000000F 11 10
attr ELROA1 IODev CUL01
attr ELROA1 model itswitch
attr ELROA1 room UwesZimmer

define ELROA2 IT 0000F0000F 11 10
attr ELROA2 IODev CUL01
attr ELROA2 model itswitch
attr ELROA2 room UwesZimmer

define ml MAXLAN 192.168.178.29

define MAX_050771 MAX Cube 050771
attr MAX_050771 room UwesZimmer
define FileLog_MAX_050771 FileLog ./log/MAX_050771-%Y.log MAX_050771
attr FileLog_MAX_050771 logtype text
attr FileLog_MAX_050771 room LOG
attr MAX_050771 alias MAXCube

define MAX_053d17 MAX ShutterContact 053d17
attr MAX_053d17 room UwesZimmer
define FileLog_MAX_053d17 FileLog ./log/MAX_053d17-%Y.log MAX_053d17
attr FileLog_MAX_053d17 logtype text
attr FileLog_MAX_053d17 room LOG
attr MAX_053d17 alias UFensterkontakt

define MAX_05b16d MAX HeatingThermostat 05b16d
attr MAX_05b16d room UwesZimmer
define FileLog_MAX_05b16d FileLog ./log/MAX_05b16d-%Y.log MAX_05b16d
attr FileLog_MAX_05b16d logtype text
attr FileLog_MAX_05b16d room LOG
attr MAX_05b16d alias UThermostat

#Werte plotten
define MAX_05b16d_weblink weblink fileplot FileLog_MAX_05b16d:max_temp:CURRENT
attr MAX_05b16d_weblink label "Uwes Zimmer Soll-Temperatur Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr MAX_05b16d_weblink room UwesZimmer
attr MAX_05b16d webCmd desiredTemperature


max_temp.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 y2tics
 set title '<L1>'
 set grid xtics y2tics
 set y2label "Temperatur in Grad Celsius"
 set ylabel "Signal in %"
 #FileLog 4:desiredTemperature:0:
 #FileLog 4:temperature:0:
 #FileLog 4:valveposition:0:
 plot \
  "< egrep 'desiredTemperature' <IN>"\
     using 1:4 axes x1y2 title 'Soll-Temperatur (C)' with lines lw2\
  "< egrep 'temperature' <IN>"\
     using 1:4 axes x1y2 title 'Ist-Temperatur(ungenau)(C)' with lines lw2\
  "< egrep 'valveposition' <IN>"\
     using 1:4 axes x1y1 title 'Ventil (%)' with lines lw2\

KatalytischerKonverter

Oh man, manchmal....

Der Fehler hat sich aufgeklärt. Beim kopieren der gplot wurde vom Browser vor jede Zeile ein Leerzeichen gesetzt, das scheinbar den Fehler verursacht hat. Ist mir einfach nicht aufgefallen.

Die zweite kurze Frage bleibt:
Was sagen mir die folgenden Logeinträge:
2013.01.12 12:59:18 1: MAX_05b16d is against deletion (HASH(0x984e20)), continuing with rereadcfg anyway
2013.01.12 12:59:18 1: MAX_053d17 is against deletion (HASH(0xb579b8)), continuing with rereadcfg anyway
2013.01.12 12:59:18 1: MAX_050771 is against deletion (HASH(0xcfc6a0)), continuing with rereadcfg anyway

intel33

Hello, mich hat das selbe Problem erwischt. Ziemlich ärgerlich!
Vielleicht kann mal jemand im wiki einen vermerk dazu einfügen?
http://www.fhemwiki.de/wiki/MAX#Werte_Plotten

Durch die Formatierung im wiki muss man bei allen Zeilen das Leerzeichen am Zeilenbeginn rauslöschen.
das macht es sicher einfacher für viele Anfänger.

Johannes

Habe das eine führenden Leerzeichen in jeder Zeile in dem Bereich aus dem nowiki Block entfernt.

Grüße,
Johannes