[Ovmsdev] Leaf door control

Tom Parker tom at carrott.org
Wed May 30 03:43:50 HKT 2018


On 26/05/18 15:58, Tom Parker wrote:
>
> On 26/05/18 01:44, Robin O'Leary wrote:
>> Unfortunately, I just tried on MY2015, and these commands seemed to
>> have no effect.  But maybe that isn't much of a surprise: my older
>> model doesn't claim to have remote lock/unlock, and the architecture is
>> a lot different (using frames with only 1 byte instead of 4, and on a
>> different bus).
>
> Given the remote door lock Stein has uses the same sequence the TCU 
> uses for remote climate control, I wouldn't be too surprised if it 
> doesn't work on cars that didn't have that feature from the beginning.
>
>> Did you have to unplug your TCU?  Mine is still plugged in; maybe I need
>> to try it unplugged.
>
> The other remote commands don't work properly when the TCU is plugged 
> in, so it's possible this is your problem. I have both a 2016 and 2012 
> Leaf, but unfortunately I swapped cars with a friend for the weekend 
> so I'll have to wait for it to come back with my OVMS v3 before testing.

Stein's code from your branch works on my 2016 car with the TCU plugged 
in (I still have the TCU plugged in because the hands free microphone 
doesn't work when it's simply unplugged). I couldn't work out how to 
make the android app send an unlock command though, it would only let me 
lock the doors. Does the car have to signal it is locked before the app 
will invite you to lock it?

I'll test on a 2012 car later today, but I'm pessimistic it will work on 
my car -- it needs to be woken up with a hardware signal rather than a 
CAN frame. The wakeup process changed to entirely CAN based in the 2013 
model year and I've had reports some 2012 cars don't need the hardware 
wakeup. I haven't set up my OVMS v3 to make the necessary signal, so it 
won't be able to wake the car.

On my 2016 model with the TCU connected, it locks the car multiple 
times. When I originally wrote the remote climate control and charge 
control code, I copied what the TCU sends, which is hte same message 
repeated for a second or so. Perhaps this is unnecessary on the 2016 
cars, or on the lock signal?

Stein do you have can bus captures of Nissan Connect doing the lock and 
unlock?



More information about the OvmsDev mailing list