Content-Type: text/html Temperatur Spitzingsee - Foto-Webcam.org - Tegernseer Tal Webcam ". "Temperaturdaten". "
". "
"; $webcam['lawinenlageBayern']; // Bild drehen $webcam['corrFunc']= function($exif, $rawName, $corrName) { //siehe http://www.imagemagick.org/Usage/distorts/#barrel $reg= " -distort SRT -0.6"; $reg.= " -sharpen 1x1"; $reg.= " -limit thread 1"; if (system("convert $reg -quality 98 $rawName $corrName") == 0) { return true; } return false; }; //---------------------------------------------------------------------------- // Receive weather data from usb4all-module $webcam['wxFunc']= function($values, &$fields, &$raw_fields, &$camtxt) { $rr= array(); if (preg_match("/(temp\d)=([\d\.\-]+)/", $values[0], $rr)) { $fields['temp1']= $rr[2]-0.0; // change correction value here! $raw_fields['temp1']= $values[0]; } if (preg_match("/(temp\d)=([\d\.\-]+)/", $values[1], $rr)) { $fields['temp2']= $rr[2]-0.0; // change correction value here! $raw_fields['temp2']= $values[1]; } if (preg_match("/(temp\d)=([\d\.\-]+)/", $values[2], $rr)) { $fields['temp3']= $rr[2]; $raw_fields['temp3']= $values[2]; } if (preg_match("/(volt\d)=([\d\.\-]+)/", $values[3], $rr)) { $fields['volt']= $rr[2]*2; $raw_fields['volt']= $values[3]; } $fields['temp']= min($fields['temp1'], $fields['temp2']); $raw_fields['temp']= $fields['temp1'].";".$fields['temp2']; if (isset($fields['temp1']) && isset($fields['temp2'])) { $camtxt= sprintf("%0.1f°C", $fields['temp3']); } return true; }; ?>
Impressum - Kontakt
Foto-Webcam.org Logo
 
Suche:     
Webcam Laden