Getting a ELM327 Data displayed
Getting a ELM327 Data displayed
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
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:
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):
https://github.com/wiboma/hudiy/blob/ma ... proto#L415
Python example:
https://github.com/wiboma/hudiy/blob/ma ... bdQuery.py
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).
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):
- https://github.com/wiboma/hudiy/blob/ma ... proto#L662
- https://github.com/wiboma/hudiy/blob/ma ... proto#L673
https://github.com/wiboma/hudiy/blob/ma ... proto#L415
Python example:
https://github.com/wiboma/hudiy/blob/ma ... bdQuery.py