commit 297ace0507663082303232f50f38bc2587a7300e Author: mikeiimura <85041778+mikeiimura@users.noreply.github.com> Date: Tue Apr 19 10:16:24 2022 -0700 Fix ODO display units to km commit 81e319bf584ea917ae343b462f2b6ceeca16af79 Author: mikeiimura <85041778+mikeiimura@users.noreply.github.com> Date: Tue Apr 19 10:01:57 2022 -0700 Remove change to .gitignore commit 791d7a1c9f7695378ecd4cc83ba37cb350e5a2d5 Author: Michael Balzer Date: Sun Apr 17 09:44:49 2022 +0200 VW e-Up/Docs: add alternative installation option by donaldduck8 commit e8e0b717782b243dd9b3330e231d330c17f1ba83 Author: mikeiimura <85041778+mikeiimura@users.noreply.github.com> Date: Sat Apr 16 17:00:27 2022 -0700 Update index.rst Added instruction about installing Web Plugin. commit 880b17d4055a378e18b95f316f3c8b89725e5121 Author: mikeiimura Date: Sat Apr 16 16:54:18 2022 -0700 JdeMO DC Charging Detection Added DC charging detection and charge modes, ideal range calc, gear letter metric, odometer. commit b6f08c2614d170e4408b7d699541347b12b1116c Author: Michael Balzer Date: Sat Apr 2 15:09:10 2022 +0200 Zip: update zlib to version 1.2.12 From https://www.zlib.net/: Version 1.2.12 has these key improvements over 1.2.11: * Fix a deflate bug when using the Z_FIXED strategy that can result in out-of-bound accesses. * Fix a deflate bug when the window is full in deflate_stored(). * Speed up CRC-32 computations by a factor of 1.5 to 3. * Use the hardware CRC-32 instruction on ARMv8 processors. * Speed up crc32_combine() with powers of x tables. * Add crc32_combine_gen() and crc32_combine_op() for fast combines. Due to the bug fixes, any installations of 1.2.11 should be replaced with 1.2.12. commit 34a62be123998e1c7d1f61d2a80ef2e777acd372 Author: Michael Balzer Date: Sat Apr 2 14:52:24 2022 +0200 Docs: add hint on early config restores commit bb857be2fcc04dcf1553cbef11ce05b917a6bcc9 Author: Michael Balzer Date: Sat Apr 2 14:51:05 2022 +0200 Zip: fix error message for out of disk space commit 7a1892440ff57f974e335977c2bf88bafc72176f Author: Michael Balzer Date: Thu Mar 31 22:12:48 2022 +0200 Location: add HDOP debug logging, enable continued logging & repeated alarms New configs: [vehicle] flatbed.alarminterval -- in minutes, default 15, 0 = single alarm commit 435b5004659de041701cf25e67d279ee01be7c68 Author: Mark Webb-Johnson Date: Thu Mar 31 09:58:20 2022 +0800 Minor changes to wording on fasttech stock items commit 76ed560323b893ee92a10552bea0cbfca7abf347 Author: Mark Webb-Johnson Date: Tue Mar 29 20:02:52 2022 +0800 OTA status display for operations in progress commit 0716b7b4fb3fe4f83802d2138f01b6a6868d784b Author: Mark Webb-Johnson Date: Wed Mar 23 13:50:36 2022 +0800 Add OTA erase and copy commands commit 0c949b7dc8bface3cc34d059ddfde4b15f5cc5bb Author: mikeiimura <85041778+mikeiimura@users.noreply.github.com> Date: Thu Mar 17 21:18:34 2022 -0700 Update index.rst commit 24f6cd029b0df5387e60a600822e64e102eefcb3 Author: mikeiimura Date: Thu Mar 17 21:09:24 2022 -0700 Stable Release-Tesla Bus Read-Only First stable release for RAV4 EV with only Tesla bus decodes and read-only display of vehicle information. Vehicle ON state and Charge state implemented with some debug and verbose logging. commit 42f3185c75e75048db640acd5aa1682e65cb4cee Author: mikeiimura <85041778+mikeiimura@users.noreply.github.com> Date: Sun Mar 13 15:11:48 2022 -0700 Update README.md Added link to Toyota RAV4 EV index doc commit d708680c8a0d2f5cd6bb083ddb5add4243de4eb8 Author: Mike Iimura Date: Sun Mar 13 14:59:04 2022 -0700 Initial RAV4 EV Support with docs commit 78b478424ba16bd562eb6e219fe95e8cd33c875e Author: Michael Balzer Date: Sat Mar 12 10:04:15 2022 +0100 Web UI: update monospace font families for better & broader OS support (based on latest stackexchange font family update) commit 196eea79e313fc74ebf4f11f666cb8d05281d430 Author: Michael Balzer Date: Sat Mar 12 09:20:01 2022 +0100 OTA: perform async flashing from SD (fixes issue #706) commit 25b124c5af9339ddd311a4ba6ad9b3dad79da493 Author: Mark Webb-Johnson Date: Mon Mar 7 10:06:49 2022 +0800 3.3.002 changes.txt commit a6e5b9ab957ab72f56740d6fd4ba484fe1691f80 Author: Michael Balzer Date: Sun Mar 6 10:57:29 2022 +0100 Cellular/GPS: fix watchdog trigger from disabled cellular GPS option commit 601f2a707e47ce9a88baec6da9f4bfd6786b52a7 Author: Michael Balzer Date: Sat Feb 19 07:58:54 2022 +0100 Hyundai Ioniq VFL: add vehicle speed reading commit 60dfc267907bb7aee2bc90901f37b0fa7f939bfd Author: Craig Leres Date: Mon Feb 14 13:24:06 2022 -0800 Update SSH Console doc for OpenSSH 8.8 after WolfSSL 4.6.0 update commit 6dfd313faf3631aaf47c3d866df0e484b198260e Author: Dimitrie78 Date: Thu Feb 10 21:31:29 2022 +0100 SmartEQ: BMS cell Monitor fix commit 568b76667ac542c8436dbd4eff164541b51eb6d1 Author: Alexander von Gluck IV Date: Thu Feb 3 08:13:23 2022 -0600 branding: Fix Bolt/Volt to be consistent in name commit 085b0df86cdd359bc7b46fc89bbe91c2d27f275c Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Thu Feb 3 07:34:09 2022 +0000 Updated speed PID commit 2f0c4bab58eafe1a7d12854749c78c01075f1a9d Author: Glyn Hudson Date: Wed Feb 2 18:49:41 2022 +0000 add e-nv200 info commit 413b3ba6c54940a0229cbf84c3ac0e64a989c3cc Author: Alexander von Gluck IV Date: Wed Jan 26 18:37:18 2022 -0600 Bolt EV: Initial work on the Bolt EV commit ce7da9e71c6cf32ad9a9a7ae171316feb45975ba Author: Michael Balzer Date: Sun Jan 30 11:03:44 2022 +0100 CAN logging: include vehicle custom events commit f80b3878dab15cb08c02643baf559d283f2b9a8f Author: Michael Balzer Date: Sat Jan 29 11:19:09 2022 +0100 Events: fix single shot timer usage (duplicate callback race condition) Att: xTimerChangePeriod() not only changes the period, it also starts a dormant (stopped) timer. So the timer was actually already running (and the callback could be executed) before the payload was assigned. Ref: https://github.com/espressif/esp-idf/issues/8234#issuecomment-1024581589 commit 0a0736d9478fcf2ae235793c5bb2d88300f0b6c8 Author: Michael Balzer Date: Sun Jan 23 11:01:05 2022 +0100 REtools: filters input in web UI, full list update on clearing commit 166da70639733b57543b5c6f2709547be7e677fa Author: Michael Balzer Date: Sun Jan 23 09:04:06 2022 +0100 Plugin AuxBatMon: fix CBOR decoding error handling commit 57b374dda51a295f06d8dfb49877bb1eb380b10e Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sat Jan 22 22:19:48 2022 +0000 Add CCS charging Add CCS charging and re write polling system commit a83d62bd2b245e21301ea598dbb9f1d0fe04d869 Author: Mark Webb-Johnson Date: Thu Jan 20 11:02:12 2022 +0800 Add fasttech skus for v3.3 hardware commit 9a8c9b0333173c54587dec89f4eb7b9b73b97be6 Author: Michael Balzer Date: Wed Jan 19 23:35:09 2022 +0100 Docs: added some more Wifi hints commit cbdc6f05aa92628c93d3f9729c571d294ce9ef21 Author: Michael Balzer Date: Tue Jan 18 20:14:00 2022 +0100 Tickers: fix 10/60/300/600 tickers (broken by Timer workaround) commit 8c7640676609ca252d91e47799f21488112d0f62 Author: Michael Balzer Date: Tue Jan 18 09:50:38 2022 +0100 Server V2: reduce unnecessary retransmissions of 'F' message Ref: https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/683 commit cfad95dd08f09edef2ba7cfd944366a7b987cfc7 Author: Michael Balzer Date: Sun Jan 16 11:26:09 2022 +0100 VW e-Up: add OCU/T26a images commit 9f84a852eea0771d42e84eb6ed7d81fccfb4d482 Author: Michael Balzer Date: Sat Jan 15 15:06:14 2022 +0100 Timers/tickers: workaround optimization for delayed callback runs (ref: https://github.com/espressif/esp-idf/issues/8234) Note: this scheme allows for callback processing delays of up to 3 ticks, it will fail to detect duplicate callbacks for timers with shorter periods -- if necessary, use another scheme there. commit 2f10812a97cc68ed313e51ce7685f6e0b5f18a60 Author: Michael Balzer Date: Sat Jan 15 14:35:53 2022 +0100 Events: added bug report issue reference commit bf3a705a933ca3c5c179a4b1d640f6a887cdecb7 Author: Michael Balzer Date: Sat Jan 15 14:32:01 2022 +0100 Renault Twizy: workaround for FreeRTOS duplicate timer callback bug (see https://github.com/espressif/esp-idf/issues/8234) commit 9f6eee4d67b98ed9ce83751c20cbd819f210edf9 Author: Michael Balzer Date: Sat Jan 15 14:29:07 2022 +0100 VW e-Up: workaround for FreeRTOS duplicate timer callback bug (see https://github.com/espressif/esp-idf/issues/8234) commit 12643c5a2f3089b955e47d862849782ea12f47f8 Author: Michael Balzer Date: Sat Jan 15 14:21:21 2022 +0100 Tickers: workaround for FreeRTOS duplicate timer callback bug (see https://github.com/espressif/esp-idf/issues/8234) commit b09732b883d4e16f34646335febc09b4d2a3b5e2 Author: Michael Balzer Date: Fri Jan 14 10:16:20 2022 +0100 Module: show free RAM status with task tracking disabled commit 134cc61592e3b5e6a3ed5d619a0bb6b6cae75bac Author: Michael Balzer Date: Fri Jan 14 10:14:15 2022 +0100 Housekeeping: add SPIRAM info to log checkpoints commit a101c8d1da26f1553613a8299ca2ef9722bcae9d Author: Michael Balzer Date: Fri Jan 14 10:12:08 2022 +0100 Events: optimize event processing with Duktape disabled / not started commit e1b4578e46939c429fcb4b60d88105345cb8aa02 Author: Michael Balzer Date: Fri Jan 14 10:10:16 2022 +0100 Build: fix building w/o SSL support, excluding TLS component commit 9ee7f503e12a2636c745c8c172a432076acd3efe Author: Daniel Date: Fri Jan 14 09:26:56 2022 +0200 Improve wakeup message commit 611d87e93709b4db5705d765c22031a2de906f77 Author: M. Jaunius Kapkan <38353835+mjkapkan@users.noreply.github.com> Date: Wed Jan 12 11:50:45 2022 +0200 rm unused variables from HandleCharging() commit 7ac23a856068e03f453391a910b4bfba878e8b98 Author: jaunius@gmx.com Date: Mon Jan 10 18:37:08 2022 +0200 #678 - add timerwait notification commit c7c159891c5f24cd3d1c1f8c07ee53bea1311250 Author: jaunius@gmx.com Date: Mon Jan 10 12:22:12 2022 +0200 #672 - fix v.d.cp behavior with pilot commit 48b83c2d9188138044ae011364678b2eeca5826b Author: jaunius@gmx.com Date: Mon Jan 10 02:47:40 2022 +0200 #672 - add range est. method to chg est. calc commit 2a13ca87269e0c697a2e086dccf564e6695446f1 Author: jaunius@gmx.com Date: Mon Jan 10 01:55:21 2022 +0200 #672 - fix charge est, powerwait substate commit d96ea73820347e7dc06412755b0b21d5aad200d7 Author: jaunius@gmx.com Date: Fri Jan 7 22:47:41 2022 +0200 #672 - updated documentation and changelog commit 23b0c019e2716125f7a9f1e76554a13754973068 Author: jaunius@gmx.com Date: Fri Jan 7 19:56:49 2022 +0200 #672 - allow both range and soc method commit b65cac814795d914102014972b58c96053e53134 Author: jaunius@gmx.com Date: Fri Jan 7 13:39:54 2022 +0200 #672 - fix charge substate, v.d.cp metric, hvac race condition commit 8eb4500f4e6f714b76ec2f15d233155784d6a6e0 Author: jaunius@gmx.com Date: Fri Jan 7 04:50:25 2022 +0200 #672 - fix top-up logic #644 - byte typo fix commit f60e8985cf1f3294363ee9e13c96f194a5b81e70 Author: jaunius@gmx.com Date: Fri Jan 7 00:44:50 2022 +0200 #672 - fix ui and notif text commit d6e649e19bfe4ea59c248506e0788687bbee0e5a Author: jaunius@gmx.com Date: Thu Jan 6 23:35:32 2022 +0200 #672 - add top-up feat #644 - implement perm fix commit b929653a76a83a2624f9d1be92f3aa6d77b9af1a Author: jaunius@gmx.com Date: Wed Jan 5 22:57:11 2022 +0200 #672 - fix cc interference #644 - fix hvac metric commit a0213eed6376bb137c98babe2f730ac7e100334a Author: jaunius@gmx.com Date: Wed Jan 5 17:14:41 2022 +0200 #672 - fix login, cleanup commit 332cd526b3bc8c41422207d99fa6691f5619571c Author: jaunius@gmx.com Date: Wed Jan 5 14:53:43 2022 +0200 #672 - refactoring bugfix commit 9597312dd58b9f4a650c523a745f2537205d1ed2 Author: jaunius@gmx.com Date: Wed Jan 5 14:40:48 2022 +0200 #672 - typo fix commit 4fe454b7071ced7530569ad81420465610205c69 Author: jaunius@gmx.com Date: Wed Jan 5 14:38:01 2022 +0200 #672 - handle charge substate, fix logic commit cdb0ba53909d4807883a5723cbaca968410f9c13 Author: jaunius@gmx.com Date: Wed Jan 5 13:21:04 2022 +0200 #672 - align remote charge stop, refactor commit 79bd01307c8ea9e16415b18ccbf905402f57e911 Author: jaunius@gmx.com Date: Wed Jan 5 08:32:55 2022 +0200 #672 - enhance logic, add notifications commit 7baf4fc8f835530bd241d9cec6d56677cb44a3af Author: jaunius@gmx.com Date: Wed Jan 5 05:47:24 2022 +0200 #672 - fix var messup, add auto start charge commit 2e3bb506911a293d41587702a8f5e8291a76c6ea Author: jaunius@gmx.com Date: Wed Jan 5 05:28:54 2022 +0200 #672 - fix auto charge stop commit 47165927bd9064662483a546b9c634a46b33eb97 Author: jaunius@gmx.com Date: Wed Jan 5 03:34:47 2022 +0200 #607 - fix NL feat UI text commit eb4dd39ff77c59ec908a2b5ecaef78ca4058fdb1 Author: Mark Webb-Johnson Date: Tue Jan 4 08:42:05 2022 +0800 Change can testtx to send 8 byte frames commit 6880d8c5b40d2be5619cb552337a248a8bda9bdd Author: Daniel Date: Mon Jan 3 18:15:37 2022 +0200 Add pictures and changes.txt commit 61227e023ddfb60063655cdb02fe32de928c0f12 Author: Daniel Date: Mon Jan 3 15:28:45 2022 +0200 Edit comment on TCU wiring commit d6a9ce20298c239c0958e1739f7846fa8e53fe7c Author: Daniel Date: Mon Jan 3 10:06:14 2022 +0200 Update doc on TCU guide commit 2c981a9f4a7c93a8542617ca3c37794655acc1ed Author: Daniel Date: Mon Jan 3 09:33:25 2022 +0200 Move pin write, edit webui commit 26c58987f554ea75a0ba79ce38124ac427e9d953 Author: Mark Webb-Johnson Date: Mon Jan 3 13:26:57 2022 +0800 add can testtx command commit 7893f987008ff0ee50799d42433c78c34d64fd3e Author: Daniel Date: Sun Jan 2 14:16:04 2022 +0200 Fix config writing commit ad1cc9fa0c72345af0fd326e9e4e9b85228030b1 Author: Craig Leres Date: Sat Jan 1 13:36:05 2022 -0800 Add missing newline to "cellular setstate" message commit 89122eab0b4cabf95932f7c192e91f3414f58bdc Author: Daniel Date: Sat Jan 1 14:05:22 2022 +0200 Added logging to 12V command commit e53a626e3c36abd7fc682f2bda9436a1cb6f6d73 Author: Mark Webb-Johnson Date: Thu Dec 30 22:31:53 2021 +0800 SPI rework courtesy of Christopher 'Scott' Weber commit 54576ea3d2c8cb683ce1bf6f9b7abbb3f8bc7e90 Author: Michael Balzer Date: Thu Dec 30 14:25:55 2021 +0100 Web UI: add "boot clear" button to status page commit eb9f0f40b5f89f3392540b4ef444f81217ee6d12 Author: Michael Balzer Date: Thu Dec 30 14:25:27 2021 +0100 OTA: add hardware info to status output commit 59da6c9031ff15dd1901c619a47de0cc43c89afc Author: Michael Balzer Date: Thu Dec 30 14:25:01 2021 +0100 Server V2/MP: add hardware info to "F" message, fix missing MP encoding, add "F" retransmission triggers commit 42198ec7088e34e6e6115e8688c72886f921f4a5 Author: Michael Balzer Date: Thu Dec 30 14:23:26 2021 +0100 Boot: add hardware info to crash debug output, fix missing MP encoding commit 03a9707e9c29fd5241292a31cb465cf6793fb7a7 Author: Michael Balzer Date: Thu Dec 30 14:20:18 2021 +0100 Boot: raise early crash detection time to 120 seconds to take late (auto detect) modem driver installation into account commit ae70b62e9daacd6385998023c87b6dc5fb262bcc Author: Michael Balzer Date: Thu Dec 30 14:17:56 2021 +0100 Version: add modem model to hardware info commit 33375fc79bc85ecd8a859b28e81d8b5ad55a3054 Author: Tamás Kovács <42914986+KommyKT@users.noreply.github.com> Date: Thu Dec 30 14:03:27 2021 +0100 Update vehicle_mitsubishi.cpp Fix for trip notification for Mitsubishi: (exclude 255 init value) commit f25c771f31e51aa604de0be919dc62eae96fc1ad Author: Daniel Date: Thu Dec 30 11:21:45 2021 +0200 Add option to set EV activation pin commit 09c58a2feda13c32f79c6599fdcb6a7512cf1a48 Author: Daniel Date: Wed Dec 29 20:23:43 2021 +0200 Add initial activation pin code commit 079b18debb36b5bd0f421185524730543cd769f5 Author: Michael Balzer Date: Wed Dec 29 16:58:03 2021 +0100 Fix building without WIFI / Mongoose commit c3b0e6a11eda11f4ec658dee14554b95b346de4f Author: Mark Webb-Johnson Date: Wed Dec 29 09:35:31 2021 +0800 fix minor typos in plugin metadata files commit 6731db455aba4039e91de879f76ffcef9fa82670 Author: Mark Webb-Johnson Date: Wed Dec 29 09:09:33 2021 +0800 First-draft migration of v3.2 plugins to v3.3 plugins framework commit 68aed919bb7d60a3ea172d9f749da1c772e6be3b Author: sharkcow Date: Tue Dec 28 22:15:35 2021 +0100 vehicle: add inverter/motor energies to trip report commit 0faa8fb7b4546f2c33cbd3fa0a3bf33ac84e9911 Author: Daniel Date: Tue Dec 28 17:27:33 2021 +0200 Correct names of metrics commit 2a7a9b31e28d2e9c664c6ed88de7fbb241ec11e9 Author: Daniel Date: Tue Dec 28 16:20:41 2021 +0200 Add changes, remove empty .txt file commit 7f5cad142404fbb07474a3566d685ba71ae78409 Author: Michael Balzer Date: Tue Dec 28 13:03:40 2021 +0100 Docs: add info on automatic notification events commit e807530eac1ecc1a328dc27f92bc888b8027cd9d Author: Daniel Date: Tue Dec 28 12:16:06 2021 +0200 Add new NL metrics commit 119c17e4a0337009f595eebd24db10ea543973ea Author: Michael Balzer Date: Mon Dec 27 08:51:59 2021 +0100 Documentation: include links to both manual versions, add user note commit 9b9a72f7636a9f30c5af573bb5464b684350c89e Author: Michael Balzer Date: Mon Dec 27 08:51:20 2021 +0100 Leaf: documentation syntax fixes commit b01b970f55b112dafebe2c8360fcc8787ba4953f Author: Daniel Date: Sun Dec 26 21:06:25 2021 +0200 Add max gids metric commit 58d016542a1cfd4919e3cf8a61389a4f447fa3e6 Author: Michael Balzer Date: Sun Dec 26 16:22:21 2021 +0100 Events: work around possible FreeRTOS timer service bug: With repeated delayed events at an interval of 10 ms (1 tick), about three times per million timer executions, the callback is executed twice. The previous implementation would run into a duplicate free() on this, the workaround now detects these by validating the message pointer. Note: using locks in a timer callback isn't good, but I don't see a clean way to avoid this here. commit 1ef42703b7fae25f453347265eabadeb343509b3 Author: Michael Balzer Date: Sun Dec 26 16:16:45 2021 +0100 Notifications: add tracing (debug logging) of stream notifications New commands: notify trace all -- Enable logging of stream notifications commit d713a365f3b9006877b2de245802047aecb5d721 Author: Daniel Date: Sun Dec 26 15:47:27 2021 +0200 Rename variable commit 248fd7b4ae829ad178a625dd7976a0e17fdb531d Author: Daniel Date: Sun Dec 26 15:11:08 2021 +0200 Naming style fix commit ab9defcc6bdacf4e3cec5ddc95092501aed54a91 Author: Daniel Date: Sun Dec 26 14:58:58 2021 +0200 Fix vehilce wakeup command commit 95ff27a4b3e76f96e9b2a3d6cdfeee2f354086f9 Author: Daniel Date: Sun Dec 26 12:49:28 2021 +0200 Updated NL docs commit 2545173acf9d05c4996735a869ec54a5d6d60c7c Author: Daniel Date: Sun Dec 26 12:42:45 2021 +0200 Add charge stop functionality commit 75a9b7201e8ac4a479289cf5e5c49d4bb5c5fa54 Author: Daniel Date: Wed Dec 22 12:49:57 2021 +0200 Add AC voltage and gen1/2 handling commit 6920266c382782a15aec3586abc20397de1cb9ac Author: Daniel Date: Tue Dec 21 21:47:32 2021 +0200 Split ZE0 and AZE0 charger handling commit ffe3fb17eb38f06398472b0465b16bf78d8f60c4 Author: Glyn Hudson Date: Thu Dec 16 16:22:33 2021 +0000 update flyer 3G>4G commit 09447108fbd79946d00304d17637c9ce61d4f701 Author: Alexander Kiiashko Date: Tue Dec 14 22:41:59 2021 +0200 - VA: added notification for "fuel" metric. new config: [xva] notify_va_metrics (bool, default no) commit 09e658c77b8336900fc78d25d34ad273ff5e6b9e Author: Mark Webb-Johnson Date: Mon Dec 13 16:41:15 2021 +0800 Updated OVT1 cable commit f6aae934392eeb7ce4f6cc30fe6ccdfc1c47b7ed Author: Mark Webb-Johnson Date: Mon Dec 13 16:40:11 2021 +0800 v3.3 hardware schematics and pcb layout commit 8c8aefb76e9176bbac6d9db032d0d2f5a37f30f9 Author: Mark Webb-Johnson Date: Sun Dec 12 18:53:06 2021 +0800 Try to workaround readthedocs mistune package dependency issue commit e54ce8bc487ac2ab493c4cd4a8d55809a8954fc0 Author: Michael Balzer Date: Sat Dec 11 16:04:25 2021 +0100 History update commit 8ad36635dd4506ff49b746fc6ca26f13b6830f37 Author: Michael Balzer Date: Sat Dec 11 15:04:48 2021 +0100 Server V2/V3: added manual update request Note: the servers normally don't need a manual trigger to perform data updates, they listen to metrics changes and events. Use this only if you need extraordinary single updates as fast as possible. New commands: server v2 update [all|modified] -- Request V2 data update server v3 update [all|modified] -- Request V3 data update commit 7d9d9a48e757649ed1d1a8ba42785d726315c70a Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Wed Dec 1 19:53:56 2021 +0000 charging update CCS Charging amps and power now working commit 6f00a29bdda9b2c91fc3ac87c09b21304703e199 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Mon Nov 29 18:04:53 2021 +0000 Update vehicle_med3.cpp CCS Amps now working commit f98d941cf74dcd1bf1e35b05a462044bf9e448a0 Author: Mark Webb-Johnson Date: Thu Nov 25 15:56:56 2021 +0800 CE statement for OVMS-33-7600G commit 19bb04d6ecf4ff910fbf20e8c774662bbb7f4f07 Author: Mark Webb-Johnson Date: Thu Nov 25 15:29:43 2021 +0800 CE statement for OVMS-33-7600G commit 65626dac253b6124cd70e1115d0e6443f6d00f61 Author: Mark Webb-Johnson Date: Thu Nov 25 15:20:52 2021 +0800 CE statement for OVMS-33-7600G commit eaf8ddd71c9c1f8bc538b9cac044504ec42d6523 Author: Mark Webb-Johnson Date: Wed Nov 24 13:55:15 2021 +0800 CS11 CAN format: Support SYNC/ACK extension, and bug fix on baud rate set function commit adaea734466518df6fc33180473f4fafaa88aa83 Author: Mark Webb-Johnson Date: Wed Nov 24 13:54:22 2021 +0800 Wait for up to 500ms when trying to queue CAN transmission from command line or can loggers commit 867d1a5f8e3b42abf8c3f3ce6e4914d326af663c Author: Mark Webb-Johnson Date: Wed Nov 24 10:07:18 2021 +0800 Add FCC and SAR warnings for OVMS-33-7600G commit d82a3ee9cfe9b41369d9b441ececddd3ed7fa0b2 Author: Mark Webb-Johnson Date: Wed Nov 24 10:02:34 2021 +0800 Add FCC and SAR warnings for OVMS-33-7600G commit ca00744dce8b0f21d530203d44dfb5a89917aac6 Author: Mark Webb-Johnson Date: Tue Nov 23 10:05:51 2021 +0800 Merge back reverts for OvmsHttpClient commit 835ae68024e45d5996809043734a498cc6531b2b Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Thu Nov 18 15:19:14 2021 +0000 Polls & CCS update commit d529349c2c97f5b46c85d88fa5bd178cdfd4b25c Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Fri Nov 5 17:59:55 2021 +0000 update on charging for new PID's commit 406b56b8deac00443a5f9a0e58f727f71c64de35 Author: Michael Balzer Date: Mon Nov 1 15:04:08 2021 +0100 VW e-Up: improve trip distance resolution commit 2c16e2740d9cc7109a6c2ed23ea5380884c559f3 Author: Michael Balzer Date: Sun Oct 31 17:22:02 2021 +0100 Vehicle: added optional automatic trip report generation Details: https://docs.openvehicles.com/en/latest/userguide/notifications.html New configs: [notify] report.trip.enable -- Send trip report on vehicle off (bool, default no) [notify] report.trip.minlength -- … minimum trip length in km, default 0.2 km New command: stat trip -- Output statistics for current/finished trip commit 3de000738a391373286d29751b2ff1473f31b8b3 Author: Michael Balzer Date: Sun Oct 31 17:16:03 2021 +0100 Metrics: added unit "feet", fixed acceleration conversions commit ad3d9203c6c04082375d64a41ecb099bc981f2aa Author: Michael Balzer Date: Sun Oct 31 17:14:28 2021 +0100 VW e-Up: added acceleration support commit d7819be9c90430823872a7efca4e7a6a5fe51147 Author: Michael Balzer Date: Sat Oct 30 15:45:44 2021 +0200 Power management: fix UI, fix deep sleep, allow disabling deep sleep commit 65a47b6ffeac23103d8ec43cff1e9ca863462021 Author: Michael Balzer Date: Wed Sep 29 21:39:28 2021 +0200 Mongoose: fix build config typo for WolfSSL commit 94d3c25827a70edf0a500a70a412ada345638a13 Author: Michael Balzer Date: Wed Sep 29 18:38:37 2021 +0200 Release 3.2.017 commit 4f7fc96b4c291d1b3f06937364df356f2349493a Author: Michael Balzer Date: Wed Sep 29 15:26:44 2021 +0200 System timers: avoid using FreeRTOS xTimerIsTimerActive() Why: xTimerIsTimerActive() has a multicore race condition with FreeRTOS V8.2.0 (esp-idf 3.3): an expired timer is removed from the active list before its callback is executed, so while the callback is running, the timer already appears to be free. Workaround is to use a separate timer status flag. commit cd52000288f7a4cffaf3d01dc70a105e4559f06d Author: Michael Balzer Date: Wed Sep 29 15:20:32 2021 +0200 TLS: remove expired DST Root CA X3 certificate commit 5870b38517b65ef581153973a0aba3cbd49ed7ad Author: Michael Balzer Date: Wed Sep 29 15:11:45 2021 +0200 Mongoose: add build config for SSL library (default mbedTLS) WolfSSL fails using the new self-signed ISRG Root X1 certificate, so we need to switch back to mbedTLS. For details, see the discussion on the developer list, topic "Urgent TLS root certificate issue (Let's Encrypt)" commit c7bce5466473a3b97cb0389318bd3f422639b6c8 Author: Stephen Casner Date: Tue Sep 28 16:15:56 2021 -0700 TR: Remove workaround sending "stopped" for "timerwait" to app Because the iOS app would not send a start-charging command when requested with the charge connector slider if the Tesla Roadster was in "timerwait" state, a workaround was put in OVMS firmware to indicate the "stopped" state instead. But that caused the app to generate false "charging stopped" notifications as the charge cable was plugged in. Now the iOS app has been fixed, so this workaround is removed. commit bf681d303e84021760c52a98bb45eea52a8360a6 Author: Michael Balzer Date: Tue Sep 28 12:23:51 2021 +0200 Manual: include firmware version info in Let's Encrypt update note commit 6b2c4bbe1dae153c749a2814e2c9e0281f70a386 Author: Michael Balzer Date: Tue Sep 28 11:33:21 2021 +0200 Manual: fix copy button (updated image URL) commit 183d645c80bf199c49a49f852cd2f297fdc727f4 Author: Michael Balzer Date: Tue Sep 28 11:22:25 2021 +0200 TLS: add new Let's Encrypt ISRG Root X1 certificate, add user info on expiration to documentation commit e1d94e47290d606e88d02dc96b511e228b075ef5 Author: Michael Balzer Date: Sun Sep 12 10:20:45 2021 +0200 Duktape PubSub: don't directly use hasOwnProperty, add debug methods commit 8b45c309ed6bc6b3f7cbef8853325ec07f087328 Author: Michael Balzer Date: Sun Sep 12 09:12:38 2021 +0200 Duktape VFS: fix memory leak in VFSSave commit 28b56fc5dee3029ffbd14609d04213a3f96bf90e Author: Michael Balzer Date: Sun Sep 12 09:07:05 2021 +0200 Duktape VFS: avoid task creation if volume not mounted commit 1e0afeb011e3d443e3df0d1260eb2fb1ad954e2d Author: Michael Balzer Date: Sun Sep 12 09:02:41 2021 +0200 Module: fix missing task names in heap memory map commit 261d96a82e314d3553923616ad102c4c5eb9608e Author: Michael Balzer Date: Sun Sep 12 08:55:28 2021 +0200 VW e-Up: MFD range capacity relates to engine ECU SOC commit 5af7ad31c45aa7ed7a85c5e7d781fb30aaa47134 Author: Michael Balzer Date: Sat Sep 4 14:35:08 2021 +0200 Scripting/Duktape: use umm_malloc library for the Javascript heap https://github.com/rhempel/umm_malloc by Ralph Hempel (MIT license) This boosts Duktape performance up to factor 8 and solves the issue of degrading performance over module uptime. Reason for degradation is the poor fragmentation handling of the esp-idf v3 default memory management. esp-idf release 4.3 includes a new memory manager, so upgrading to that release may eliminate the need for this. New config: [module] duktape.heapsize -- in KB, default 512, max 1024 New commands: script meminfo -- output heap memory status (JSON) New API calls: meminfo() -- return heap memory status commit 44501de7f1952cbe3dc6510fc43ae9de6fa49e00 Author: Michael Balzer Date: Sat Sep 4 13:46:23 2021 +0200 Web UI: fix scrolling on loading main content commit 32525332cdf1cb49b5f188509eee2a7855548857 Author: Michael Balzer Date: Sat Sep 4 13:44:57 2021 +0200 Plugin PwrMon: default record distance 50 km, zoom buttons in UI commit f83b1614129d35c0a02779303209c4934f3df8ab Author: Michael Balzer Date: Sat Sep 4 13:43:26 2021 +0200 Plugin AuxBatMon: fix dump() call w/o format parameter commit 62034601a0ff902a6bb122edb97c4ce80350a779 Author: Michael Balzer Date: Sat Aug 28 16:15:26 2021 +0200 Plugin XVU/ECUToolkit: minor optimization, add coding success dialogs commit 674d4c8776a658e23f851504f373ce2e38a0233c Author: Michael Balzer Date: Sat Aug 28 15:47:43 2021 +0200 Plugin PwrMon: use CBOR format, add SD volume mount handling commit 9139f2ed3f14fb3ad435000ab93ef3b1d4665282 Author: Michael Balzer Date: Sat Aug 28 15:46:45 2021 +0200 Plugin AuxBatMon: use CBOR format, fix SD volume mount handling commit 753500c12fe5a86e214426df8afbb8cee88e6699 Author: Michael Balzer Date: Sat Aug 28 15:45:16 2021 +0200 Script VFS Save/Load: validate SD paths commit 2d9d7ddacadab91bf13e1281f85f2b37027c7561 Author: Michael Balzer Date: Sat Aug 28 15:42:36 2021 +0200 Script & Web: CBOR support (binary serialization & encoding) commit 8355ab79622175b68bba6c427aefec62b226ef01 Author: Michael Balzer Date: Sat Aug 28 15:36:31 2021 +0200 Duktape: enable JSON.stringify() optimization commit 32be4011c40176928740a45151c1f31420470d49 Author: Michael Balzer Date: Sat Aug 28 15:35:48 2021 +0200 Duktape: add log warnings for long running event handling & delays commit cceeabbe0acbb67ac4ed298a685ea4284a130ef0 Author: Glyn Hudson Date: Tue Aug 24 01:51:09 2021 +0100 update flyer (#648) Update flyers commit 791e0a90cdcff8947897cb5d3b49aee9b7c62941 Author: Stephen Casner Date: Thu Aug 19 15:15:40 2021 -0700 TR: improve robustness for manually starting charge from app Don't change the m_starting_charge state when a CAN status message indicates charging has been stopped by request because we may see this message when we are trying to restart charging from the app when the car was sleeping. The state will already have been set back to INACTIVE when charging started. Rather than using the charge substate to determine conditions in which we may need to issue a repeated start command after the car wakes up, do this whenever we are starting the charge while the car is asleep. More generally, avoid undesired changes to the m_starting_charge state because a status message is received and interrupts the execution of CommandStartCharge() between the wakeup command and the start command. We choose the desired next state at the top of the function but set it just before returning. commit 4add99c595753bfd94a79aaec5cbd40aa0dfe6f7 Author: Stephen Casner Date: Wed Aug 18 23:42:05 2021 -0700 TR:enable manually starting charge after stop by request Further extend the hacking of charging state to also avoid the "powerwait" substate when starting from the "charging stopped by request" state as well as the "waiting for scheduled start" state. commit 9d276b05f7d6d580d70b5b5ad13a03aff28b956a Author: Stephen Casner Date: Wed Aug 18 18:55:47 2021 -0700 TR 2.x: enable manually starting charge during scheduled wait Followup to the previous commit to handle differences in the charging state as reported by 2.x cars when attempting to manually start a charge from the app while the car is asleep and waiting for a scheduled charge time. Only reset the m_starting_charge state back to INACTIVE when charging starts or is interrupted before starting. The state was being reset when it changed to "preparing". commit ca4a8433ed97257569fb92cf559452b8ad732236 Author: Stephen Casner Date: Mon Jun 28 12:11:07 2021 -0700 TR: enable manually starting charge during scheduled wait If a Tesla Roadster is asleep while waiting for a scheduled charge time, attempting to manually start a charge from the app would fail. Before sending the CAN message to start the charge it is necessary to send a "wakeup" CAN message. As the car wakes up it temporarily indicates that there is no pilot signal even though the cable is connected. This causes the app to hide the charge connector icon. To fix this we add a new state variable to track the steps the car goes though as it wakes up, and we fake the status reported to the app to indicate that the car is in "prepare" state instead. commit fe51dcd6471f0da2b6f21304f843dcbf93c25991 Author: Michael Balzer Date: Sat Aug 21 17:46:23 2021 +0200 Vehicle: emit standard events on changing v.e.gear & v.e.drivemode New events: vehicle.drivemode. -- Vehicle drivemode has been set to profile (vehicle specific) vehicle.gear.forward -- Vehicle has been put in forward gear vehicle.gear.neutral -- Vehicle has been put in neutral gear vehicle.gear.reverse -- Vehicle has been put in reverse gear commit f9598631012a4792dfd204dccc9cecbdcb9122c5 Author: Michael Balzer Date: Sat Aug 21 17:45:46 2021 +0200 VW e-Up/OBD: read ignition state from ECU, support v.e.gear & v.e.drivemode (v.e.gear only on 2020 model) commit 6598638c56a8539294f3004b6a23fca2d77ce371 Author: Michael Balzer Date: Fri Aug 20 08:58:30 2021 +0200 VW e-Up: add MFD range energy to XVU-LOG-SOCMon commit ee5dc0d26c8221a781714f0912976928ec69a570 Author: Michael Balzer Date: Wed Aug 18 18:26:52 2021 +0200 Framework: add command task priority config, default all command tasks and scripts to same priority (5) to avoid script queue drops & WDTs commit 0da14ca550290233c9c6e03dad7e5818bd1de4e6 Author: Michael Balzer Date: Wed Aug 18 18:21:53 2021 +0200 VW e-Up/OBD: fix user SOC by always using the charge manager SOC; this fixes both the low SOC discrepancy and the SOC jumps between awake/charging and driving phases commit 6a6d584d490c157b49b83e6a489c225cdfde2a82 Author: Michael Balzer Date: Wed Aug 18 18:17:04 2021 +0200 VW e-Up/OBD: fix cleared charge type in grid log on stop/done entries commit 16ab83c70260fea7c571986e72c1fe965ddcacbd Author: Michael Balzer Date: Wed Aug 18 18:15:09 2021 +0200 VW e-Up: add topping off phase support, add timer mode change notification, fix timer mode processing & charge time predictions commit 68f674545784f50c5a7706c229d6f6f7090dfffe Author: Michael Balzer Date: Wed Aug 18 18:09:08 2021 +0200 Vehicle: introduce separate notification subtype for topping off to enable notification channel control commit 30fd5d265025f977ae77919fafae7bb3abc413da Author: Michael Balzer Date: Wed Aug 18 17:54:29 2021 +0200 VW e-Up: fix grid counter reset on charge start commit 9ae00825cb713bcb393f29a4d96aadd30d3b2372 Author: Michael Balzer Date: Wed Aug 18 11:28:41 2021 +0200 Vehicle: fix minsoc alert trigger for fraction SOCs commit 5340f3c150755de43d3f202dae45ff92581dacb0 Author: Michael Balzer Date: Fri Aug 13 09:53:32 2021 +0200 Config: add /store/usr directory to config backup commit ee57e5b6b23ba845f49dac634112e5168de742bf Author: Michael Balzer Date: Fri Aug 13 09:51:51 2021 +0200 Web UI: raise command timeout for config backup/restore to 120 seconds commit 99af83d39b8a5b6adfc0ea942378a3c1a0633b52 Author: Michael Balzer Date: Fri Aug 13 09:50:42 2021 +0200 Plugin AuxBatMon: fix restoring data from SD card on reboot commit d0303a3ab85433cb76cde7cd161bc510c99aca3f Author: Michael Balzer Date: Mon Aug 9 18:12:21 2021 +0200 Duktape/VFS: inhibit save during shutdown, delay shutdown when saving commit 56fb65729c0d8a954bb1507b36694da93dacf67c Author: Michael Balzer Date: Mon Aug 9 18:08:01 2021 +0200 Boot: fix shutdown race condition, add restart pending logging commit 2839cc1925d17000b9c1b6b191291074b2169db1 Author: Michael Balzer Date: Sat Aug 7 09:13:05 2021 +0200 VW e-Up: read charge manager SOC while driving, add SOC monitoring data log commit 365bc4d8dbdfa8c17deacf19026c46c47c9fe0db Author: Michael Balzer Date: Sat Aug 7 08:50:57 2021 +0200 VW e-Up: use our charge time prediction for times >= 10:30h (car limit) commit 84c75fb5b570cabe5a1dc330bf3fcde92e317e0c Author: Michael Balzer Date: Sat Jul 31 09:49:05 2021 +0200 VW e-Up/OBD: validate BMS odometer reading commit 103e751d7e50e39345343b1710c85a0fc9fdd9f0 Author: Michael Balzer Date: Tue Jul 27 12:03:19 2021 +0200 VW e-Up/OBD: use 1km resolution odometer of ECU 8C commit d0f02da9f3145853b50436f7a98c96ed1d78f545 Author: Michael Balzer Date: Sun Jul 25 12:10:07 2021 +0200 Web UI: add minsoc alert & location streaming to notifications config commit 75debc00550e5dbdaef1e0efb4dca0ea23f7a91a Author: Michael Balzer Date: Sat Jul 24 15:15:02 2021 +0200 Vehicle: fix times in grid & trip log, raise precision, add trip start entry commit 4da0688b52059166a2937385b9606d27770884e5 Author: Michael Balzer Date: Sat Jul 17 12:25:18 2021 +0200 VW e-Up/OBD: polling control for diagnostic/adaptation sessions New command: xvu polling -- temporarily pause OBD2 polling commit 9f19d2badb40ddf066e2cdf199ee729f244f3f43 Author: Michael Balzer Date: Sat Jul 17 12:24:18 2021 +0200 VW e-Up/OBD: charge start notification delay configuration to accomodate current ramp-up, document config variables New configs: [xvu] notify.charge.start.delay -- in seconds, default 24 commit d58ff07f479d755fd813cdf148c8d4e463641781 Author: Michael Balzer Date: Sat Jul 17 12:22:14 2021 +0200 Vehicle: provide momentary ideal range gain/loss speed as a metric, add charge speed to "stat" output & MP message "S" New metric: v.b.range.speed -- Momentary ideal range gain/loss (charge/discharge) speed [kph] commit 1af6878c67b2bb495ff0ceac67ce65f2996ff6f7 Author: Michael Balzer Date: Mon Jul 5 13:27:20 2021 +0200 Vehicle: change stat command charge ETRs to hh:mm format commit e1acf47a699bd7a28e480f0422aa4a0e8747104e Author: Craig Leres Date: Tue Jun 29 10:52:25 2021 -0700 Address Michael's feedback: eliminate unneeded status variable and move tx buffer state keeping inside the critical section lock. commit f5176e249288769381b1887b73a7808a70a30e31 Author: Craig Leres Date: Sun Jun 27 15:34:52 2021 -0700 Second of four espressif TWAI/CAN errata fixes: SW workaround for TX interrupt lost For reference, here is Michael's original issue: https://github.com/espressif/esp-idf/issues/4276#issuecomment-548753085 The commit of interest is here: https://github.com/espressif/esp-idf/commit/2f5806092135e3d991057bc06225bdcf536e93a5 Here is a reformatted description of this fix: Errata workaround: TWAI_ERRATA_FIX_TX_INTR_LOST Add SW workaround for TX interrupt lost On the ESP32, when a transmit interrupt occurs, and interrupt register is read on the same APB clock cycle, the transmit interrupt could be lost. Enabling this option will add a workaround that checks the transmit buffer status bit to recover any lost transmit interrupt. The fix involves keeping track of when the tx buffer is in use; look for TWAI_HAL_STATE_FLAG_TX_BUFF_OCCUPIED in: esp/components/hal/twai_hal_iram.c My change adds a place to keep track of the tx buf state (m_state) and looks for the possible lost tx interrupt in ESP32CAN_isr(). commit 9fc8f778d645e810027dd7bc8b85c1c50dd6c15d Author: Craig Leres Date: Sat Jul 3 10:29:29 2021 -0700 Implement NMEA checksum validation commit 4931f4d049cf5faedda8b52a1aff3f77110f8c88 Author: Michael Balzer Date: Sun Jun 27 12:09:36 2021 +0200 New plugin: VW e-Up ECU Library & Toolkit commit 93849b635133342fd5124b90083b754f4c1f345b Author: Michael Balzer Date: Sat Jun 26 21:03:19 2021 +0200 VW e-Up/OBD: charge time prediction while not charging & full charge with limit New configs: [xvu] ctp.maxpower -- in kW, 0 = unlimited except by car, used when not charging [xvu] ctp.soclimit -- in %, used as informative limit w/o OBD connection commit f6f4f2b079b00f959d52cb205dd088b4f66ba4f2 Author: drc38 Date: Sun Jun 6 13:52:55 2021 +1200 NL: update charge port for gen and wait states commit f73551a635efd107185ae2f1518e5ed4d565da4a Author: drc38 Date: Tue Jun 22 19:17:52 2021 +1200 serverV2: periodic send if generating commit d0d2d8a244db1efdd9e97c5ce6b6d653bb6a2f85 Author: drc38 Date: Fri Jun 18 22:25:31 2021 +1200 serverV2: change to adhoc update and add documentation commit 64a14ce4c9f5aed8eb95eacd5c427a9ab2bb6ef4 Author: drc38 Date: Fri Jun 4 19:27:15 2021 +1200 serverV2: remove exporting from utils commit 66e5c1d233d57f2dc7de54ed9c61cbe749bb8ff5 Author: drc38 Date: Fri Jun 4 19:19:58 2021 +1200 serverV2: include all v.g metrics and reorder commit b731fcffe5f343ecbd8e07bc90aa26826bf752f7 Author: drc38 Date: Wed May 26 21:48:52 2021 +1200 serverV2: add v.g metrics commit 41ea3d064ee999074923732283f3836b812e331a Author: Craig Leres Date: Mon Jun 21 09:24:35 2021 -0700 Suppress false theft alerts due to a suspected SIMCOM GPS bug #2 Check for zero longitude too (also seen: A,B -> A,B -> A,0 -> A,B -> A,B) commit ee53f096250821edbbb5df24ae688b65648d38b7 Author: Mark Webb-Johnson Date: Tue Jun 15 08:30:45 2021 +0800 CAN AsynchronousInterruptHandler change to support receiving multiple frames per interrupt commit 01838fd64058e71a9a8ff21386287867adfe174d Author: Mark Webb-Johnson Date: Tue Jun 15 08:19:44 2021 +0800 Change test cantx to use sequence as message ID commit 59386f829c6880a037559bd07876fa2d74bd1efb Author: Michael Balzer Date: Sun Jun 13 22:34:14 2021 +0200 Vehicle/poller: add standard negative result code names commit 4ce729a15464a37dd29c1ca913439a69436f3445 Author: Craig Leres Date: Sun Jun 13 09:37:34 2021 -0700 Move "bus off" errata code to the top of the interrupt handling loop commit 18a4f6fbb03d35435a3426b003dfd7d4d80935ae Author: Craig Leres Date: Sat Jun 12 13:39:44 2021 -0700 Address lastest feedback from Michael: Enter listen instead of reset mode Or in instead of clobbering potential new interrupt bits Add a more detailed description of the TWAI_ERRATA_FIX_BUS_OFF_REC errata workaround description commit b2878c99a5a5e12a8cfe0d263631e1a24fe7f7f7 Author: Craig Leres Date: Sun May 9 12:19:29 2021 -0700 Make changes based on feedback from Michael: Handle bus-off interrupt after TX and RX interrupts. Explicitly enter/exit reset mode. commit 22bd3be5e3d338923ed0c624a49b08ce69d3ecb7 Author: Craig Leres Date: Fri Apr 23 18:04:15 2021 -0700 First attempt at porting the first of four espressif TWAI/CAN errata fixes For reference, here is Michael's original issue: https://github.com/espressif/esp-idf/issues/4276#issuecomment-548753085 The commit of interest is here: https://github.com/espressif/esp-idf/commit/2f5806092135e3d991057bc06225bdcf536e93a5 Here is a reformatted description of this fix: TWAI_ERRATA_FIX_BUS_OFF_REC Add SW workaround for REC change during bus-off When the bus-off condition is reached, the REC should be reset to 0 and frozen (via LOM) by the driver's ISR. However on the ESP32, there is an edge case where the REC will increase before the driver's ISR can respond in time (e.g., due to the rapid occurrence of bus errors), thus causing the REC to be non-zero after bus-off. A non-zero REC can prevent bus-off recovery as the bus-off recovery condition is that both TEC and REC become 0. Enabling this option will add a workaround in the driver to forcibly reset REC to zero on reaching bus-off. The actual change is simple: // esp/components/hal/twai_hal_iram.c //Handle low latency events if (events & TWAI_HAL_EVENT_BUS_OFF) { twai_ll_set_mode(hal_ctx->dev, TWAI_MODE_LISTEN_ONLY); //Freeze TEC/REC by entering LOM //Errata workaround: Force REC to 0 by re-triggering bus-off (by setting TEC to 0 then 255) twai_ll_set_tec(hal_ctx->dev, 0); twai_ll_set_tec(hal_ctx->dev, 255); (void) twai_ll_get_and_clear_intrs(hal_ctx->dev); //Clear the re-triggered bus-off inter rupt } TWAI_HAL_EVENT_BUS_OFF is set in the routine above, twai_hal_decode_interrupt(): //Error Warning Interrupt set whenever Error or Bus Status bit changes if (interrupts & TWAI_LL_INTR_EI) { if (status & TWAI_LL_STATUS_BS) { //Currently in BUS OFF state if (status & TWAI_LL_STATUS_ES) { //EWL is exceeded, thus must have entered BUS OFF TWAI_HAL_SET_BITS(events, TWAI_HAL_EVENT_BUS_OFF); TWAI_HAL_SET_BITS(state_flags, TWAI_HAL_STATE_FLAG_BUS_OFF); My change looks for the __CAN_IRQ_ERR_WARNING interrupt, for the __CAN_STS_BUS_OFF bit to be on (indicating bus off), and the __CAN_STS_ERR_WARNING status bit to be on (indicating error status). commit 39316600376f2d41d4537ce2645a4d2d807766db Author: Peter Harry Date: Sun May 23 17:05:38 2021 +1000 Adjusted granny charge profile commit b4d625cc093900255470c8fcff9f0d193666a049 Author: Peter Harry Date: Sat May 15 17:26:52 2021 +1000 Updated Charge Limit notify messages commit 1e32318e9d029d2d401c2a1e58b16986f4eac4d6 Author: Peter Harry Date: Sun May 2 21:18:58 2021 +1000 Updated code in calcMinutesRemaining commit 34599233af2d249d41bbb793cf1eee146d1b5adc Author: Michael Balzer Date: Wed Jun 9 15:41:44 2021 +0200 Poller: fix UDS 0x31 Routine Control PID size, add explanation commit fd2f0a6fa996a9aae710021552f119d7bdd5d115 Author: Michael Balzer Date: Wed Jun 9 13:50:10 2021 +0200 Revert "Poller: add 24 bit PID size support, fix routine control PID sizes" This reverts commit caf65c23ce6a4961d8e4197de4c1334c81582860. commit 602ec24bf2ef8c4668afae2fd32a2dbd9a3584b4 Author: Michael Balzer Date: Tue Jun 8 18:36:25 2021 +0200 Utils: fix int_to_hex for unsigned char commit 47cf95b6f557b6488d703a44d499d4c6456916a9 Author: Michael Balzer Date: Sun Jun 6 16:28:02 2021 +0200 Scripting API: add OvmsVehicle.ObdRequest() commit cdd1aa36c46916d8c6be8654eeb6024807cecb74 Author: Michael Balzer Date: Sun Jun 6 16:27:04 2021 +0200 Utils: add int_to_hex string conversion commit 3d04b5977b0d00a0e6d0a49c2a6e161f8f16917e Author: Michael Balzer Date: Sun Jun 6 16:26:14 2021 +0200 Poller: add 24 bit PID size support, fix routine control PID sizes commit 9f9dcc09a73e294d53b1f6e5ca7c876192a99654 Author: Michael Balzer Date: Sat Jun 5 15:32:11 2021 +0200 Commands: add echo & sleep commands (script utilities) commit cf0d42b079ce8ba4ff561cd1d500179a493da163 Author: Michael Balzer Date: Sat Jun 5 15:27:42 2021 +0200 MicroRL: allow quoting for up to 10 command arguments commit e6184102e6ad7c5eff3783019cdcb9562b3148fe Author: Michael Balzer Date: Fri Jun 4 16:01:25 2021 +0200 VWeUp: add web dashboard configuration commit ff933d44270eaadb8e4c6e38716c9abebcac6ad1 Author: Michael Balzer Date: Fri Jun 4 15:59:28 2021 +0200 WebUI dashboard: add digital displays for voltage, SOC, consumption & power commit 0b06bc40476a3b2e446059a26c2a9132ce76ef0f Author: Mark Webb-Johnson Date: Fri Jun 4 09:12:17 2021 +0800 MCP2515: Change 1Mbps params to cnf1=0x00; cnf2=0xca; cnf3=0x81 (was cnf1=0x00; cnf2=0xd0; cnf3=0x82) to match Arduino MCP driver (https://github.com/coryjfowler/MCP_CAN_lib/commit/ece730cf697fef1cbe8a90111694868168d41000) Note that currently this is not used by any OVMS vehicles. Tesla Roadster will be the first to use 1Mbps on MCP2515. commit f25e637590d5f1e4446f21a85b028c984e78478d Author: Mark Webb-Johnson Date: Wed Jun 2 09:25:06 2021 +0800 CAN logger: CanSwitch dont log transmit events commit e628d6a52c55dd6831bda71ee9257c0528ab3140 Author: Mark Webb-Johnson Date: Tue Jun 1 20:55:54 2021 +0800 CAN logger: CanSwitch formatter (as used in Tesla Roadster VMS) commit d725a7cdf16df1c53fd12744bee3168035bf4ba1 Author: Michael Balzer Date: Tue Jun 1 19:01:42 2021 +0200 Vehicle/Poller: add VW specific OBD/UDS request types 0x18 & 0x32 commit 96d62963337fffdd00b78bc5cf6a920c52fa23cc Author: Michael Balzer Date: Tue Jun 1 18:46:24 2021 +0200 Vehicle/Poller: fix VW TP response pending processing commit c4aa843d463e4b8fb6095501031c810669624920 Author: Michael Balzer Date: Sun May 30 22:38:03 2021 +0200 VWeUp/OBD: add txid & rxid to unhandled poll response log commit b9edf0c599f3ae6a1d724eb3bc2883bf3cede6a9 Author: Michael Balzer Date: Sun May 30 22:36:51 2021 +0200 Vehicle/Poller: add support for VW TP 2.0 (see vehicle.h comment) Includes refactoring of the ISO TP parts into a separate module and raising default single poll timeouts to 3 seconds. commit b529d3c1ec6578f4821199e104c1a0a03fc95258 Author: drc38 Date: Mon May 24 11:47:26 2021 +1200 NL: use charge pilot stale to set charge door closed commit 16b6acd9e32dc8603e772edd13485c54ce54b49b Author: drc38 Date: Sat May 22 18:06:35 2021 +1200 NL: add V2X web config for minSOC and minRange commit d71d513d16799ba04848a813abee3d04a247b628 Author: drc38 Date: Sat May 22 11:50:21 2021 +1200 NL: alpha V2X implementation commit 9748162bcbf9c1a6df503f0b96582ecf93538eac Author: drc38 Date: Wed May 19 07:34:54 2021 +1200 NL: add V2X capability commit d7cd25234f424908529faf4aac079f896650097d Author: Michael Balzer Date: Mon May 17 21:03:42 2021 +0200 Docs/Server HTTP API: add vehicle connect & disconnect calls, add message times/ages and cabin temperature response fields commit b286dd0abdafcfe6dd875d326fdf1cdcccb3d9aa Author: Michael Balzer Date: Sun May 16 08:56:10 2021 +0200 VWeUp/OBD: delay charge start reference to collect SOC corrections commit 6729f6fe8eafc5f0f87e0e8791aa6d6ab9438b21 Author: drc38 Date: Fri May 14 08:41:31 2021 +1200 NL: code tidy up commit e69ef291cfd383ae1527c0a788b3ebe3f977eac4 Author: drc38 Date: Thu May 13 23:41:29 2021 +1200 NL: remove acvoltagemultiplier references commit 319b536ecb72d5f1554024e8f1f9f0a64d8fd122 Author: drc38 Date: Thu May 13 23:33:20 2021 +1200 NL: add interrupt status commit 40ca57816d7223934562fdd70237d48b1fa60379 Author: drc38 Date: Thu May 13 23:11:24 2021 +1200 NL: fix NaN on voltage loss commit cab4bf3eb2fd8e5bd03f49429f124d70cfbdec14 Author: drc38 Date: Thu May 13 22:46:42 2021 +1200 NL: correct units commit 915fbb6b7c34a4452434ec881d475f1c3a60cadb Author: drc38 Date: Thu May 13 22:28:36 2021 +1200 NL: refactor 0x390 messages commit 04f0a839f8472f7cd503294f159fcb9d91d5292d Author: drc38 Date: Wed May 12 21:27:10 2021 +1200 NL: improved new metric naming commit 1d913b087da926d91db7118b9eb2942b8edca36a Author: drc38 Date: Tue May 11 22:59:32 2021 +1200 NL: add extra xnl metrics, update charge port status commit aca2d666a6d4b4fc83f8cf86cb659077143153da Author: Michael Balzer Date: Sat May 8 18:16:03 2021 +0200 VWeUp/OBD: add chargecap log test/debug configs commit 3bd7b9af33822a4c0f52c70425dbd49b4d859e9c Author: Michael Balzer Date: Sat May 8 16:55:00 2021 +0200 VWeUp/OBD: fix ECU info electronics IDs, add immobilizer unit IDs commit d58d091f33a73f9c90fce58f1772f158af4aaf9a Author: Michael Balzer Date: Sat May 8 16:52:51 2021 +0200 VW e-Up/OBD: add MFD range estimation as SOH source, add config option for SOH source New metrics: xvu.b.soh.charge -- SOH based on charge energy sum [%] xvu.b.soh.range -- SOH based on MFD range estimation [%] New configs: [xvu] bat.soh.source -- 'charge' (default) or 'range' [string] commit 044009b0021f1b93cf1ac046ddaa3ccef24e238b Author: Michael Balzer Date: Sat May 8 16:42:57 2021 +0200 VWeUp/OBD: fix charge done detection commit bfee0f43f570ad851ba2196eb8d0aed2f69a92e8 Author: Attakorn Date: Mon May 3 23:59:46 2021 +0700 Make variant B also go to sleep 50s after 12V battery < 12.9V commit 118142f8858cbf83d437446610e87aa9229470fa Author: Attakorn Date: Sun May 2 17:45:31 2021 +0700 vehicle_mgev_b.cpp: - check if GWM is already unlocked first before authentication - only authenticate with GWM since DRL command will start BCM authentication by itself if it detects that BCM is not authenticated commit 5e7d7bf8570a44fff3ca2f8abf87294ffe374c2f Author: Attakorn Date: Sun May 2 13:39:51 2021 +0700 - Make shell command drlauth become drl and make original drl become drln. - Make both drl/drln commands available to both variants - Setup m_bcm_auth in variant B - Set ms_v_env_awake and ms_v_env_ctrl_login to false when GWM is Unknown commit f18e264fef4ac7576bd107b6f6bea016dcab2a0b Author: Attakorn Date: Sun May 2 10:41:18 2021 +0700 index.rst - Added more notes to shell commands commit e2e47de6506b0b403cb46c6f95586accb9907ef1 Author: Attakorn Date: Sat May 1 17:00:59 2021 +0700 Fixed sections syntax for index.rst commit 0125752e64ca7a8778423e84014e4bfa0369cf29 Author: Peter Harry Date: Sun May 2 21:57:05 2021 +1000 MG:Battery config - Range display in miles commit cddb1936ecfb53e2de6bde2a9c0ef8a44988b817 Author: Attakorn Date: Sat May 1 15:44:12 2021 +0700 Modified index.rst commit 2c1a1da4d570d818e393e592c73ce53a9796b10e Author: Attakorn Date: Sat May 1 15:40:33 2021 +0700 Corrected index.rst commit b5f6c030961adb07890c6365bb4f4f35746b4ae2 Author: Attakorn Date: Sat May 1 15:09:14 2021 +0700 - Moved to 2 car variants architecture where features are as follows: A: ✔ Zombie mode | ❌ GWM authentication | ❌ Poll BCM B: ❌ Zombie mode | ✔ GWM authentication | ✔ Poll BCM To current knowledge, MG ZS EVs from the UK and Netherlands are variant A and MG ZS EVs from Thailand are variant B. For cars from other countries, should decide on variant by seeing if they experience Zombie mode. If they do, should use variant A, if not, even though GWM is unlocked and doesn't require GWM authentication, should use variant B to avoid Zombie mode side effects and get richer metrics with BCM PIDs. For example Australian cars don't have Zombie mode and don't require GWM authentication. In this case, should use variant B. - Added VEHICLE_POLL_TYPE_ROUTINECONTROL to vehicle.h - Updated index.rst for MG EV - Added 'drl' shell command for controlling day time running light. - For variant A, added extra 'drlauth' shell command for authenticating with BCM first then proceed with DRL command. - Added 'auth' shell command for authenticating with ECUs (currently GWM and BCM). - Refactor software versions code out of mg_can_handler.cpp and vehicle_mgev.cpp into its own mg_software_versions.cpp file. - Modified software versions code to know that we have received full multi-frame responses from ECUs. - Restructed IncomingPollFrame() in mg_can_handler.cpp to support different kinds of messages (like authentication and DRL) that are handled by different functions in other files. - Refactored auth key-seed algorithm out to separate mg_auth.cpp file. - Stopped polling dcdcLvCurrentPid for now as confirmed incorrect mapping. - Moved polling pepsLockPid and vcuBonnetPid to variant A specific since variant B can use bcmDoorPid which contains more info. - Switch bcmLightPid to bcmDrlPid. - Stop calling ConfigChanged() upon vehicle class construction - Corrected setting ms_v_bat_power in mg_poll_bms.cpp - Reflect change in ms_v_bat_power such as ms_v_charge_power - Removed setting ms_v_bat_power in processEnergy() - Set ms_v_bat_power in both batteryBusVoltagePid and batteryCurrentPid cases - ms_v_bat_soc threshold for 'done' is now 99.9 instead of 97.0 - Use WLTP_RANGE instead of fixed number for car max range - Added support for metrics: - ms_v_env_headlights - ms_v_env_cooling - xmg.v.bat.voltage.vcu - xmg.v.bat.coolant.temp - xmg.v.bat.resistance - xmg.v.bms.cell.voltage.max - xmg.v.bms.cell.voltage.min - xmg.v.bms.mainrelay.b - xmg.v.bms.mainrelay.g - xmg.v.bms.mainrelay.p - xmg.v.bms.time - xmg.v.bat.error - xmg.v.radiator.fan - xmg.v.dcdc.load - xmg.v.vcu.dcdc.mode - xmg.v.vcu.dcdc.input.current - xmg.v.vcu.dcdc.input.voltage - xmg.v.vcu.dcdc.output.current - xmg.v.vcu.dcdc.output.voltage - xmg.v.vcu.dcdc.temp - xmg.v.m.coolant.temp - xmg.v.m.torque - xmg.v.ignition.state - Fixed metrics: - ms_v_env_charging12v - use HvContactorPid instead - ms_v_env_on - use HvContactorPid in conjunction with vcuIgnitionStatePid - ms_v_mot_rpm - use Thai mapping instead - ms_v_mot_temp - use new vcuMotorTempPid - ms_v_bat_temp - use new batteryTempPid - Reflected m_poll_state to m_poll_state_metric and m_gwmState to m_gwm_state for debugging purposes - Modified poll intervals - Decreased interval for some power-related PIDs in charging state to 5s for faster update - Decreased interval for some temperature PIDs to 30s for faster update - Decreased interval for vcuIgnitionStatePid to 1s to react to car turning on and off ASAP as this affects the car states. - Fixed typo tyreTemperaturePid - BMS version config param - Renamed BMU to BMS to be consistent with other places in our code - Use Int instead so we can add more versions in the future. - Declare lower and upper DoD limits in a table for easier expansion and better readability. - Link places in code where we reference DoD limits to use values from this table. - Set version default to defined value and initialise it to that value (fixes issue where web shows unchecked check box but value is actually true). commit 919c6a0035717d07344f7e6cdd70383adc97beea Author: Peter Harry Date: Thu Apr 29 12:42:59 2021 +1000 Battery config - Range displays in Miles commit 82872c12369591e15db6ca9116ae8eff88afcfcd Author: Peter Harry Date: Sat Apr 24 07:11:57 2021 +1000 Increased maximum charge time to 2 days commit 1aa1e7730f814531658d47c762518b23ad5e96fc Author: Peter Harry Date: Wed Apr 21 12:19:57 2021 +1000 Modified SOC & Range Limit reached notification code commit 84cf6ec46dd61269a33b048c6db49e1c90acfc48 Author: Michael Balzer Date: Sun Apr 25 11:34:29 2021 +0200 Poller: support multi frame requests commit 9c1e90f2edc78245b5856b0077505a104987168e Author: Mark Webb-Johnson Date: Sun Apr 25 11:34:33 2021 +0800 canlog: Fix tcpserver startup when wifi is down commit 38c5bb27310781ee44b1b80e8390a2c1aa8223ca Author: Craig Leres Date: Sat Apr 24 17:46:53 2021 -0700 Use MAP_CAN_SPEED() to get accurately return gvret 33.333 and 83.333 speeds canformat_gvret_binary::PopulateBusList12() and canformat_gvret_binary::PopulateBusList3() were just multiplying bus->m_speed by 1000; the MAP_CAN_SPEED() understands CAN_SPEED_33KBPS and CAN_SPEED_83KBPS commit e15f6ba6ad5ecd9f4e0b7f3490d5114918cd8736 Author: Mark Webb-Johnson Date: Sun Apr 25 11:22:32 2021 +0800 canlog: Fix canlog handling of mongoose rx data with more than one message per packet commit 5a9d170f188d2e625cbef0d128e5d24eaf4ffe91 Author: Michael Balzer Date: Fri Apr 23 21:52:29 2021 +0200 Poller: support CAN extended frame mode (29 bit identifiers) commit ce1c45741bcff20e3b7340af53f2131f94d8987d Author: Mark Webb-Johnson Date: Tue Apr 20 10:14:21 2021 +0800 dbc: Support BA_DEF_ and BA_DEF_DEF_ sections commit 63e9bb42aab5ce42ea38ee6cda9179fe9f900c8e Author: Mark Webb-Johnson Date: Tue Apr 20 10:02:31 2021 +0800 canlog: Increase outbound buffer size to avoid packet loss commit a6234c833fe759b835e3f83d9bd3dc1558689edb Author: Glyn Hudson Date: Tue Aug 24 01:04:10 2021 +0100 update flyer commit faf33e01097475c6729ace91d922556d30382901 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Wed Aug 11 19:40:22 2021 +0100 Update vehicle_med3.cpp commit 543f24d3e1d53c4071e26d9877879e39567e7905 Author: mikeiimura <85041778+mikeiimura@users.noreply.github.com> Date: Sat Jul 17 00:37:42 2021 -0700 Delete charts.js.gz commit 4dbd64d47b033c958b01c32b42e4e3ff5353fb05 Author: mikeiimura <85041778+mikeiimura@users.noreply.github.com> Date: Fri Jul 16 15:58:51 2021 -0700 Delete RAV4 EV Shoreline Stock Photo.jpg commit 8d71636469c66e875b0cff8405754b6927912aea Author: Mike Iimura Date: Fri Jul 16 10:20:03 2021 -0700 Revised Initial RAV4 EV Support commit f219c90436b174ebe5d071fe11808afcb204ca89 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Thu Jul 8 18:35:23 2021 +0100 update working mins commit 9f45f98202b8b8020f3952bdc6355f0bf51438ac Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sun Jul 4 19:24:47 2021 +0100 Mins Remaining Working commit b25161f57824fddf21e8de8390ee387fde163c43 Author: Mike Iimura Date: Fri Jul 2 21:19:00 2021 -0700 Add Toyota RAV4 EV Support commit 1662547080f08ba35941e51a9c57e88af5d12411 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sat Jun 26 22:16:13 2021 +0100 consumption commit b7d35a7343df1b08fc618b32133d3f1a258afd0e Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sat May 1 18:05:16 2021 +0100 added CCS testing commit 8208a9f52e26e45f3f64af4236f67a258aecd5e9 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Mon Apr 19 21:24:14 2021 +0100 new metrics added