Screensaver state (currently active or not) as API call
N
Niels Lohmann
started a topic
about 7 years ago
I would like to take advantage of the fact that the LaMetric is not just a clock, but also has a light sensor in it. It would be great if the state of the light sensor (i.e., whether or not the screen saver is currently active) would be exposed in the API.
The API currently checks the state of the light sensor when notifications are sent via the API - if the screen saver is active but the notification is not critical, then an error message is displayed:
"Only notifications with priority 'critical' are allowed when screensaver is activated"
It would be great to have this information as boolean in the display state.
Niels Lohmann
I would like to take advantage of the fact that the LaMetric is not just a clock, but also has a light sensor in it. It would be great if the state of the light sensor (i.e., whether or not the screen saver is currently active) would be exposed in the API.
The API currently checks the state of the light sensor when notifications are sent via the API - if the screen saver is active but the notification is not critical, then an error message is displayed:
"Only notifications with priority 'critical' are allowed when screensaver is activated"
It would be great to have this information as boolean in the display state.
1 person likes this idea