The homelink mirror has a 3 wire harness
Battery, 12v switched, and ground.
The homelink buttons should work if the ignition is on or off.
Autodim and compass only work when the key is on.
If your autodim/compass is on when the car is off, and the homelink buttons don't work - then the tech...