Difference between revisions of "Action: Get Light Level"

(Created page with "== About == <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> Reads the current light level (lux) into a numerical variable. </pre>...")
 
Line 4: Line 4:
 
Reads the current light level (lux) into a numerical variable.
 
Reads the current light level (lux) into a numerical variable.
 
</pre>
 
</pre>
 
==<p><b> Example </b></p>==
 
 
''''' This action is used for very specific purposes, the example only shows how to obtain the current value of a variable (Only supports Integer and Decimal). '''''
 
<br>
 
'''''[https://macrodroidforum.com/wiki/index.php/Variables#Integer Integer] [https://macrodroidforum.com/wiki/index.php/Variables#Decimal Integer]'''''
 
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
 
Triggers
 
 
Empty trigger
 
</pre><br>
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
 
Get Light Level | Current lux
 
</pre><br>
 
 
<pre style="background-color: #387F3D; color: white; border-radius: 10px; padding: 10px;">
 
Constraints
 
 
 
</pre><br>
 
 
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
 
Local variables
 
 
Current lux = 47.43375015258780
 
</pre><br>
 

Revision as of 19:06, 29 January 2024

About

Reads the current light level (lux) into a numerical variable.