My DHCP client list shows the thermostat info as follows:
Host Name - thermostat-55-C5-AE, IP Address - 192.168.0.101, MAC Address - 5CDAD455C5AE010000.
<?php $hostname = 'http://thermostat-55-C5-AE.com'; #'SPIDER-SERVER'; #'thermostat-55-C5-AE'; echo 'Getting IP for '.$hostname.'<br>'; $ip = gethostbyname($hostname); #'www.example.com'); echo $ip.'<br><br>'; $addr = '192.168.0.101'; echo 'Getting hostname for '.$addr.'<br>'; $hostname = gethostbyaddr($addr); echo $hostname; ?>