aminorjourney
Posts: 92
Joined: Fri Jul 30, 2010 10:46 pm
Location: Porland, OR
Contact: Website Twitter YouTube

Open Vehicle Monitoring System

Fri Feb 01, 2013 10:23 pm

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.
Nikki Gordon-Bloomfield

Editor, co-founder, transportevolved.com
Mom, Troublemaker.

http://about.me/aminorjourney/bio

aminorjourney
Posts: 92
Joined: Fri Jul 30, 2010 10:46 pm
Location: Porland, OR
Contact: Website Twitter YouTube

Re: Open Vehicle Monitoring System

Mon Feb 25, 2013 12:20 am

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.
Nikki Gordon-Bloomfield

Editor, co-founder, transportevolved.com
Mom, Troublemaker.

http://about.me/aminorjourney/bio

planetf1
Posts: 18
Joined: Mon Mar 12, 2012 7:25 am
Delivery Date: 12 Mar 2012

Re: Open Vehicle Monitoring System

Mon Feb 25, 2013 6:39 am

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?

planetf1
Posts: 18
Joined: Mon Mar 12, 2012 7:25 am
Delivery Date: 12 Mar 2012

Re: Open Vehicle Monitoring System

Mon Feb 25, 2013 6:42 am

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)

User avatar
garygid
Gold Member
Posts: 12417
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: Open Vehicle Monitoring System

Mon Feb 25, 2013 10:15 am

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).
See SOC/GID-Meter and CAN-Do Info
2011 LEAF, sold in 2015
2010 Prius, 2014 silver Tesla S
Nissan EVSE, mod to 240/120v 16A
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
To Sell: X-treme 5000Li EV motorcycle

User avatar
garygid
Gold Member
Posts: 12417
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: Open Vehicle Monitoring System

Mon Feb 25, 2013 10:32 am

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
See SOC/GID-Meter and CAN-Do Info
2011 LEAF, sold in 2015
2010 Prius, 2014 silver Tesla S
Nissan EVSE, mod to 240/120v 16A
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
To Sell: X-treme 5000Li EV motorcycle

KevinSharpe
Posts: 418
Joined: Thu Jul 07, 2011 3:10 pm
Delivery Date: 07 Jul 2011
Location: Frome, UK

Re: Open Vehicle Monitoring System

Thu Feb 28, 2013 1:52 pm

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

Other cars in development include the tzero.
Investor/Tinkerer in Biomethane, Electric Transport, Hydrogen, Hydropower, Solar, Wind & Wave.

http://about.me/kevinsharpe

GregH
Posts: 859
Joined: Fri Jul 01, 2011 4:16 pm
Delivery Date: 13 Jun 2011
Leaf Number: 26967
Location: Irvine, CA

Re: Open Vehicle Monitoring System

Thu Feb 28, 2013 4:32 pm

KevinSharpe wrote:Other cars in development include the tzero.


Now there's a small market...
'17 blue Volt Premier w/ACC
'12 SL black Leaf
'11 SL blue Leaf
RAV4-EV 2002-2005
Gen1 & Gen2 EV1 1997-2003
PV 2.4Kw, 10kWh lithium battery SCE TOU-DA

User avatar
garygid
Gold Member
Posts: 12417
Joined: Wed Apr 21, 2010 8:10 am
Delivery Date: 29 Mar 2011
Leaf Number: 000855
Location: Laguna Hills, Orange Co, CA

Re: Open Vehicle Monitoring System

Thu Feb 28, 2013 10:40 pm

On the Roadster, is there only one CAN bus for the whole car?
See SOC/GID-Meter and CAN-Do Info
2011 LEAF, sold in 2015
2010 Prius, 2014 silver Tesla S
Nissan EVSE, mod to 240/120v 16A
PU: SDG&E
Solar PV: 33 x 225W -> 7 kW max AC
To Sell: X-treme 5000Li EV motorcycle

KevinSharpe
Posts: 418
Joined: Thu Jul 07, 2011 3:10 pm
Delivery Date: 07 Jul 2011
Location: Frome, UK

Re: Open Vehicle Monitoring System

Fri Mar 01, 2013 3:14 am

garygid wrote:On the Roadster, is there only one CAN bus for the whole car?
Yes :D
Investor/Tinkerer in Biomethane, Electric Transport, Hydrogen, Hydropower, Solar, Wind & Wave.

http://about.me/kevinsharpe

Return to “LEAF CANBus”