working insteondecoder.php