<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="">I’ve added support for notification of vehicle error codes, in the same way as v2.<div class=""><br class=""></div><div class="">Codes raised with:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">NotifyErrorCode(uint32_t code, uint32_t data, bool raised, bool force=false);</div></blockquote><div class=""><div><br class=""></div><div>The code can be raised with raised=true, or cleared with raised=false.</div><div><br class=""></div><div>To suppress flapping of error codes, the system keeps track of previous codes (notify errorcode list, notify errorcode clear), and will only send a notification once a code is silent for 120 seconds.</div><div><br class=""></div><div>You can test with ‘notify raise errorcode <code> <data> <yes|no>’.</div><div><br class=""></div><div>The Tesla Roadster vehicle code has an example for this.</div><div><br class=""></div><div>Regards, Mark.</div><div><br class=""><blockquote type="cite" class=""><div class=""> Commit: a3ecc5c7eb56caa96d7bbf3ecb68faadc586e6de</div><div class=""><div class="">      <a href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/commit/a3ecc5c7eb56caa96d7bbf3ecb68faadc586e6de" class="">https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/commit/a3ecc5c7eb56caa96d7bbf3ecb68faadc586e6de</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-13 (Sun, 13 May 2018)<br class=""><br class="">  Changed paths:<br class="">    M vehicle/OVMS.V3/main/ovms_notify.cpp<br class="">    M vehicle/OVMS.V3/main/ovms_notify.h<br class=""><br class="">  Log Message:<br class="">  -----------<br class="">  Error code notification system<br class=""></div></div></blockquote></div><br class=""></div></body></html>