Yes, I also used the valet/homelink function to lock the doors since the can-bus stops receiving after some time and the lock/unlock button is only one button that does not change status.
 
-Stein Arne-
 
 
 
On 2019-02-04 13:05, Robin O'Leary <ovmsdev@caederus.org> wrote:
On Mon, Feb 04, 2019 at 11:28:20AM +0100, ovms wrote:
> Attached is the two files I have changed before compiling. Can you use these two files and do a diff between yours and mine?

There was an earlier thread about this:

http://lists.openvehicles.com/pipermail/ovmsdev/2018-May/005167.html

I did a branch for it back then, which I just updated:

https://github.com/caederus-ovms/Open-Vehicle-Monitoring-System-3/tree/leaf-doorlock

However, I don't think the code is quite right, either on the branch or
in Stein Arne Sordal's version; the latter also adds Homelink button 2
which duplicates the unlock function and CommandActivateValet which
duplicates the lock function.

Both versions should probably also address the issue Tom mentioned,
(sending the lock/unklock command multiple times, if it isn't necessary):

http://lists.openvehicles.com/pipermail/ovmsdev/2018-May/005182.html
_______________________________________________
OvmsDev mailing list
OvmsDev@lists.openvehicles.com
http://lists.openvehicles.com/mailman/listinfo/ovmsdev