Свойство | Type | Description | |
---|---|---|---|
$attributes | stdClass | Bridge attributes | |
$client | Phue client |
Méthode | 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 | ||
Résultat | boolean | True if services are on, false if not |
public enableDhcp ( boolean $state = true ) : self | ||
$state | boolean | True to enable, false to disable |
Résultat | self | This object |
public getApiVersion ( ) : string | ||
Résultat | string | API Version |
public getGateway ( ) : string | ||
Résultat | string | Gateway address |
public getIpAddress ( ) : string | ||
Résultat | string | IP address |
public getLocalTime ( ) : string | ||
Résultat | string | Date |
public getMacAddress ( ) : string | ||
Résultat | string | MAC address |
public getProxyAddress ( ) : string | ||
Résultat | string | Proxy address |
public getProxyPort ( ) : string | ||
Résultat | string | Proxy port |
public getSoftwareUpdate ( ) : |
||
Résultat | SoftwareUpdate object |
public getSoftwareVersion ( ) : string | ||
Résultat | string | Software version |
public getUtcTime ( ) : string | ||
Résultat | string | Date |
public getZigBeeChannel ( ) : integer | ||
Résultat | integer | ZygBee Channel |
public isDhcpEnabled ( ) : boolean | ||
Résultat | boolean | True if DHCP is enabled, false if not |
public isLinkButtonOn ( ) : boolean | ||
Résultat | boolean | True if the link button on, false if not |
public isPortalConnected ( ) : boolean | ||
Résultat | boolean | True if portal is connected, false if not |
public setGateway ( string $gateway ) : self | ||
$gateway | string | Gateway |
Résultat | self | This object |
public setIpAddress ( string $ipAddress ) : self | ||
$ipAddress | string | IP Address |
Résultat | self | This object |
public setLinkButtonOn ( boolean $state = true ) : self | ||
$state | boolean | True for on, false for off |
Résultat | self | This object |
public setNetmask ( string $netmask ) : self | ||
$netmask | string | Netmask |
Résultat | self | This object |
public setProxyAddress ( string $proxyAddress = SetBridgeConfig::DEFAULT_PROXY_ADDRESS ) : self | ||
$proxyAddress | string | Proxy address |
Résultat | self | This object |
public setProxyPort ( $proxyPort = SetBridgeConfig::DEFAULT_PROXY_PORT ) : self | ||
Résultat | self | This object |
public setTimezone ( string $timezone ) : self | ||
$timezone | string | Timezone |
Résultat | self | This object |
public setZigBeeChannel ( integer $channel ) : self | ||
$channel | integer | Channel |
Résultat | self | This object |
protected stdClass $attributes | ||
Résultat | stdClass |