Skip to content

Automation

ars edited this page Jan 15, 2026 · 6 revisions

Automation Guide

Maximize your convenience by automating the start and connection process using tools like Tasker or MacroDroid.

1. Auto-Start on Bluetooth Connection (Wireless)

You can configure your phone to automatically start the Android Auto projection when it connects to your car's Bluetooth.

Using Tasker (on Phone)

  1. Trigger: State -> Net -> BT Near (or BT Connected) -> Select your Car's BT.
  2. Action: System -> Send Intent
    • Action: android.intent.action.VIEW
    • Data: headunit://connect?ip=<YOUR_HEADUNIT_IP>
    • Package: com.andrerinas.headunitrevived
    • Target: Activity

Using MacroDroid (on Phone)

  1. Trigger: Bluetooth Event -> Device Connected -> Select Car BT.
  2. Action: Android Shortcut / Intent -> Send Intent
    • Action: android.intent.action.VIEW
    • Data: headunit://connect?ip=<YOUR_HEADUNIT_IP>
    • Package: com.andrerinas.headunitrevived

2. Automating WiFi Hotspot (on Head Unit)

If your Head Unit is the WiFi host, you might want to enable the Hotspot automatically when the app starts.

Note: This often requires root or system-level permissions on the Head Unit.

3. Headless Operation (Wireless Launcher Mode)

If you use the Wireless Launcher Mode (Settings -> General), HeadUnit Revived runs a background service.

  • 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 Head Unit's "Battery Optimization" or "Auto-Start" settings to ensure the service isn't killed by the system.

4. Useful Intents

Purpose Action / Data
Connect to IP android.intent.action.VIEW with headunit://connect?ip=192.168.x.x
Stop Projection (Future feature)

Clone this wiki locally