Page 1 of 1

Getting a ELM327 Data displayed

Posted: Wed Aug 13, 2025 5:30 am
by pault
Hey I was not able to find a guide in your docs to set up the OBD reader data in Hudiy. Is there a guide somewhere or can someone walk me through the basics of how it's done? I got this one: https://a.co/d/dsH3ujO

Re: Getting a ELM327 Data displayed

Posted: Wed Aug 13, 2025 6:48 am
by hudiy
Hudiy supports two types of ELM327 devices - USB-connected or Bluetooth-connected.
A Bluetooth ELM327 must first be paired with the Raspberry Pi (just like a standard Bluetooth device).

You can configure the ELM327 device in the obd section of the main_configuration.json file: https://github.com/wiboma/hudiy/blob/ma ... ion.md#obd:
  • For a USB-connected ELM327, you need to set the appropriate serialDescriptor and baudrate (communication speed - the standard value is usually 115200).
  • For a Bluetooth-connected ELM327, after pairing, you need to provide the device's MAC address that Hudiy should connect to and the channel used for data exchange (usually 1).
Once the ELM327 is configured, you can use the examples available on our GitHub to display OBD-II data:
https://github.com/wiboma/hudiy/tree/ma ... les/api/js

To communicate with ELM327 in your own extensions, you can use the Hudiy API and the following messages (also used in our examples):
Checking connection status:
https://github.com/wiboma/hudiy/blob/ma ... proto#L415

Python example:
https://github.com/wiboma/hudiy/blob/ma ... bdQuery.py