mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
pgm3 v0.8.0 for fhem 4.0 released
git-svn-id: https://svn.fhem.de/fhem/trunk@41 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f10543fa51
commit
e10f9cb1e9
@ -105,7 +105,7 @@ Changelog
|
|||||||
-- Now you can use php4 OR php5 (php5 is recommended)
|
-- Now you can use php4 OR php5 (php5 is recommended)
|
||||||
-- Feature: php-Pictures of FHT now inclusive "desired-temp"
|
-- Feature: php-Pictures of FHT now inclusive "desired-temp"
|
||||||
|
|
||||||
==DATE== (0.8.0)
|
2007-03-29 (0.8.0)
|
||||||
-- Feature: Now you can adjust the range of the Gnuplot-pictures of FHT in the config.php
|
-- Feature: Now you can adjust the range of the Gnuplot-pictures of FHT in the config.php
|
||||||
-- Feature: WS300 is now supported
|
-- Feature: WS300 is now supported
|
||||||
-- Internal: Adjusted to the new internal structure of FHEM. YOU MUST HAVE FHEM >=4.0
|
-- Internal: Adjusted to the new internal structure of FHEM. YOU MUST HAVE FHEM >=4.0
|
||||||
|
@ -10,3 +10,6 @@
|
|||||||
- Better support for WS300
|
- Better support for WS300
|
||||||
- FHT-Pulldown will now be called by the button "adjust"
|
- FHT-Pulldown will now be called by the button "adjust"
|
||||||
- FHT-PHP-Grafics now with temperature, desired-temp and actuator
|
- FHT-PHP-Grafics now with temperature, desired-temp and actuator
|
||||||
|
|
||||||
|
- Martin 2007-03-29
|
||||||
|
- release pgm3 for fhem 4.0, pgm3 has now the verson 0.8.0
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
|
|
||||||
###### required settings
|
###### required settings
|
||||||
$fhz1000="fhz"; #only php5 ! On which machine is fhz1000 runnning??
|
$fhz1000="localhost"; #only php5 ! On which machine is fhz1000 runnning??
|
||||||
# if it is not localhost then the fhz1000.cfg must
|
# if it is not localhost then the fhz1000.cfg must
|
||||||
# run global: "port <nr> global"
|
# run global: "port <nr> global"
|
||||||
$fhz1000port="7072"; # port of fhz1000.pl
|
$fhz1000port="7072"; # port of fhz1000.pl
|
||||||
@ -66,58 +66,57 @@
|
|||||||
$roommaxiconperline=$fs20maxiconperline; # default=$fs20maxiconperline
|
$roommaxiconperline=$fs20maxiconperline; # default=$fs20maxiconperline
|
||||||
|
|
||||||
##############################################################################################
|
##############################################################################################
|
||||||
|
|
||||||
## FHT-Devices
|
## FHT-Devices
|
||||||
$imgmaxxfht=685; #Size of the pictures Default: 685
|
$imgmaxxfht=725; #Size of the pictures Default: 725
|
||||||
$imgmaxyfht=52;
|
$imgmaxyfht=52;
|
||||||
$show_desiredtemp=1; # show the desired_temp as a graphic (0/1)
|
$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)
|
$desR='255'; $desG='255'; $desB='255'; # Color of desired-temp-line Red/Green/Blue (Default: 255/255/255)
|
||||||
$show_actuator=1; # show the actuator-value as a graphic (0/1)
|
$show_actuator=1; # show the actuator-value as a graphic (0/1)
|
||||||
$actR='255'; $actG='247'; $actB='200'; # Color of Actuator-line Red/Green/Blue (Default: 255/247/200)
|
$actR='255'; $actG='247'; $actB='200'; # Color of Actuator-line Red/Green/Blue (Default: 255/247/200)
|
||||||
$FHTyrange='15:31'; # Temperature in gnuplot. Default 15 to 31 (Celsius)
|
$FHTyrange='15:31'; # Temperature in gnuplot. Default 15 to 31 (Celsius)
|
||||||
$FHTy2range='0:70'; # Actuator in gnuplot. Default 0 to 70 (Percent)
|
$FHTy2range='0:70'; # Actuator in gnuplot. Default 0 to 70 (Percent)
|
||||||
$maxcount='460'; # Maximum count of pixel (from right to left) (Default:460)
|
$maxcount='510'; # Maximum count of pixel (from right to left) (Default:460)
|
||||||
$XcorrectDate=325; # Text of e.g. Date from the right side (Default:325)
|
$XcorrectDate=380; # Text of e.g. Date from the right side (Default:380)
|
||||||
$XcorrectMainText=35; # Text of main text from the right side (Default: 35)
|
$XcorrectMainText=32; # Text of main text from the right side (Default: 32)
|
||||||
$logrotateFHTlines=4300; # automatic Logrotate; $logrotate must be 'yes'.
|
$logrotateFHTlines=4800; # automatic Logrotate; $logrotate must be 'yes'.
|
||||||
# Default:4300
|
# Default:4800
|
||||||
# read docs/logrotate if you want adjust it manually!
|
# read docs/logrotate if you want adjust it manually!
|
||||||
# otherwise the system will slow down
|
# otherwise the system will slow down
|
||||||
# pgm3 (user www-data) needs the rights to write the logs
|
# pgm3 (user www-data) needs the rights to write the logs
|
||||||
# from fhz1000.pl (user = ???)
|
# from fhz1000.pl (user = ???)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##############################################################################################
|
##############################################################################################
|
||||||
## HMS-Devices
|
## HMS-Devices
|
||||||
$imgmaxxhms=685; #Size of the pictures. Default: 685
|
$imgmaxxhms=725; #Size of the pictures. Default: 725
|
||||||
$imgmaxyhms=52;
|
$imgmaxyhms=52;
|
||||||
$maxcountHMS='525'; # Maximum count of pixel (from right to left) (Default:525)
|
$maxcountHMS='575'; # Maximum count of pixel (from right to left) (Default:575)
|
||||||
$XcorrectMainTextHMS=25; # Text of main text from the right side (Default:)
|
$XcorrectMainTextHMS=25; # Text of main text from the right side (Default:)
|
||||||
$logrotateHMSlines=1200; # automatic Logrotate; $logrotate must be 'yes'.
|
$logrotateHMSlines=1200; # automatic Logrotate; $logrotate must be 'yes'.
|
||||||
# Default:1200
|
# Default:1200
|
||||||
# read docs/logrotate if you want adjust it manually!
|
# read docs/logrotate if you want adjust it manually!
|
||||||
# otherwise the system will slow down
|
# otherwise the system will slow down
|
||||||
# pgm3 (user www-data) needs the rights to write the logs
|
# pgm3 (user www-data) needs the rights to write the logs
|
||||||
# from fhz1000.pl (user = ???)
|
# from fhz1000.pl (user = ???)
|
||||||
|
|
||||||
##############################################################################################
|
##############################################################################################
|
||||||
## KS300-Device
|
## KS300-Device
|
||||||
$imgmaxxks=685; #Size of the pictures Default: 685
|
$imgmaxxks=725; #Size of the pictures Default: 725
|
||||||
|
|
||||||
$imgmaxyks=52;
|
$imgmaxyks=52;
|
||||||
$showbft=1; # Display values additionaly in Beafort. Values: 0 /1 Default:1
|
$showbft=1; # Display values additionaly in Beafort. Values: 0 /1 Default:1
|
||||||
$maxcountKS='525'; # Maximum count of pixel (from right to left) (Default:525)
|
$maxcountKS='575'; # Maximum count of pixel (from right to left) (Default:575)
|
||||||
$XcorrectMainTextKS=35; # Text of main text from the right side (Default: 35)
|
$XcorrectMainTextKS=45; # Text of main text from the right side (Default: 35)
|
||||||
|
|
||||||
$logrotateKS300lines=2000; # automatic Logrotate; $logrotate must be 'yes'.
|
|
||||||
# Default:2000
|
|
||||||
# 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 = ???)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$logrotateKS300lines=1900; # automatic Logrotate; $logrotate must be 'yes'.
|
||||||
|
# Default:1900
|
||||||
|
# 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 = ???)
|
||||||
|
|
||||||
|
|
||||||
##############################################################################################
|
##############################################################################################
|
||||||
|
@ -154,13 +154,14 @@ setlocale (LC_ALL, 'de_DE.utf8');
|
|||||||
$text=$txtroom.$room;
|
$text=$txtroom.$room;
|
||||||
ImageTTFText ($im, $fontsize, 0, 3, 49, $txtcolor, $fontttf, $text);
|
ImageTTFText ($im, $fontsize, 0, 3, 49, $txtcolor, $fontttf, $text);
|
||||||
|
|
||||||
$text="desired-temp: $desired_temp";
|
$text="desired: $desired_temp ".substr($desired_date,11,5);
|
||||||
|
|
||||||
ImageTTFText ($im, $fontsize, 0, $imgmaxxfht-230-$XcorrectDate, 23, $txtcolor, $fontttf, $text);
|
ImageTTFText ($im, $fontsize, 0, $imgmaxxfht-230-$XcorrectDate, 23, $txtcolor, $fontttf, $text);
|
||||||
|
|
||||||
#$text=$desired_date;
|
#$text=$desired_date;
|
||||||
#ImageTTFText ($im, $fontsize, 0, $imgmaxxfht-127-$XcorrectDate, 23, $txtcolor, $fontttf, $text);
|
#ImageTTFText ($im, $fontsize, 0, $imgmaxxfht-127-$XcorrectDate, 23, $txtcolor, $fontttf, $text);
|
||||||
|
|
||||||
$text="Actuator [%]: $actuator";
|
$text="Actuator: $actuator";
|
||||||
ImageTTFText ($im, $fontsize, 0, $imgmaxxfht-230-$XcorrectDate, 33, $txtcolor, $fontttf, $text);
|
ImageTTFText ($im, $fontsize, 0, $imgmaxxfht-230-$XcorrectDate, 33, $txtcolor, $fontttf, $text);
|
||||||
|
|
||||||
#$text=$actuator_date;
|
#$text=$actuator_date;
|
||||||
|
@ -59,6 +59,7 @@ $avgmonth=$_GET['avgmonth'];
|
|||||||
(($array[$x][14] != $oldmin)
|
(($array[$x][14] != $oldmin)
|
||||||
or ($array[$x][12] != $oldhour)
|
or ($array[$x][12] != $oldhour)
|
||||||
or ($x==$counter-1))
|
or ($x==$counter-1))
|
||||||
|
and ($t!="avg_day")
|
||||||
and ($date!="NEWLOGS"))
|
and ($date!="NEWLOGS"))
|
||||||
{
|
{
|
||||||
$oldmin=$array[$x][14];
|
$oldmin=$array[$x][14];
|
||||||
|
@ -40,7 +40,7 @@ include "include/gnuplot.php";
|
|||||||
include "include/functions.php";
|
include "include/functions.php";
|
||||||
|
|
||||||
|
|
||||||
$pgm3version='0.8.0cvs';
|
$pgm3version='0.8.0';
|
||||||
|
|
||||||
|
|
||||||
$Action = $_POST['Action'];
|
$Action = $_POST['Action'];
|
||||||
@ -475,7 +475,7 @@ xml_parser_free($xml_parser);
|
|||||||
#####################################################################################################################
|
#####################################################################################################################
|
||||||
|
|
||||||
##### Check Version of FHEM
|
##### Check Version of FHEM
|
||||||
if (! ($stack[0][children][0][name]=='Internal_LIST')) ##older FHZ100 have no Internal_LIST
|
if (! ($stack[0][children][0][name]=='_internal__LIST')) ##older FHZ100 have no Internal_LIST
|
||||||
{echo "Error!! You need at least FHEM-4.0 to run this pgm3!!";}
|
{echo "Error!! You need at least FHEM-4.0 to run this pgm3!!";}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user