Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping PID's to raw data #224

Open
Almer opened this issue Oct 5, 2024 · 1 comment
Open

Mapping PID's to raw data #224

Almer opened this issue Oct 5, 2024 · 1 comment
Labels
pid People wnating help getting pid data for their car

Comments

@Almer
Copy link

Almer commented Oct 5, 2024

I connected the Wican module to my MQTT broker. Now, I want to map some specific data to readable names like "doors locked," "which door is open," or "key in ignition." Where do I start? I've been able to see a lot of incoming data through the monitor tab in the interface, but the IDs are coming in so fast that it's hard for me to track. Is there a way to find the IDs somewhere? This is for a Renault Master.

I've tried finding the id's on this page: https://en.wikipedia.org/wiki/OBD-II_PIDs but this looks different how these id's are build.

Thanks!

@jay-oswald jay-oswald added the pid People wnating help getting pid data for their car label Oct 15, 2024
@meatpiHQ
Copy link
Owner

@Almer CAN ID is not the same as PIDs.

The values you see in the monitor tab are CAN IDs. Some cars continuously broadcast CAN messages on the bus. To decode these messages, you need a DBC file or someone who has already mapped these values. Once you understand what these CAN messages represent, you can add them to the WiCAN CAN filter, which filters by CAN ID and interprets the value based on a formula or expression you specify.

When we refer to PIDs, we're typically talking about codes used to request data from the ECU. It's a request-response protocol, meaning you need to send a CAN frame as a request and then listen for a response frame. The ELM327 protocol was designed to simplify vehicle interaction, and it's what most apps use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pid People wnating help getting pid data for their car
Projects
None yet
Development

No branches or pull requests

3 participants