Page 1 of 1

Get light sensor value (room brightness)

Posted: 29 Jun 2018 03:52
by aximili
(I am a Tasker user who just bought Automagic because I love the flow chart view and the less need for plugins)

In Tasker you can get the light sensor value using %LIGHT.
I rely on that heavily for my automations but my battery still survived so it's definitely worth it :)

In AutoMagic there is a light sensor trigger, but you cannot get the value from a condition.
Can this be added or am I missing something?

May be related:
1. viewtopic.php?f=5&t=4209
2. viewtopic.php?f=6&t=6096 (Creating your own screen filter using widget sounds really cool, if it can adjust transparency based on the current light, but first you'll need the light value)

Re: Get light sensor value (room brightness)

Posted: 29 Jun 2018 04:04
by digitalstone
If you look at the conditon Light Level, you'll see inside the variable part of the help-section that you can use the variable light_level further on inside your flow.
Inside this condition you'll set the criteria under or over which value should end up in a 'true' exit.

Re: Get light sensor value (room brightness)

Posted: 29 Jun 2018 07:56
by aximili
Perfect! Thanks very much! I've looked everywhere but couldnt find an answer I thought it was unavailable