Code Monkey home page Code Monkey logo

Comments (7)

slikwerker avatar slikwerker commented on August 15, 2024

Nice idea, just bought an Outlander PHEV myself. I'm willing to help you. I'm an experienced Java developer. How can I help?

from phevcore.

ylexus avatar ylexus commented on August 15, 2024

@slikwerker great. I wanted to start with trying to connect ty my car using the existing phevctl command line utility that is based on this library. I failed to register it as a second device, so I reset my car's WiFi only to realise that I completely lost the original password (which has been updated by the dealership, so no record of it anywhere in the world except in my car). Dealerships are closed to non/essential activities in the UK, so I can't recover the password.

I wanted to start by ensuring the lib works with my car so you could do that too. Next step would be to try to understand existing code. I browsed it a little, but got stuck on understanding the API of the author's messaging library (msg-core) used by phev-core. Also failed to link this project to msg-core for convenient click-through in CLion. Lack of C ecosystem knowledge does not help. I guess you can try doing the same.

from phevcore.

slikwerker avatar slikwerker commented on August 15, 2024

Hi, I don't have a WiFi code either, so I've planned a meeting with a local dealer (at the end of the week) to check the batteries and to obtain the WiFi code.

In the meantime I'll try figuring out how the current code works.

from phevcore.

papawattu avatar papawattu commented on August 15, 2024

Hi,

You can ignore most of the msg library, its just a way to abstract different messaging implementation. The messages to the code are just byte strings, and look at the phev-core tests for the best way to understand what is going on.

Happy to help with the port - I also know a bit of Java, but wrote it in C because of the code is meant to run on low memory devices such as the ESP32.

from phevcore.

marvkis avatar marvkis commented on August 15, 2024

Hi,

I just stumbled over this lib and this ticket. My goal is also to have my MY19 integrated into openhab, so I also jump in here. I already had some 'low-level' experiments back in early 2019, so I've learned it's quite complicated to get the communication with the car up and running. (I assume MY20 behave quite similar to MY19). From my expirience things will get complicated when we try to configure everything correctly in order to have OH talking directly with the car. I think it would be good to have some device connecting to the car's wifi and also to the 'Home'-Network. I'm currently thinking of something like a RPI with two wifi sticks working as bridge between the home / oh network and the car. We could use the C library and build up a communication layer on top of it to communicate with OH. Mybe just a small java app running on the RPI using JNI to integrate the lib.

I already had a RPI connecting to my car... but where is it now..? It's a good time to have it reactivated ;)

from phevcore.

ylexus avatar ylexus commented on August 15, 2024

Unfortunately, my motivation is on pause as I can't recover the car's WiFi password for now. Wrapper around this library is a quick hack, yes, but I wanted a proper port. My platform is also rpi. I am running my own Java based automation hub based on my http://GitHub.com/ylexus/jiotty library.

I'll be back when I recover the password. If someone else takes the initiative - I'll be happy to contribute later.

from phevcore.

scooper1 avatar scooper1 commented on August 15, 2024

i hope you manage to get your key ok

from phevcore.

Related Issues (12)

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.