Trigger: Hotspot Enabled/Disabled
The Hotspot Enabled/Disabled trigger fires when the WiFi hotspot (tethering) functionality is enabled or disabled on the device. This allows you to automate actions based on hotspot state changes.
Options
- Hotspot Enabled: Trigger fires when the WiFi hotspot is turned ON
- Hotspot Disabled: Trigger fires when the WiFi hotspot is turned OFF
Examples
Example 1: Notification When Hotspot Enabled
Triggers Hotspot Enabled
Actions Popup Message - Hotspot is now active Set Variable - hotspot_active = true
Shows a notification and sets a variable when the hotspot is turned on.
Example 2: Disable Hotspot After Timeout
Triggers Hotspot Enabled
Actions
Wait 30 minutes
IF hotspot_active = true
Hotspot Configure - Disable
Popup Message - Hotspot auto-disabled after 30 minutes
END IF
Automatically disables the hotspot after 30 minutes to save battery.
Notes
- This trigger monitors the "android.net.wifi.WIFI_AP_STATE_CHANGED" broadcast.
- The trigger responds to state changes in the WiFi Access Point (hotspot) functionality.
- Some devices may require additional permissions or settings for hotspot control.
See Also