The Hub object is composed of methods that allow you to interact with the settings and values of a hub. This object is available to apps and drivers via the Hub object getLocation().getHub() method or simply using the property location.hub.
idLong: An id for the hub. (Usually the value is 1 but not guaranteed)
nameString: The name of the hub as a String.
dataMap: A Map of data for the hub
zigbeeIdString: The Zigbee EUI
zigbeeEuiString: The Zigbee EUI
hardwareIDString: The hardware ID of the hub
typeString: The type of hub, always returns "PHYSICAL"
localIPString: The local ip address of the hub
localSrvPortTCPString: The local tcp port of the hub (always returns 39501)
firmwareVersionStringString: The current firmware version that the hub is running.
uptimeBigInteger: The uptime of the hub in seconds.
updateSystemTimeUpdate the date/time of the Hub.
boolean updateSystemTime(Date date)date The date/time to update to.boolean - true if update time is successful, false otherwise.