You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Federico edited this page Nov 14, 2018
·
25 revisions
Sensors support
Clightd supports both Camera and ALS devices.
It offers an unified API to use them under /org/clightd/clightd/Sensor: Capture and IsAvailable.
When using these methods, if no device is specified, first supported sensor found will be used.
Obviously, ALS devices have priority as they are less power hungry and offer better results.
API also offers /org/clightd/clightd/Sensor/Als and /org/clightd/clightd/Sensor/Camera object paths that implement same org.clightd.clightd.Sensor interface, but only for chosen sensor type.