<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Did some off-list work with Steve and Greg on homelink. Turns out that there is really a ‘duration’ associated with homelink transmissions. For Tesla Roadster:<div class=""><br class=""></div><div class=""><ol class="MailOutline"><li class="">For single button presses, the duration is about 1,000ms.</li><li class="">Any transmission longer than about 10,000ms - 14,000ms is cut-off and aborted after that time.</li><li class="">If a button is held down, homelink continues to transmit (up to the maximum #2 above).</li></ol></div><div class=""><br class=""></div><div class="">Accordingly, I’ve updated the homelink command, and vehicle modules that use it. Haven’t bothered to change the OVMS protocol v2 (as that can just use the default of 1000ms).</div><div class=""><br class=""></div><div class="">Regards, Mark<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Begin forwarded message:</div><br class="Apple-interchange-newline"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">From: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">GitHub <<a href="mailto:noreply@github.com" class="">noreply@github.com</a>><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Subject: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><b class="">[openvehicles/Open-Vehicle-Monitoring-System-3] 951f04: Support durations (default 1000ms) for homelink tr...</b><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Date: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">15 May 2018 at 9:23:39 PM HKT<br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class=""><a href="mailto:mark@webb-johnson.net" class="">mark@webb-johnson.net</a><br class=""></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=""><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif; color:rgba(0, 0, 0, 1.0);" class=""><b class="">Reply-To: </b></span><span style="font-family: -webkit-system-font, Helvetica Neue, Helvetica, sans-serif;" class="">GitHub <<a href="mailto:noreply@github.com" class="">noreply@github.com</a>><br class=""></span></div><br class=""><div class=""><div class="">  Branch: refs/heads/master<br class="">  Home:   <a href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3" class="">https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3</a><br class="">  Commit: 951f04587792c88682335ff938e83b6e071b5411<br class="">      <a href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/commit/951f04587792c88682335ff938e83b6e071b5411" class="">https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/commit/951f04587792c88682335ff938e83b6e071b5411</a><br class="">  Author: Mark Webb-Johnson <<a href="mailto:mark@webb-johnson.net" class="">mark@webb-johnson.net</a>><br class="">  Date:   2018-05-15 (Tue, 15 May 2018)<br class=""><br class="">  Changed paths:<br class="">    M vehicle/OVMS.V3/components/vehicle/vehicle.cpp<br class="">    M vehicle/OVMS.V3/components/vehicle/vehicle.h<br class="">    M vehicle/OVMS.V3/components/vehicle_demo/src/vehicle_demo.cpp<br class="">    M vehicle/OVMS.V3/components/vehicle_demo/src/vehicle_demo.h<br class="">    M vehicle/OVMS.V3/components/vehicle_nissanleaf/src/vehicle_nissanleaf.cpp<br class="">    M vehicle/OVMS.V3/components/vehicle_nissanleaf/src/vehicle_nissanleaf.h<br class="">    M vehicle/OVMS.V3/components/vehicle_teslaroadster/src/vehicle_teslaroadster.cpp<br class="">    M vehicle/OVMS.V3/components/vehicle_teslaroadster/src/vehicle_teslaroadster.h<br class=""><br class="">  Log Message:<br class="">  -----------<br class="">  Support durations (default 1000ms) for homelink transmissions.<br class=""><br class=""><br class=""><br class="">      **NOTE:** This service been marked for deprecation: <a href="https://developer.github.com/changes/2018-04-25-github-services-deprecation/" class="">https://developer.github.com/changes/2018-04-25-github-services-deprecation/</a><br class=""><br class="">      Functionality will be removed from <a href="http://GitHub.com" class="">GitHub.com</a> on January 31st, 2019.<br class=""></div></div></blockquote></div><br class=""></div></body></html>