Property | Type | Description | |
---|---|---|---|
$attributes | stdClass | Bridge attributes | |
$client | Phue client |
Method | Description | |
---|---|---|
__construct ( stdClass $attributes, |
Construct a Phue Bridge object | |
arePortalServicesEnabled ( ) : boolean | Are portal services enabled? | |
enableDhcp ( boolean $state = true ) : self | Enable DHCP | |
getApiVersion ( ) : string | Get API version | |
getGateway ( ) : string | Get gateway address | |
getIpAddress ( ) : string | Get IP Address | |
getLocalTime ( ) : string | Get local time of bridge | |
getMacAddress ( ) : string | Get MAC address of bridge | |
getName ( ) : string | Get name | |
getNetmask ( ) : string | Get netmask | |
getPortal ( ) : |
Get portal | |
getProxyAddress ( ) : string | Get proxy address | |
getProxyPort ( ) : string | Get proxy port | |
getSoftwareUpdate ( ) : |
Get software update | |
getSoftwareVersion ( ) : string | Get software version | |
getTimezone ( ) : string | Get timezone | |
getUtcTime ( ) : string | Get UTC time of bridge | |
getZigBeeChannel ( ) : integer | Get ZigBee channel | |
isDhcpEnabled ( ) : boolean | Is DHCP enabled? | |
isLinkButtonOn ( ) : boolean | Is the link button on? | |
isPortalConnected ( ) : boolean | Is portal connected? | |
setGateway ( string $gateway ) : self | Set Gateway | |
setIpAddress ( string $ipAddress ) : self | Set IP Address | |
setLinkButtonOn ( boolean $state = true ) : self | Set link button state | |
setName ( string $name ) : self | Set name of bridge | |
setNetmask ( string $netmask ) : self | Set Netmask | |
setProxyAddress ( string $proxyAddress = SetBridgeConfig::DEFAULT_PROXY_ADDRESS ) : self | Set Proxy address | |
setProxyPort ( $proxyPort = SetBridgeConfig::DEFAULT_PROXY_PORT ) : self | Set Proxy port | |
setTimezone ( string $timezone ) : self | Set timezone | |
setZigBeeChannel ( integer $channel ) : self | Set ZigBee channel |
public __construct ( stdClass $attributes, |
||
$attributes | stdClass | Bridge attributes |
$client | Phue client |
public arePortalServicesEnabled ( ) : boolean | ||
return | boolean | True if services are on, false if not |
public enableDhcp ( boolean $state = true ) : self | ||
$state | boolean | True to enable, false to disable |
return | self | This object |
public getApiVersion ( ) : string | ||
return | string | API Version |
public getGateway ( ) : string | ||
return | string | Gateway address |
public getIpAddress ( ) : string | ||
return | string | IP address |
public getLocalTime ( ) : string | ||
return | string | Date |
public getMacAddress ( ) : string | ||
return | string | MAC address |
public getProxyAddress ( ) : string | ||
return | string | Proxy address |
public getProxyPort ( ) : string | ||
return | string | Proxy port |
public getSoftwareUpdate ( ) : |
||
return | SoftwareUpdate object |
public getSoftwareVersion ( ) : string | ||
return | string | Software version |
public getZigBeeChannel ( ) : integer | ||
return | integer | ZygBee Channel |
public isDhcpEnabled ( ) : boolean | ||
return | boolean | True if DHCP is enabled, false if not |
public isLinkButtonOn ( ) : boolean | ||
return | boolean | True if the link button on, false if not |
public isPortalConnected ( ) : boolean | ||
return | boolean | True if portal is connected, false if not |
public setGateway ( string $gateway ) : self | ||
$gateway | string | Gateway |
return | self | This object |
public setIpAddress ( string $ipAddress ) : self | ||
$ipAddress | string | IP Address |
return | self | This object |
public setLinkButtonOn ( boolean $state = true ) : self | ||
$state | boolean | True for on, false for off |
return | self | This object |
public setNetmask ( string $netmask ) : self | ||
$netmask | string | Netmask |
return | self | This object |
public setProxyAddress ( string $proxyAddress = SetBridgeConfig::DEFAULT_PROXY_ADDRESS ) : self | ||
$proxyAddress | string | Proxy address |
return | self | This object |
public setProxyPort ( $proxyPort = SetBridgeConfig::DEFAULT_PROXY_PORT ) : self | ||
return | self | This object |
public setTimezone ( string $timezone ) : self | ||
$timezone | string | Timezone |
return | self | This object |
public setZigBeeChannel ( integer $channel ) : self | ||
$channel | integer | Channel |
return | self | This object |