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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user