Difference between revisions of "Trigger: Mobile Service Status"
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <pre | + | <pre class="header-style">The Mobile Service Status trigger fires when the device's cellular signal connection changes state. This allows you to automate actions based on whether your device has cellular service available or has lost the signal.</pre> |
| − | + | ||
| − | </pre> | + | ''' Options ''' |
| + | |||
| + | * '''Service Available''' - Fires when the cellular signal is established (device regains mobile network connectivity) | ||
| + | * '''Service Unavailable''' - Fires when the cellular signal is lost (device loses mobile network connectivity) | ||
| + | |||
| + | ''' Examples ''' | ||
| + | |||
| + | ''Example 1: Notify when cellular service is lost'' | ||
| + | |||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Mobile Service Status: Service Unavailable</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Notification: Cellular service has been lost | ||
| + | Enable WiFi</pre> | ||
| + | |||
| + | ''Example 2: Log when service is restored'' | ||
| + | |||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Mobile Service Status: Service Available</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | System Log: Cellular service restored | ||
| + | Disable WiFi</pre> | ||
| + | <pre class="constraint-style">Constraints | ||
| + | |||
| + | WiFi Enabled</pre> | ||
| + | |||
| + | ''' Notes ''' | ||
| + | |||
| + | * This trigger monitors the phone service state through a background service (PhoneStateMonitorService) | ||
| + | * The trigger detects changes in cellular connectivity, not signal strength | ||
| + | * This is useful for automating Wi-Fi switching when entering areas with no cellular coverage (such as basements or rural areas) | ||
| + | * The trigger monitors the overall cellular service state, not specific carrier or network type changes | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Constraint:_Mobile_Service_Status|Mobile Service Status Constraint]] | ||
| + | * [[Trigger:_Wifi_State_Change|Wifi State Change Trigger]] | ||
| + | * [[Trigger:_Roaming_Started/Stopped|Roaming Started/Stopped Trigger]] | ||
Latest revision as of 20:55, 6 January 2026
The Mobile Service Status trigger fires when the device's cellular signal connection changes state. This allows you to automate actions based on whether your device has cellular service available or has lost the signal.
Options
- Service Available - Fires when the cellular signal is established (device regains mobile network connectivity)
- Service Unavailable - Fires when the cellular signal is lost (device loses mobile network connectivity)
Examples
Example 1: Notify when cellular service is lost
Triggers Mobile Service Status: Service Unavailable
Actions Notification: Cellular service has been lost Enable WiFi
Example 2: Log when service is restored
Triggers Mobile Service Status: Service Available
Actions System Log: Cellular service restored Disable WiFi
Constraints WiFi Enabled
Notes
- This trigger monitors the phone service state through a background service (PhoneStateMonitorService)
- The trigger detects changes in cellular connectivity, not signal strength
- This is useful for automating Wi-Fi switching when entering areas with no cellular coverage (such as basements or rural areas)
- The trigger monitors the overall cellular service state, not specific carrier or network type changes
See Also