Output GU10 (ein paar Sachen habe ich ge-'x'-t):
Code:
[root@edomi ~]# php hue_test.php
Phue\Light Object
(
[id:protected] => 5
[attributes:protected] => stdClass Object
(
[state] => stdClass Object
(
[on] =>
[bri] => 254
[ct] => 230
[alert] => none
[colormode] => ct
[reachable] => 1
)
[type] => Color temperature light
[name] => Schreibtischlampe
[modelid] => LTW013
[manufacturername] => Philips
[uniqueid] => 00:17:88:01:02:74:xx:xx-0b
[swversion] => 1.15.2_r19181
[swconfigid] => B7A3ED0F
[productid] => Philips-LTW013-1-GU10CTv1
)
[client:protected] => Phue\Client Object
(
[host:protected] => 192.168.10.xxx
[username:protected] => hEzCDZLjVcu
[transport:protected] => Phue\Transport\Http Object
(
[client:protected] => Phue\Client Object
*RECURSION*
[adapter:protected] => Phue\Transport\Adapter\Curl Object
(
[curl:protected] => Resource id #36
)
)
)
)


.


Einen Kommentar schreiben: