-
-
Notifications
You must be signed in to change notification settings - Fork 49
Automation
ars edited this page Mar 16, 2026
·
6 revisions
Maximize your convenience by automating the start and connection process.
The simplest way to automate the connection is using our companion app: Wireless Helper
- Select your Car's Bluetooth device in the app.
- Set Auto-Start to "On Bluetooth Connection".
- The app will automatically wake up and trigger Android Auto as soon as your phone connects to your car.
If you use Wireless Mode: Helper Mode (Settings -> General), HeadUnit Revived runs a background service on the tablet.
- The service listens for connection requests from your phone.
- Once a request is received, the app pops up automatically.
- Tip: Whitelist HeadUnit Revived in your tablet's "Battery Optimization" or "Auto-Start" settings.
You can trigger actions using Android Intents or the new App Shortcuts (v1.15.0+).
Headunit Revived supports static shortcuts that are automatically detected by system automation tools:
- Connect: Automatically connects to the last known device.
- Disconnect: Safely ends the current session.
- Exit App: Safely ends the session, stops all background services, and completely closes the app.
- Mode: Day / Night / Auto: Directly controls the display theme.
If you have complex automation needs, you can use the following intent data:
-
Action:
android.intent.action.VIEW -
Package:
com.andrerinas.headunitrevived -
Target: Activity (via
AutomationActivity)
| Purpose | Action / Data |
|---|---|
| Connect to IP |
headunit://connect?ip=192.168.x.x (URI) |
| Connect (Last Device) |
headunit://connect (URI) |
| Disconnect Session |
headunit://disconnect (URI) |
| Exit App |
headunit://exit (URI) |
| Set Night Mode |
headunit://nightmode?state=day|night|auto (URI) |
| Connect Action |
com.andrerinas.headunitrevived.ACTION_CONNECT (Intent) |
| Disconnect Action |
com.andrerinas.headunitrevived.ACTION_DISCONNECT (Intent) |
| Exit App Action |
com.andrerinas.headunitrevived.ACTION_STOP_SERVICE (Intent) |
| Set Night Mode Action |
com.andrerinas.headunitrevived.ACTION_SET_NIGHT_MODE (Intent) |
Note for Intents: These are Activity-based intents. Use the state extra (String: day, night, or auto) when sending ACTION_SET_NIGHT_MODE.
# Exit the application
adb shell am start -a android.intent.action.VIEW -d "headunit://exit"
# Set night mode
adb shell am start -a android.intent.action.VIEW -d "headunit://nightmode?state=night"
# Disconnect session
adb shell am start -a android.intent.action.VIEW -d "headunit://disconnect"