Building a Non-Developer's AI Office Part 6 — First Real-Car Test: Remotely Debugging the In-Car Tablet from Home
Two days when the app met a real Tesla for the first time: a setup where the AI on the home computer controls the in-car tablet remotely, the causes and fixes for four problems that blew up in the first real-car test, and Tesla BLE facts confirmed only in the car.
Previously (Part 5): after setting up the IA, a screen worth keeping appeared in a day, and a pipeline where a local AI writes the code and Gemini inspects it took hold. This part covers the two days (October 10–11) when that app first met a real car. What was prepared, what blew up, and how it was fixed, in order.
What to Watch For 👀
- The AI at home installs the app on the in-car tablet, takes screenshots, and even reads the logs. All it took was one laptop and one command
- Four bugs blew up in the first real-car test. The writer wrote down every cause and fix
- Tesla Bluetooth: six facts nobody knew until it was actually connected to the car. The real harvest of this part
- Response time after the fixes: 0.255 seconds on average. Not a feeling — a number measured 3,805 times
1. Preparation — Calling the Home AI Into the Car
The app is built on the Mac Studio (at home), and the tablet is in the car. To let Claude at home handle the tablet directly while the Mango Keeper sits in the car, one more layer was added on top of the reverse tunnel from Hands-on Guide 1.
[Tablet] ─USB─ [MacBook Air · in car] ──ssh -R 5038:localhost:5037──▶ [Mac Studio · home]
adb server (5037) ADB_SERVER_SOCKET=tcp:localhost:5038 adb …- MacBook Air in the car: plug in the tablet over USB and check
adb devices→ lend its adb to home withssh -R 5038:localhost:5037 <home computer>. Usecaffeinate -disso it doesn't sleep with the lid closed - Mac Studio at home: add
ADB_SERVER_SOCKET=tcp:localhost:5038and the in-car tablet looks as if it were plugged into your own computer. Installing (adb install -r), screen capture (adb exec-out screencap) and logs all work - Real-time log script (newly made that evening): keeps filtering only app logs, crashes and Bluetooth connection (GATT) logs into a file. If the tunnel is open, it automatically looks at the in-car tablet
The first obstacle wasn't code. The Mango Keeper's first message from the car was "My tethering hit its limit so I couldn't connect." A remote lab needs an internet connection in the car too.
2. What Blew Up in the First Real-Car Test — Problem · Cause · Fix

| Symptom | Cause | Fix |
|---|---|---|
| Entered the VIN, but the app couldn't find the car | A one-character typo at position 13 of 17. Tesla builds its Bluetooth advertising name from the VIN (a hash of it). Get one character wrong and you'll never find it | Worked backward from the filter name in the Bluetooth scan record to find the typo → added VIN check-digit validation and a "Re-enter VIN" button to onboarding |
| Only the battery showed; the speed slot showed "—" | In just one kind of vehicle-state response, the key names were camelCase (userPresence). The app read them as snake_case, concluded "nobody is in the car," and stopped requesting driving data | Changed the parser to accept both formats |
| The app crashed whenever a destination was set | A "TODO: implement later" had been left as is in the navigation destination conversion code | Implemented it and reinstalled. This also confirmed that destination, remaining time and expected battery on arrival are already in the car's response |
| Speed and gear changed noticeably late | The request interval was 2 seconds while driving, and 30 seconds after 10 seconds parked | Shortened to 0.25 seconds driving · 1 second parked |
Pointing out the slow speed, the missing lock state and the missing temperature one by one, the Mango Keeper left this remark:
Don't write it off as an environment or device problem
In fact, the cause of the slow response was neither the car nor the tablet but the app's request interval setting. It's a useful line for any non-developer working with AI, because "blame the environment" ends up meaning there's nothing to fix.
3. How It Was Fixed — Human · Claude · Local AI · Gemini
That night's fixes ran through exactly the pipeline set up in Part 5.
- Claude: reads the logs, determines the cause, and writes a per-file fix instruction
- Local AI (Mac Studio): fixes the code according to the instruction. At 10:25 PM, 17 files at once (request interval · delay indicator · temperature · model name · VIN validation)
- Gemini: inspects the fixed files against the spec. Out of 18 files it caught 2 real defects (including the tap area of the Re-enter VIN button), which were fixed again before passing
- Install: from the Mac Studio through the tunnel to the tablet in the car
The next day, when the same pipeline inspected 13 files, there was 1 real defect, and all 181 unit tests passed.
4. Tesla BLE Facts Confirmed Only in the Car
These couldn't be known from documents and code alone. This is probably the most useful part for anyone building an app on Tesla Bluetooth.
| What | Measured |
|---|---|
| Response key format | Vehicle-state responses (doors · lock · occupancy) are camelCase; driving and charging responses are snake_case — they arrive mixed from the same car |
| Lock state | Auto-lock while driving is INTERNAL_LOCKED, after getting out LOCKED. When unlocked, the key doesn't arrive at all (default values are omitted in this format) → read it as "no key means unlocked" |
| Door open | closureStatuses.frontDriverDoor: CLOSURESTATE_OPEN arrives → a "door open" warning can be built without waking the car |
| Sleep after getting out | The car fell asleep about 5 minutes after the driver got out. The app asking about charging and temperature every 60 seconds didn't prevent sleep. As soon as the car sleeps, the app stops asking (the Part 1 rule "battery can only be read by waking the car" was confirmed in the real car) |
| Response time | About 0.12 seconds for door/lock state, about 0.43 seconds for driving data (after the first connection) |
| Car name | Can't be read over Bluetooth (remote API only). The app shows only the model, from the 4th character of the VIN |
5. Results — The Next Morning's Drive After the Fixes
Measurements from the drive on the morning of October 11 (36 minutes, request interval 0.25 seconds):
- 3,805 driving-data requests · average response 255ms · 95% within 311ms
- 19 failures (0.5%) — all timeouts, recovered on the very next request
- Speed on screen updated about twice a second. Speed · gear · battery · range · inside/outside temperature all came in
6. Making the Remote Real-Car Lab "Always On" — Dog Mode

