Tom, Robin,

Can you have a look here:

https://www.openvehicles.com/node/209

I tried connecting the OVMS 3 unit to my 2016 Leaf.
The only thing I got working was the battery SOC (flapping between 133% and 30%)
It looks like the unit is sending pre-2016 CAN messages to the car.
I have done som extensive logging of my cars CAN-bus and have all the correct data that is needed to get the following to work:
Wake CAN
Climate control On
Climate control Off
Start Charging
Unlook doors
Lock doors
Instrument SOC
Chargeport open (will be next project)
I have implemented theese codes into a geolink unit, and it works by SMS-commands.
I would like to see this work on the OVMS V3 as well, but my coding skills are limited. I tried to compile the source code but get this error:
/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/ovms_boot.cpp: In constructor 'Boot::Boot()':
/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/main/ovms_boot.cpp:159:46: error: 'xt_set_error_handler_callback' was not declared in this scope
xt_set_error_handler_callback(ErrorCallback);
If some of you know how to fix it, please let me know.
If some of you are interested in the CAN-bus messages, let me know and I can provide it.

Thanks, Mark

On 29 Apr 2018, at 2:48 AM, Greg D. <gregd2350@gmail.com> wrote:

Document updated, thanks!

Greg


Robin O'Leary wrote:
On Fri, Apr 27, 2018 at 09:58:21AM -0700, Greg D. wrote:
Robin,

Could you take a look at the OVMS Metrics Table in Appendix 1 at the end
of the user documentation, and let me know what new metrics should be
checked as supported by the Leaf?

      
User doc is at
https://docs.google.com/document/d/16JrXR7rybp-18DrEoeh1rg6GqQT_jVBvhaXh2oEWRHw/
I see you have already added Cabin temperature; here are the other metrics
I added (*), and some that were there before my additions but not marked:

	State of charge [%]	v.b.soc
	State of health [%]	v.b.soh
	Calculated capacity [Ah]	v.b.cac
	Battery temperature [°C]	v.b.temp
	Inverter temperature [°C]	v.i.temp	(*)
	Door open flag: Front Left	v.d.fl	(*)
	Door open flag: Front Right	v.d.fr	(*)
	Door open flag: Rear Left	v.d.rl	(*)
	Door open flag: Rear Right	v.d.rr	(*)
	Trunk open flag		v.d.trunk	(*)
	Gear	v.e.gear	ms_v_env_gear
	Drive pedal state [%]	v.e.throttle	(*)
	Brake pedal state [%]	v.e.footbrake	(*)
	Handbrake Set flag	v.e.handbrake	(*)
	Car is Awake flag	v.e.awake
	Car cooling flag	v.e.cooling	(*)
	Car heating flag	v.e.heating	(*)
	Car HVAC is on flag	v.e.hvac
	Car is On flag		v.e.on
	Car is Locked flag	v.e.locked	(*)
	Car headlights are on flag	v.e.headlights	(*)
	Ambient temperature [°C]	v.e.temp
	Vehicle odometer [km]	v.p.odometer
	Tire Front Left pressure	v.tp.fl.p	(*)
	Tire Front Right pressure	v.tp.fr.p	(*)
	Tire Rear Right pressure	v.tp.rr.p	(*)
	Tire Rear Left pressure	v.tp.rl.p	(*)

Also, if any are unique or limited to
one model vehicle or another, let me know that too.  I'll update the
table with the new information.
Currently, I'm not aware of any model-specific metrics, but hopefully
we will get feedback from others if there are any.


_______________________________________________
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev

_______________________________________________
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev