You're using your phone, right? It was other other guy that initially wanted to use Self Mode. You want the head unit connected to the internet to keep apps updated, etc.
So in Macrodroid on the phone:
Entering the car
Triggers - Connectivity>Bluetooth Event>Device Connected
Actions - Connectivity>Hotspot On/Off>Enable Hotspot
+
Applications>Shell Script>Rooted
am start-foreground-service -W com.google.android.projection.gearhead/com.google.android.projection.gearhead.companion.DeveloperHeadUnitNetworkService
Note this code that I've used in the past is slightly different than what I had shared with you the other day, which I had found from a quick web search... I'm not sure what difference either will make so experiment, if you wish.
Leaving the car
Triggers - Connectivity>Bluetooth Event>Device Disconnected
Actions - Connectivity>Hotspot On/Off>Disable Hotspot
+
Applications>Shell Script>Rooted
am stopservice -W com.google.android.projection.gearhead/com.google.android.projection.gearhead.companion.DeveloperHeadUnitNetworkService
And in Macrodroid on the head unit:
Triggers - Connectivity>WiFi State Change>Connected to network
MD Helper app is needed to achieve this. I don't recall having to do this back when I was using this method but it links to where to get it. You could also use Bluetooth as the trigger but you'll have to wait a couple seconds for the unit to connect to your hotspot and, if it doesn't connect for some reason, you'll be tapping the WiFi button wondering why it's not doing anything.
Actions - Applications>Launch Application>Select Application>Headunit Reloaded
Would be nice to launch right into the WiFi activity within HUR but I guess it's just like a sandboxed VM/emulator without conventional Android app activities. HUR doesn't show up for me in Activity Launcher to make a custom shortcut to launch with Macrodroid.
I recall HUR crashing if it was already open and Macrodroid tried to launch it, for example; I think I remember when I'd be parked and the head unit is still on with HUR running and then if I'd start the engine, power to the unit briefly cuts out and it tries to reconnect immediately once the engine has started, then it would crash. So I added a constraint:
Constraint - Device State>Application Running>Running in foreground>Headunit Reloaded
I think that's it; I just woke up so there may some mistakes. Also the XDA app relaunched in the middle of this so I nearly shat the bed but my message draft was still in the reply box so no new sheets/entire bed needed. Say what you will about this very much in-progress app, some things are good about it! And now the dog managed to execute the Back gesture on my phone... message still here. Phew... Alright, I'll leave before something does go wrong.
Hope this helps anyway, good luck