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

Get Odometer from Mitsubishi i-MiEV (and Citroen C-Zero/Peugeot iOn) #321

Open
Heavendenied81 opened this issue Jan 18, 2025 · 1 comment

Comments

@Heavendenied81
Copy link

You already helped me getting the SOC from the above Vehicle. Now I try to also get some more Information.
Seems like this information is always available on the CAN and do not have to be "requested".
So I started the monitor and got the information I need for Odometer.
But I do not know what to do now to send this information via MQTT to my Wallbox.

Here is a screenshot from the Monitor

Image

For Odometer we need PID 412 which we can see with "412h".
The needed bytes are (if I remeber correct Meatpi starts counting with B0 ?)
(Byte = HEX = DEC
B2 = 00 = 0
B3 = 4C = 76
B4 = 65 = 101
The formula should be ((B2 * 256) + B3) * 256) + B4
Converted to DEC and in my example:
((0*256) + 76) * 256) + 101 = 19557
And this is the correct value of my cars Odometer

So sorry if thats a stupied question, but how do I enter this now in the Automate -> Vehicle specific area?

@meatpiHQ
Copy link
Owner

@Heavendenied81 The Automate dose not support reading data that is available on the Bus, it only supports requesting data. You can use the CAN filter but that is only using mqtt.

https://meatpihq.github.io/wican-fw/mqtt/usage#_4-can-to-json-interpreter-filtering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants