global" $fhemport="7072"; # port of fhem.pl #$logpath="/mnt/fritzbox/"; # where are your logs? Use a writabel nfs-share if pgm3 and fhem are not on the same machine #mount your fritzbox with something like this in the /etc/fstab: //fritz.box/fritz.nas /mnt/fritzbox cifs guest 0 0 $logpath="/var/tmp/"; # where are your logs? Use a writabel nfs-share if pgm3 and fhem are not on the same machine $AbsolutPath="/var/www/"; # where ist your pgm3? ###### DBlog instead of Filelogs -- only for experienced Users! ## Look at contrib/dblog and http://fhemwiki.de for further information $DBUse="0"; # Wanna use DB-Logging instead of File-Logging? Use 1 for ye s and 0 for no. $DBNode="localhost"; # On which machine is your db running? $DBName="fhem"; # Whats the name of your DB for fhem? $DBUser="USER"; # Enter the username to connect to the DB. $DBPass="PASSWD"; # Enter the password which is needed to connect to the DB ################################################################################## ###### nice to have ##### logrotate of hms, ks300, fht # this is only possible, if the webserver (e.g.wwwrun) has the rights ro write the # files from fhem.pl. If you want that then run fhem.pl as wwwrun too. # if 'yes' then only the needed lines are in the logfiles, the rest will be deleted. $logrotate='yes'; # yes/no default='yes' ## Kioskmode. Only show but don't switch anything. Values: on/off $kioskmode='off'; ## Webcams $showwebcam=0; #shows webcam-Urls or other pictures (0/1) $webcamwidth='150'; # the width of the shown picture $wgetpath="/usr/bin/wget"; # you need the package wget for http, ftp... $webcamroom='donthide'; # existing room. Otherwise it will either # be in ALL or wiht 'donthide' not hided #$webcam[0]='http://webcam/IMAGE.JPG'; #$webcam[1]='http://webcam2/IMAGE.JPG'; #$webcam[1]='http://www.bostream.nu/hoganas/OutsideTempHistory.gif'; #$webcam[1]='IMAGE.PNG'; # Supported are Webcams with http:// ftp:// .... # and Images wich must be copied to /tmp/ # $webcam[2]='http://...'; # ... # Weather # Google-Api. It requires an Internet Connection $enableweather=1; # show the google-weather? $weathercity='Butzbach'; $weathercountry='Germany'; $weatherlang='de'; #$weatherlang='en'; $weatherroom='donthide'; # existing room. Otherwise it will either # $weatherroom='(19)Garten'; # existing room. Otherwise it will either # be in ALL or with 'donthide' not hided ############################################################################################## ## FHZ-DEVICES $show_general=1; #field to type FHZ1000-orders 0/1 Default:1 $show_fs20pulldown=1; #Pull-Down for the FS20 Devices 0/1 Default:1 $show_hmpulldown=1; #Pull-Down for the HomeMatic Devices 0/1 Default:1 $show_fhtpulldown=1; #Pull-Down for the FHT-Devices 0/1 Default:1 $show_logpulldown=1; #Pull-Down for Log-files and FS20 (grep fhem.log) $logsort='| sort -r'; #sort the Log-Output how you want; ############################################################################################## # ATTENTION: the changes of sizes only affects after the next build of pictures! # or delete the old pictures: rm /tmp/* ############################################################################################## ## FS20-Device, adjust it if you have e.g. long titles #$imgmaxxfs20=166; # Size of the pictures, default=85 $imgmaxxfs20=115; # Size of the pictures, default=115 $imgmaxyfs20=75; # default=75 $fs20fontsizetitel=10; # default=10 $fs20maxiconperline=7; # default=r79 # look at http://fhemwiki.de for explanations $roomname='0'; # Show Roomname on Button [1|0] $roomcorr='5'; # Correction for Iconposition if roomname = 0 [n] $dategerman='1'; # Date in German Format (25.03.2012) [1|0] $umlaute='1'; # Changes "ue" in "ü"... [1|0] $namesortbutton='1'; # [1|0] $namesortbuttonsign='_'; # If $namesortbutton = 1 the Sign "_" will replace with " " [x] $namereplacebutton='1'; # Changes "This_is_a_Test" in "This is a Test" [1|0] $namereplacebuttonsign='_'; # If $namereplaceroom = 1 the Sign "_" will replace with " " [x] # room. Write e.g. "attr rolowz room wzo" # into your fhem.cfg and restart fhem.pl # this will be marked on the FS20-Button. $txtroom=""; # default=""; example: $txtroom="room: "; # room hidden will not be shown ############################################################################################## ## ROOMS adjust it if you have e.g. long titles $showroombuttons=1; # default 1 Values 0/1 $imgmaxxroom=$imgmaxxfs20; # Size of the pictures, default=$imgmaxxfs20 $imgmaxyroom=22; # default=30 $roomfontsizetitel=10; # default=9 $roommaxiconperline=$fs20maxiconperline-1; # default=$fs20maxiconperline $namesortroom='1'; # [1|0] $namesortroomsign=')'; # If $namesortroom = 1 the Sign ")" will replace with " " [x] $namereplaceroom='1'; # Changes "This_is_a_Test" in "This is a Test" [1|0] $namereplaceroomsign='_'; # If $namereplaceroom = 1 the Sign "_" will replace with " " [x] ############################################################################################## ## FHT-Devices $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) $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) $FHTyrange='14:31'; # Temperature in gnuplot. Default 14 to 31 (Celsius) $FHTy2range='0:70'; # Actuator in gnuplot. Default 0 to 70 (Percent) $maxcount='510'; # Maximum count of pixel (from right to left) (Default:460) $XcorrectDate=380; # Text of e.g. Date from the right side (Default:380) $XcorrectMainText=32; # Text of main text from the right side (Default: 32) $logrotateFHTlines=8200; # automatic Logrotate; $logrotate must be 'yes'. # Default:8200 # 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 fhem.pl (user = ???) ############################################################################################## ## HMS-Devices $imgmaxxhms=725; #Size of the pictures. Default: 725 $imgmaxyhms=52; $maxcountHMS='575'; # Maximum count of pixel (from right to left) (Default:575) $XcorrectMainTextHMS=25; # Text of main text from the right side (Default:) $showdewpoint='yes'; # Dewpoint (german: taupunkt) $logrotateHMSlines=1500; # automatic Logrotate; $logrotate must be 'yes'. # Default:1500 # 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 fhem.pl (user = ???) ############################################################################################## ## KS300-Device $imgmaxxks=725; #Size of the pictures Default: 725 $imgmaxyks=52; $showbft=1; # Display values additionaly in Beafort. Values: 0 /1 Default:1 $maxcountKS='575'; # Maximum count of pixel (from right to left) (Default:575) $showdewpointks300='yes'; # Dewpoint (german: taupunkt) $XcorrectMainTextKS=45; # Text of main text from the right side (Default: 35) $logrotateKS300lines=13000; # automatic Logrotate; $logrotate must be 'yes'. # Default: 13000 # 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 fhem.pl (user = ???) ############################################################################################## ## USERDEF # # Create your own graphics! If you have separate Programs (e.g. wired devices) then create your own # logfile and tell pgm3 to use it. # We only need a data/time-field in the form _