studioimaginaire / phue

A Python library for the Philips Hue system
Other
1.53k stars 267 forks source link

DeviceID when searching for lights #70

Open talwrii opened 7 years ago

talwrii commented 7 years ago

So the lights call refused to find my device (Philips hue go) until I manually specified the device id (a.k.a the serial id).

I had to do this using curl:

curl http://XXX.XXX.244.114/api/c320XXXXXXX82f32ead6bb19e913a7/lights --data '{"deviceid": ["DBXXXX"] }'

as documented in the api docs. It might be nice to support deviceid within the phue.