Sky view roof power supply question
I'm looking at options for mounting a dash cam with permanent wiring to a switched power supply.
As I'd like the camera up near the mirror I thought about taking power from the overhead console. The lights are on some form of timer, so I wondered about the sky roof.
What I need is a 12v supply that's powered when the ignition key goes in and shuts off as soon as the key is removed. I know I could use a lower voltage and a transformer, but to keep things simple I want to use a 12v as I can simply splice a lighter socket into the wiring and mount it up so it's hidden by the mirror. Then it would be a simple matter to add or remove the camera from a mount clamped to the mirror.
Am I thinking along the right lines?