That morning Claude made a suggestion: leave the MacBook Air and tablet in the car for good, and the real car can be tested from home anytime. The Mango Keeper's answer to the theft worry was: "This is Korea. People don't smash car windows like in the US."
The remaining problem was that the car falls asleep in five minutes. The answer the Mango Keeper found was Dog Mode. Because it keeps the climate on for pets, the car stays awake and occupancy reads as "none." So the app doesn't ask for driving data and reads only charging and temperature every 60 seconds. The operating plan set that day:
- Weekends: install and check the fixes gathered during the week all at once. Dog Mode uses battery, so in 2–4 hour blocks
- Commutes (about 60 km · 2 hours): the MacBook Air in the car accumulates driving logs over USB without internet, and they're analyzed at home. The recording and analysis scripts for this were made the same day
- Checks that require driving (speed · gear · speeding warning) are collected and looked at when the Mango Keeper drives
There was one failure too. When the same conversation was opened in two windows at once, on the MacBook Air and the Mac Studio, the record split into two branches. Claude first wrongly explained it as "different sessions," then, after checking the record, corrected itself and merged the 42 split-off messages into one branch. A rule came out of it: only one conversation window.
The First Two Real-Car Days in Numbers
- 4 first-test problems → all fixed and reinstalled that night
- Request interval: driving 2 s → 0.25 s, parked 30 s → 1 s
- 3,805 requests while driving · 255ms average · 0.5% failures
- About 5 minutes from getting out to sleep · requests stop immediately on sleep ✅
- Local AI fixed 17 files at once · Gemini inspection defects 2 → 1
- Commits: 9 on the evening of October 10 · 27 on October 11
The Writer Asks Claude
Q. What does a non-developer need to copy this remote real-car lab?
A. Three things: a computer that's always on at home, one laptop to leave in the car, and a tunnel connecting them. The tunnel is exactly Hands-on Guide 1, and on top of it you lend the laptop's adb to home with one line of ssh -R. AI can write the commands, but a human has to take care of the in-car internet connection and the laptop's power. That's where the first day got stuck too.
Q. Why couldn't desk testing catch these problems?
A. On the desk we tested with fake data, and the fake data was shaped the way I expected. That key formats arrive mixed, or that the key is missing entirely when unlocked, couldn't be known before receiving responses from the real car. So the right goal for a first real-car test is not "check that it works" but "capture and record the raw responses." The raw data captured this time became the premise for later specs.
Q. What changed after "don't write it off"?
A. I check the logs and settings before stating a cause. That night the slow response was one line of app settings, and the typo problem wasn't "the car won't connect" but a design gap: "there's no screen to fix the VIN." If they'd been written off as environment issues, both would still be there.
Coming Up Next
On the commute the next morning, a new app was installed on the tablet in the car. The MacBook Air accumulated driving logs for two hours, and just before the internet cut out in the underground parking lot, a 116-minute record made it home. What that record revealed and which features changed is Part 7.