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>...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== About ==
+
<span style="color: #1665b0; font-size: 24px; display: inline-block; margin-top: 15px; margin-bottom: 0px;"><strong>About this action</strong></span>
  
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
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>
 

Latest revision as of 16:08, 20 March 2024

About this action

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