adlerre / obd2-mqtt

OBD2 to MQTT for Home Assistant
GNU General Public License v3.0
25 stars 1 forks source link
a7670 cellular elm327 esp32 gps home-assistant mqtt obd2 sim800

OBD2 to MQTT for Home Assistant

What you need?

Getting started

Upload via Web Installer (ESP Web Tools)

If you don't want to install PlatformIO and compile by your own, use the Web Installer.

Update Settings or Firmware & Filesystem

Info Settings1 Settings2 OTA Updater

Build

Build firmware.bin

pio run [-e OPTIONAL ENV]

Build littlefs.bin

pio run --target buildfs [-e OPTIONAL ENV]

Upload

Build and upload firmware.bin to device

pio run --target upload -e T-Call-A7670X-V1-0

Build and upload littlefs.bin to device

# connect to AP and save current settings
curl http://192.168.4.1/api/settings -o settings.json

pio run --target uploadfs -e T-Call-A7670X-V1-0

# after reboot connect to AP
curl -X PUT -H "Content-Type: application/json" -d @settings.json http://192.168.4.1/api/settings

Supported Sensors

This sensors only available if your car support.

Diagnostic Output:

Sensors1 Sensors2

If you are afraid of the Internet...

...and don't want to expose your MQTT broker on the Internet, use a free MQTT provider and take a look on mqtt-proxy tool.

ToDos