Blog
Using the following copy & paste example you can display the measurements from multiple devices (here two Web-Thermographs) on one Web page.
For this example you need a Web server with PHP interpreter.
You have already provided your Web-Thermograph(s)
- with power,
- connected it to your network,
- assigned it an IP address – which with WuTility is no problem.
1. HTTP GET Header enable disable
So that the units do not return the entire reply header (IP address, system name, sensor part number, temperature) but rather only the measurements itself, this option must first be turned off in the device configuration:

2. Incorporate PHP script into the Web page
- Copy the JavaScript (shown in blue)
e.g. into the <body> area of your Web page (PHP commands are interpreted at any desired location on the page). - Modify the red IP address, the green HTTP port and the yellow query command to your purposes.
<html>
<head>
<title>Temperature</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<?
function getvalue($address,$sensorno)
{
$datei = fsockopen($address,80);
$out = "GET /Single".$sensorno." HTTP/1.1\r\n\r\n";
fwrite($datei, $out);
while (!feof($datei))
{
$data = fgets($datei);
}
$find = "/r/n";
$pos = strpos($data, $find);
$value = substr($data,$pos);
echo $value;
fclose($datei);
}
?>
<br>
<?
getvalue ("192.168.0.2","1");
?>
<br>
<?
getvalue ("192.168.0.3","1");
?>
</body>
</html>
3. Output
If you save the above PHO page on a PHP server and open it using a Web browser, you get the following view:
4. Automatic updating
- To update the page cyclically, insert the following line (shown in blue) into the <head> area of the page.
- The interval is given in seconds (shown here in red: 60 seconds)
<html>
<head>
<title>Temperature</title>
<meta http-equiv=refresh content=60>
</head>
<body bgcolor="#FFFFFF" text="#000000">
...
5. Modify the page to your purposes
Using the above procedure you can simply create overview pages which can include any number of measurements:
Get Started - Order A Trial Version For 30 Days.
Try our products from Wiesemann & Theis free of charge for 30 days by writing in the note of the order: Want to test the product.
If you do not wish to make use of your right of return within 30 days, simply pay the accompanying invoice. Free shipping in Denmark.

