MariusRumpf / node-lifx

Node.js implementation of the LIFX LAN protocol :bulb:
MIT License
144 stars 28 forks source link

getAmbientLight always returns 0 on BR30+ (IR capable) #56

Open steve2507 opened 7 years ago

steve2507 commented 7 years ago

I noticed that getAmbientLight() always returns 0 for BR30+ (IR capable) lights. I tested this on 2 seperate lights. Regular A19's (Color 1000) seem to work just fine (always returning some value greater than 0).

I do believe these IR capable lights contain such a sensor just like the others do. Although I must say the only real evidence of that I could find over here: https://lan.developer.lifx.com/docs/infrared-channel-control;

In the future other metrics such as ambient light levels and the overall temperature of the bulb may also be used to adjust the Infrared channel.

Any ideas on this?