Does anyone know how to use (in my case Edge 840) ambient light sensor through an API? Apparently it has one since it can adjust the brightness automatically. It would be nice if one could read the light level and make a function including that and the current speed to control ANT+ capable lights.
This was asked first more than 5 years ago. It might avoided your attention since then. And as it should be 5mins of engineering maximum it would worth a rethink.