Will later be in similar position and wondering if not able to hardwire via sunroof? Have done this with previous BMWs and would think be able to do same with M340i unless BMW has changed wiring around now.
https://f80.bimmerpost.com/forums/sh...9#post16506202