Open Vehicle Monitoring System

My Nissan Leaf Forum

Help Support My Nissan Leaf Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

aminorjourney

Well-known member
Joined
Jul 31, 2010
Messages
92
Location
Porland, OR
Hey folks!

(It's currently 5am while I write this in the UK, so forgive any spelling or grammatical errors!)

I'm one of many users of the Open Vehicle Monitoring System. It's an open-source project that initially gave Tesla Roadster owners Carwings functionality thanks to a great piece of hardware and a continually-evolving open-source software project. (Note: Tesla Roadsters never got remote functionality and connectivity with the Roadster, despite each roadster's data connection back to the mothership)

OVMS connects to an EV's OBDII port, and with some careful configuration (and lots of coding from the volunteers) it can now do everything from start charging remotely on a Tesla Roadster through to unlocking the doors, monitoring tire pressures, etc etc etc.



Last year, OVMS got a major upgrade which gave it modular functionality. For the first time, this meant that it could work with cars other than the Tesla Roadster. In fact, any EV with an ODBII port could theoretically be supported.

There are plenty of other EVs out there without native data connectivity. IN the UK that includes the Vauxhall Ampera/Chevy Volt (OnStar doesn't exit here, so neither does the smartphone connectivity), the Think EV, and the Renault Twizy.

As I've got a Renault Twizy and Nissan Leaf, I spent the $99 on an OVMS module so I can keep track of my Twizy's SOC remotely. It works a charm!

But with Carwings being so unreliable, not to mention closed-source, I've asked Mark Webb-Johnson -- the project's founder -- to help Leaf owners by letting the community code Leaf Support into OVMS.

And here's where you all come in.

I can code my way through some basic PHP. Heck, I can even spot the occasional error in someone else's code. And I've done my fair share of Linux/Mac/PC hackage.

But I'm not a decent coder. It takes me a long time to get anywhere (I'm a musician and an EVangelist, not a programmer) And I'm starting to look at the code and absorb it. But for me to get anything meaningful out of it will take time! I need help!

So if any of you are willing to help code support for the LEAF into this, please consider helping out. Not only will it give LEAF owners an alternative to Carwings, but should Nissan start to charge for the service, at least there will be another way out. I know the LEAF CAN bus is more complex than your average car, but thanks to the hard work of those who have already decoded a lot, there's a way to make this work.

Imagine, for example, what would happen if you could get OVMS to report GIDs and REAL SOC back to your phone? ;)

Anyone interested in helping? The code is over at GitHub.

Nikki.
 
Bumping this -- is no-one interested in OVMS? If not, why not? As I understand it, those of us with early Leafs will soon have to start paying for CarWings. (Wasn't it free for three years?)

Just as an update...

What's more, there are some really awesome integrations being worked on to bring OVMS and OCM together. I see this as a first step towards a fully integrated system that not only allows you to control your car remotely, but lets you update OVMS with good (and bad) charging experiences to benefit other EV drivers

So, who wants to help with the coding? I've got OVMS plugged into my Leaf at the moment, but what the team really needs is folks to log CANBUS data to donate to the project so folks can reverse-engineer what's going on and build a better alternative to CarWings

(I think, for example, that it will be possible to design a system which starts and stops charging...)

Nikki.
 
I'm certainly not short of interest, just time.

I don't know a whole lot about this area, but tacking the specific point about logging, I think the first inhibitor is the leaf's use of 4 CAN buses - I think they include
- regular canbus (like normal cars)
- EV specific
- Nav system
- Chademo (not on OBD connector)

I've not looked into OVMS much yet, but think I saw some mention of a new adapter being developed?
Is this a plugin to the main module?
to support all 3 buses?
I know resoldering/switching may be a short term option to switch the decode to the desired can bus?
 
Just as an aside, the OBD-II port is in a slightly annoying place for constant use. I've not yet tried a slim right angle cable yet (I was trying to use an old OBD scanner even just for the regular can, which supports some CAN buses but couldn't figure out the leaf protocol)
 
Apparently one needs to buy cell-phone data service to join this project, right?

Then. it connects to only one CAN bus, and the connection to the
outside world is perhaps insufficient to log all the CAN data.

If you want logs of LEAF data, you may want to look at what we have
posted on-line (see the link in my signature to CAN-Do).
 
Using OVMS on the LEAF, what CAN bus does it connect to,
presumably the standard CAR-CAN bus.

Get connected to the EV-CAN bus, and you will be able to see
SOC, GIDs, and Pack Voltage and Current floating by.

The Recipes used in CAN-Do will show you where this data
can be found.

It is not generally known how to remotely empty the ash tray. :D

Do you have logs available from the roadster, or any other car,
or is OVMS primarily a tesla roadster system?

We have logged the S, the iMiEV, 4 buses on the LEAF, and 2 buses
on the new RAV4-EV.

Hooefully, what we are doing (logging and exploring the data)
will help you move forward.

There is a lot of information in our LEAF CANbus sub-forum.
Cheers, Gary
 
garygid said:
Do you have logs available from the roadster, or any other car, or is OVMS primarily a tesla roadster system?
Today OVMS support Tesla Roadster, Volt/Ampera, Twizy, and generic ODBII;

http://www.openvehicles.com/vehiclesupport" onclick="window.open(this.href);return false;

Other cars in development include the tzero.
 
Kevin, Thanks.
The RAV4-EV has (at least) two CAN buses, one on the OBD
connector, and one behind a rear left-side panel in the
cargo area. We have logged both of these.

How about the S model?
Does it also have only one CAN bus?
We have logged the CAN bus on the OBD port.

Thanks again, Gary
 
garygid said:
The RAV4-EV has (at least) two CAN buses, one on the OBD connector, and one behind a rear left-side panel in the cargo area. We have logged both of these.
That's great... don't know if anyone is interested in joining the OVMS developers list and making them aware? Adding new vehicles seems pretty quick and lots of test resource available :)

