BLE ELM327 Response Parsing #266
|
Hello, thank you for making this available! I am attempting to pull OBD-II data from my car into homeassistant via this component. The relevant yaml code snippets are as follows: I am using this OBD database as a reference PBDb Explorer In particular, I'm looking for the data stored in the The response that I receive in the logs for PID E002 is a follows: The data that I need is on line If I'm understanding correctly, only the response data following the echo on line Thank you for your assistance! |
Replies: 1 comment 4 replies
|
Previously, multiline parsing wasn't supported, and the formula parameters only included 'abcd', so I added 'ef' too. sensor:
- platform: ble_elm327
name: "On-board charger, AC voltage a"
pid: "E002"
mode: "22"
pre_commands:
- "ATSH 7E5"
update_interval: 5s
formula: "return (e * 256.0f + f);" |
Previously, multiline parsing wasn't supported, and the formula parameters only included 'abcd', so I added 'ef' too.
Could you please test it like below?