diff --git a/bin/phue-bridge-finder b/bin/phue-bridge-finder index d3ab8f9..358a175 100755 --- a/bin/phue-bridge-finder +++ b/bin/phue-bridge-finder @@ -31,6 +31,7 @@ foreach ($bridges as $key => $bridge) { echo "\tBridge #", ++$key, "\n"; echo "\t\tID: ", $bridge->id, "\n"; echo "\t\tInternal IP Address: ", $bridge->internalipaddress, "\n"; - echo "\t\tMAC Address: ", $bridge->macaddress, "\n"; + if(isset($bridge->macaddress)) + echo "\t\tMAC Address: ", $bridge->macaddress, "\n"; echo "\n"; }