diff --git a/webfrontend/pgm3/CHANGED b/webfrontend/pgm3/CHANGED index 97500c863..68a73554a 100644 --- a/webfrontend/pgm3/CHANGED +++ b/webfrontend/pgm3/CHANGED @@ -123,3 +123,7 @@ Changelog 2007-09-05 (cvs) -- feature: gnuplot pictures of FHT without all data (actuator, desired-temp) are shown with only measured temp + +2007-10-13 (0.8.3) +-- feature: Now it is possible to attach selfmade logfiles from e.g. wired devices. Everthing is explained in config.php. +It is not necessary to tell fhem that there are other logs. diff --git a/webfrontend/pgm3/HISTORY b/webfrontend/pgm3/HISTORY index b70fbb874..606b6b468 100644 --- a/webfrontend/pgm3/HISTORY +++ b/webfrontend/pgm3/HISTORY @@ -26,4 +26,7 @@ - Martin 2007-09-05 - Change in gnuplot.php: FHT: if there are not sufficient data (e.g. actuator) only measured-temp will be drawn +- Martin 2007-10-13 + - Now pgm3 shows other logfiles (like from wired devices) too. Changes in index.php, config.php, gnuplot.php, new userdefs.php) + diff --git a/webfrontend/pgm3/config.php b/webfrontend/pgm3/config.php index a185aaa5e..e803e0393 100644 --- a/webfrontend/pgm3/config.php +++ b/webfrontend/pgm3/config.php @@ -1,11 +1,11 @@ global" $fhz1000port="7072"; # port of fhz1000.pl @@ -27,7 +27,7 @@ # this is only possible, if the webserver (e.g.wwwrun) has the rights ro write the # files from fh1000.pl. If you want that then run fhz1000.pl as wwwrun too. # if 'yes' then only the needed lines are in the logfiles, the rest will be deleted. - $logrotate='no'; # yes/no default='no' + $logrotate='yes'; # yes/no default='no' ## Kioskmode. Only show but don't switch anything. Values: on/off @@ -69,7 +69,7 @@ ############################################################################################## ## FHT-Devices - $imgmaxxfht=725; #Size of the pictures Default: 725 + $imgmaxxfht=725; #Size of the pictures Default: 725 $imgmaxyfht=52; $show_desiredtemp=1; # show the desired_temp as a graphic (0/1) $desR='255'; $desG='255'; $desB='255'; # Color of desired-temp-line Red/Green/Blue (Default: 255/255/255) @@ -103,6 +103,19 @@ # pgm3 (user www-data) needs the rights to write the logs # from fhz1000.pl (user = ???) +############################################################################################## +## SCIVT-Devices + $imgmaxxscivt=725; #Size of the pictures. Default: 725 + $imgmaxyscivt=52; + $maxcountscivt='575'; # Maximum count of pixel (from right to left) (Default:575) + $XcorrectMainTextSCIVT=25; # Text of main text from the right side (Default:) + $logrotateSCIVTlines=1200; # automatic Logrotate; $logrotate must be 'yes'. + # Default:1200 + # read docs/logrotate if you want adjust it manually! + # otherwise the system will slow down + # pgm3 (user www-data) needs the rights to write the logs + # from fhz1000.pl (user = ???) + ############################################################################################## ## KS300-Device $imgmaxxks=725; #Size of the pictures Default: 725 @@ -112,12 +125,68 @@ $maxcountKS='575'; # Maximum count of pixel (from right to left) (Default:575) $XcorrectMainTextKS=45; # Text of main text from the right side (Default: 35) - $logrotateKS300lines=1900; # automatic Logrotate; $logrotate must be 'yes'. - # Default:1900 + $logrotateKS300lines=2100; # automatic Logrotate; $logrotate must be 'yes'. + # Default:2100 # read docs/logrotate if you want adjust it manually # otherwise the system will slow down # pgm3 (user www-data) needs the rights to write the logs # from fhz1000.pl (user = ???) +############################################################################################## +## user +# Create your own graphics! If you have separate Programs (e.g. wired devices) then create your own +# logfile and tell pgm3 to use it. +# the logfile must look like this: +################################### +# 2007-10-13_13:45:14 solarI Is: 0.0 +################################### +# Field1: _