Difference between revisions of "Constraint: Wifi HotSpot State"

 
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 Wi-Fi hotspot state.</pre>
  
This constraint can be used to allow a trigger to fire only when the wifi hotspot is enabled/disabled.
+
''' Options '''
 +
 
 +
* '''Enabled''': Constraint passes only when hotspot is on
 +
* '''Disabled''': Constraint passes only when hotspot is off
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Disable Wi-Fi when hotspot is enabled''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Screen On/Off - Screen On</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Wifi Configure (Disable)</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
Wifi HotSpot State - Enabled</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger: Hotspot Enabled/Disabled|Hotspot Enabled/Disabled Trigger]]

Latest revision as of 14:07, 9 January 2026

This constraint allows or prevents a macro/feature from running based on the Wi-Fi hotspot state.

Options

  • Enabled: Constraint passes only when hotspot is on
  • Disabled: Constraint passes only when hotspot is off

Example

Example 1: Disable Wi-Fi when hotspot is enabled

Triggers

Screen On/Off - Screen On
Actions

Wifi Configure (Disable)
Constraints

Wifi HotSpot State - Enabled

See Also