Page 1 of 5

Open Vehicle Monitoring System

Posted: Fri Feb 01, 2013 10:23 pm
by aminorjourney
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.

Image

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.

Re: Open Vehicle Monitoring System

Posted: Mon Feb 25, 2013 12:20 am
by aminorjourney
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.

Re: Open Vehicle Monitoring System

Posted: Mon Feb 25, 2013 6:39 am
by planetf1
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?

Re: Open Vehicle Monitoring System

Posted: Mon Feb 25, 2013 6:42 am
by planetf1
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)

Re: Open Vehicle Monitoring System

Posted: Mon Feb 25, 2013 10:15 am
by garygid
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).

Re: Open Vehicle Monitoring System

Posted: Mon Feb 25, 2013 10:32 am
by garygid
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

Re: Open Vehicle Monitoring System

Posted: Thu Feb 28, 2013 1:52 pm
by KevinSharpe
garygid wrote: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.

Re: Open Vehicle Monitoring System

Posted: Thu Feb 28, 2013 4:32 pm
by GregH
KevinSharpe wrote:Other cars in development include the tzero.
Now there's a small market...

Re: Open Vehicle Monitoring System

Posted: Thu Feb 28, 2013 10:40 pm
by garygid
On the Roadster, is there only one CAN bus for the whole car?

Re: Open Vehicle Monitoring System

Posted: Fri Mar 01, 2013 3:14 am
by KevinSharpe
garygid wrote:On the Roadster, is there only one CAN bus for the whole car?
Yes :D