HK4 Hardwire Kit in a Tesla & Parking Mode & Raspberry Pi

Okkie

New Member
Joined
Feb 23, 2024
Messages
5
Reaction score
0
Location
Midden van het land
Country
Netherlands
When connecting the HK4 to a car, the RED cable goes to some permanent 12V source. The BLACK cable goes to any ground and the YELLOW cable goes to some source that switches on when the car is running. It is called ACC (or sometimes IGN) because it normally activates when the key is turned into the ACC position.

But what if the car does not have such a power source? In a Tesla model 3/Y (and maybe others) there is no fuse box. There is no easy to find power source that only carries 12V when the car is in driving mode. There are ways to get a permanent 12V that actually carries 16V on newer models, but they are not permanent and neither represent driving mode. In fact, they are powered whenever the car is not in deep sleep mode. When the car is charging, or when the car is in one of the A/C modes or when the car is in Sentry Mode, the 16V is always powered. Which is okay, since the need for the Viofo to run nicely matches the need for Sentry Mode to run. So far so good.

But I would like to activate Parking Mode when not driving. For some reason my WM1 "knows" that when the HK4 is connected, it can obey it's ACC-signal and ignore the GPS and Motion settings. But since I had to connect the yellow and red lines together to the 16V source, the Viofo never enters Parking Mode! Only when I disconnect the yellow line it immediately enters Parking Mode and stays there until I connect it again.

Now I'm thinking of building something around a Rapsberry Pi to drive that ACC input. It can piggyback on another project I'm also contemplating, so this might sound more overengineerd than it is. If I can determine the driving mode from my code in that Pi, I could trigger the ACC line to the HK4 and switch between Parking and Driving mode. But, now I've introduced what I know about the HK4, here's my question:

What do we know about the ACC input? Of course connecting some random 12V to it, will toggle the Parking Mode flag. But what kind of input is it? Can I directly feed one of the IO-lines to it? Probably not. Or is it some high impedance open collector mumble something? Then the 5V from the Pi might trigger it. Is there some datasheet describing it? Anyone else already did some digging I could not find?
 
My solution to this problem was to not use a hardwire kit at all. I have my cameras powered by the cigarette lighter outlet, and set to motion detect mode with parking mode off. This means when the car is parked with sentry mode on, the dash cams are also on, but only recording when something moves in front of the camera. The draw back is that sometimes the cameras stop recording when I am sitting at a stop light for a long time, but otherwise they work fine.
 
I did not like automatic detection for the reasons you mention. I had it running from the cigarette lighter until I got time to install the HK4. But then I got surprised by the HK4 to disabling automatic detection and depending solely on the state of the ACC connection. My personal preference is to hardwire the dashcam though, and now I got the wire all the way behind the dashboard and the console to the third party OBD2 connector behind the seats that I used to provide +16V and Ground. This frees up the cigarette connector for other purposes and it looks much neater. Switching back to the original cable means I have to redo all that hard work to get all the panels open and wires pulled through.

So now I got this weird idea to scan the can bus on the OBD2 connector for signals that indicate a 'driving' state to switch the ACC line.

Another neat idea would be to get permanent 16V directly from the low volgate battery and ACC from the backlight of the screen, but then I have to go places where I don't have the courage to go...
 
Back
Top