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
Longer CAN-Bus Messages than 8 Byte on MQTT #83
Comments
I want to get the following date from the VW E-Up: 22 02 BD --> so i send the following... and get back this... i think in data 169 = aa, 0 = bb, 28 = cc, dd and ee is missing. Is there a way to extend the messages? |
Hey @ggtimtom, each CAN frame can only be 8 bytes, so the mqtt will only have 8 bytes max. To address your issue, try sending a frame with data bytes: "data":[48,0,10,170,170,170,170,170] after receiving the first Rx message, this is a flow control message telling the ECU that your ready to receive multiple frames. Here are some useful links, if have an app that reads the this parameter you can log the request and response, see the wiki link below. The discussion link, is someone also trying to handle multiple frame response. https://github.com/meatpiHQ/wican-fw/wiki/EV-Battery-SoC-in-Home-Assistant-%E2%80%90-Example Let me know if it works for you |
Hello @meatpiHQ , i sent the dataarray as recommended an got back [33,240,0,0,55,174,172,240] Thank you! |
Hello,
is it possible to get data from the canbus which is longer than 8 Bytes over MQTT?
Regards, c
The text was updated successfully, but these errors were encountered: