studioimaginaire / phue

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

i can't turn on the light.....please help #114

Closed thxkew closed 2 years ago

thxkew commented 6 years ago

from phue import Bridge b = Bridge('192.168.1.100') b.set_light(1, 'on' , True) No handlers could be found for logger "phue" [[{u'error': {u'type': 3, u'description': u'resource, /lights/1/state, not available', u'address': u'/lights/1/state'}}]]

i code python in raspberry pi 3 but it alert error follow above. it seem can't connect the bridge or another problem i'm not sure. and i have no i deal how to fix it. please help me to fix.

thank you so much

Unintendedsideeffects commented 5 years ago

You haven't run b.connect()