python-lightify icon indicating copy to clipboard operation
python-lightify copied to clipboard

issue with color temperature adjustable bulb

Open ask-compu opened this issue 10 years ago • 3 comments

i think ur script may be broken when it comes to color temperature adjustable bulbs sending commands to the bulb works fine but the issue is in getting the status when getting the status of the dimming only bulb i have in my living room it works fine, light.on() reports 0 or 1 for on or off and light.lum() reports the current brightness between 1 and 100, but when i try to get info out of my temperature adjustable bulb no matter what the bulb's current status is it gives light.on() 10 and light.lum() 1

the app gets the current status of the bulb without issues

ask-compu avatar Jan 06 '16 09:01 ask-compu

Please try the latest version. Commit 973d32819225c55754fa9fd00a9b847be4a20b7f contains updates to the status response parser, which hopefully fixes this issue.

mikma avatar Jan 15 '16 00:01 mikma

thanks that fixed it, it also actually shows the name of my temp variable light, before i could only control it via group, i needed this to make a script that would flash my light, but i wanted my light to always end up in the state it was in before the flashing started, so i needed to be able to figure out what state the light is in before i start flashing

ask-compu avatar Jan 15 '16 22:01 ask-compu

there, i ended up making a hexchat plugin for myself that flashes my room light on certain events https://gist.github.com/ask-compu/6359e22b9c9be7683161

ask-compu avatar Jan 16 '16 00:01 ask-compu