 <?php
        // Loading the XML file
        $xml = simplexml_load_file(
	    "http://192.168.2.180/status.xml");


        foreach($xml->children() as $sensor)
        {
            if ($sensor->name == "s2" )
            {
                echo $sensor->temp."";
            }
        }

?>