Changes

no edit summary
Line 1: Line 1: −
<span style="color: #0E9549; font-size: 24px;">'''About this constraint '''</span>
+
<pre class="header-style">This constraint allows or prevents a macro/feature from running based on the device IP address.</pre>
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">This constraint can be used to allow/prevent functionality based on the current IP Address of the device.</pre>
+
 
 +
''' Options '''
 +
 
 +
* '''Matches''' - Match a specific IP address or pattern
 +
* '''Regex''' - Use regex for advanced matching
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Launch a smart home app only when on the home network''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Day/Time Trigger - 07:00</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Launch Application: Home Assistant</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
IP address - Matches 192.168.1.*</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger: IP address Change|IP address Change Trigger]]