Comments (7)
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.
@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.
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.
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.
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.
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.
i hope you manage to get your key ok
from phevcore.
Related Issues (12)
- Information request on webapi calls to outlander HOT 28
- compilation error in phev.c after 12/03/2021 commit
- Support for cancel charge timer command HOT 1
- Could this work with ESP32-POE-ISO
- Missing ; in phev.c
- MY20 PHEV HOT 4
- Non breaking space in src/phev_tcpip.c
- Build fails on logger.h HOT 1
- Vehicle software version 0.030, unable to register HOT 16
- Unlock vehicle HOT 2
- Old Battery level and segmentation faults for headlights and aircon HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phevcore.