http://lists.teslaclub.hk/mailman/listinfo/ovmsdev" onclick="window.open(this.href);return false;

garygid said:
How about the S model? Does it also have only one CAN bus? We have logged the CAN bus on the OBD port.
Most of the early OVMS supporters were Tesla Roadster owners who also have a Model S now. One of the motivations behind OVMS is to have a single tool that you can use with any EV in your garage.
 
Some progress being made towards OVMS Leaf support in the UK :)

http://www.leaftalk.co.uk/showthread.php/9987-Open-Vehicle-Monitoring-System?p=27827&viewfull=1#post27827" onclick="window.open(this.href);return false;

Leaf_SOC.jpg
 
An OBD "Y" cable:
http://www.obd2cables.com/products/obd-cables/cables-j1962m/cable-j1962m-to-2-j1962f-y-cable-1ft.html" onclick="window.open(this.href);return false;

But, similar cables can be found elsewhere for less,
like at Amazon, as I recall... yes:
http://www.amazon.com/OBDII-Splitter-J1962M-2-J1962F-145802/dp/B000TMCX72/ref=sr_1_1?ie=UTF8&qid=1365010273&sr=8-1&keywords=obd+splitter+cable" onclick="window.open(this.href);return false;
 
LakeLeaf said:
Cool - thanks Gary. I'd have thought a splitter would have to be an active device, but this looks like it would do exactly what I want - and for the right price!
The CAN bus is supposed to be a bus, not a star, so try and keep the length of the cables (especially with the "Y") you're using short to keep from bringing the bus down with reflections.
 
some good progress being made :)

278 GID's being displayed and next revision of OVMS hardware in development with screen and multiple CAN bus support;

http://lists.teslaclub.hk/pipermail/ovmsdev/2013-April/001069.html" onclick="window.open(this.href);return false;

Nikki_Leaf_GID.jpeg
 
Back
Top