fix: add OBD_SKIP_VOLTAGE_CHECK support for clone ELM327 adapters

Counterfeit ELM327 chips (common in cheap PL2303 USB adapters) often report
bad/zero voltage even when the OBD connection is working. python-obd's
check_voltage=True default rejects these. Add OBD_SKIP_VOLTAGE_CHECK=1 env
var to pass check_voltage=False to obd.OBD(), documented in yaris-obd.service.

Also document Phase 24.6 Yaris 2013 compatibility analysis in PLAN.md.

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
Mathieu Moran
2026-08-10 05:26:40 -04:00
co-authored by Copilot
parent 10dea22f9a
commit c03cd6d48d
3 changed files with 47 additions and 1 deletions
+3
View File
@@ -17,6 +17,9 @@ Environment=PYTHONUNBUFFERED=1
# ISO 15765-4 CAN 11-bit 500kbps (correct for 2013 Toyota Yaris).
# Leave unset during initial setup so auto-detect can find the right value.
#Environment=OBD_PROTOCOL=6
# If the cheap ELM327 adapter reports bad voltage and fails to connect,
# set this to 1 to skip the voltage check (common with counterfeit ELM chips).
#Environment=OBD_SKIP_VOLTAGE_CHECK=1
ExecStart=/home/yaris/app/yaris-obd/venv/bin/python app.py
Restart=on-failure
RestartSec=5