Code Monkey home page Code Monkey logo

Comments (8)

beaune33 avatar beaune33 commented on September 3, 2024 1

You could connect two adapters, one for CanZE and the WiCan for listening… I did so. This could help you to find out Can identifiers and parameter ids.

from wican-fw.

meatpiHQ avatar meatpiHQ commented on September 3, 2024

Hey @beaune33

Are you able to read the SoC using car scanner app?

Is the return value shown above something defined my anybody?

Probably by the car manufacturer

Is this a special meatpi behavior?

The adapter will forward whatever it receive on CAN bus

from wican-fw.

beaune33 avatar beaune33 commented on September 3, 2024

Thank for this hint, indeed this behavior always may be watched, when car snanner app also does not manage to connect ECU. So, it is more a topic of the car, which seems to be sleeping somehow, but not totally, as there is a reaction to my mqtt request on can. Do you think there is a "wake-up"possibility? I know, the complete functionality of car scanner app does require the car ignition to be on; thats of course not possible to swirch on remotely. But reading some parameters does not require ignition beein switched on. There seems to be a state in between. Any idea what a wake-up call could be?

from wican-fw.

meatpiHQ avatar meatpiHQ commented on September 3, 2024

@beaune33 Have a look at this issue : #17 (comment)

I think they were successful waking up the ECU if the car is unlocked.

from wican-fw.

TheSmartGerman avatar TheSmartGerman commented on September 3, 2024

@beaune33
did you had any success so far?
I'm struggling to get any data from my kangoo #112 (reply in thread)

Zoe PH1 and Kangoo are quite similar on OBDII, so far I'm struggling to get any response. how do you request SOC by SID 0x22 / DEC 34 ?

My request so far: {"bus":"0","type":"tx","ts":21767,"frame":[{"id":2020,"dlc":8,"rtr":false,"extd":false,"data":[3,34,32,2,170,170,170,170]}]}

THX

from wican-fw.

beaune33 avatar beaune33 commented on September 3, 2024

The communication itself works pretty fine. I am not sure how similar these cars are really are. The Zoe uses 29-Bit identifiers for CAN, not 11-Bit, so it must be completely different from your telegram, e.g. for asking SoC:

{"bus":"0","type":"tx",frame":[{"id":416996337,"dlc":8,"rtr":false,"extd":true,"data":[3,34,146,193,170,170,170,170]}]}

For defining the telegram you need to know,

· which ECU does support your parameter (eg. for SoC it is 0xDB)

· what is the resulting CAN identifier, e.g. 0x18DADBF1

· the coding of the read request (SID: 0x22 for Zoe, Read Data by Identifier, defined by Unified Diagnostic Service UDS)

· the DID for the requested parameter (SoC: 0x92C1)

· the length of this telegram without length byte (3)

The other question is, when does the car feel fine to communicate with you. Easisest this works while charging, as then the car is fully awake. It may also work directly after opening doors, or going to drive. In soe situations, e.g. when connected to wallbox, but not charging, you may also succeed by some special wake-up-commands, but this seems to be very individual, and it is also good not to do too often, as this could discharge the 12V battery.

I hope this gives some new ideas to you, but indeed it will be necessary to step into deeper to clarify basic information.

from wican-fw.

TheSmartGerman avatar TheSmartGerman commented on September 3, 2024

Ok, by the CanZE Source the 29Bit identifier is for "new" Zoe, only the old (PH1) are similar to the Kangoo...

While charging or ignition on and a old elm327 I can get data with CanZE or other apps... but not with WiCAN. So still try to find the reason...

from wican-fw.

TheSmartGerman avatar TheSmartGerman commented on September 3, 2024

Ok, I do have a CAN-USB adapter, with Linux I can also da a CAN-Dump too.

from wican-fw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.