WARNING: This page is about a different car, the 2006 Infiniti M45. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: Auto Anti-dazzling Inside Mirror Circuit, W/ Home Link
Fig 2: Auto Anti-dazzling Inside Mirror Circuit, W/O Home Link