commit 27dae2d7ac566f77916f23d24eec3769903272cb Author: Michael Balzer Date: Thu Nov 4 21:02:57 2021 +0100 VW e-Up: T26 acceleration calculation only necessary without OBD commit d096b72566378182c57f7722420e6bd59c193189 Author: Michael Balzer Date: Wed Nov 3 14:35:52 2021 +0100 VW e-Up: fix uninitialized variables for charge capacity processing commit dc396e297e7800ba5ab15fc5fb383bfb18702801 Author: Michael Balzer Date: Mon Nov 1 15:04:08 2021 +0100 VW e-Up: improve trip distance resolution commit 5a19e4776f7a71f9d66ab59fde0941106fe6db90 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 bc2fd962d00f8dba0a7a083a67b6e58d36a24dcb Author: Michael Balzer Date: Sun Oct 31 17:16:03 2021 +0100 Metrics: added unit "feet", fixed acceleration conversions commit 8c61cad05db4aa19807750c448afb8df5c4402bf Author: Michael Balzer Date: Sun Oct 31 17:14:28 2021 +0100 VW e-Up: added acceleration support commit d8028d5d3fa1792823ac349211d0fb82055c1ec0 Author: Michael Balzer Date: Sat Oct 30 15:45:44 2021 +0200 Power management: fix UI, fix deep sleep, allow disabling deep sleep commit 53fbe9014bfb38c698e71a9c4908fcc110ecc775 Author: Michael Balzer Date: Wed Sep 29 21:39:28 2021 +0200 Mongoose: fix build config typo for WolfSSL commit 0a3566b0418e3e7f85c3e5404db9e19f97ba8ed7 Author: Michael Balzer Date: Wed Sep 29 18:38:37 2021 +0200 Release 3.2.017 commit 3d9cf7f5179f48737b006e24ea27e19f5088cbbf 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 f08f06d7456d08d5eb7e329042a55d6137ef803a Author: Michael Balzer Date: Wed Sep 29 15:20:32 2021 +0200 TLS: remove expired DST Root CA X3 certificate commit 92ea05f4122e52b9c74e05f904c0c23eadbcbbb3 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 aa321f3f45b1035552186ce376e74d1c7a2ac045 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 2eb2463650e60eed943b26dfbf76b5704d24beb8 Author: Michael Balzer Date: Tue Sep 28 12:23:51 2021 +0200 Manual: include firmware version info in Let's Encrypt update note commit af0f2d6a9f72c57aeeab3ffc678f9303236938fc Author: Michael Balzer Date: Tue Sep 28 11:33:21 2021 +0200 Manual: fix copy button (updated image URL) commit f991bd11c406d695ccb02337ffb7f6b4c9e3e9cf 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 61cde63a9becf46ade225bbc91272e591610f02d Author: Michael Balzer Date: Sun Sep 12 10:20:45 2021 +0200 Duktape PubSub: don't directly use hasOwnProperty, add debug methods commit c31904bd7e207214bd71851ef02519c2702f6ae9 Author: Michael Balzer Date: Sun Sep 12 09:12:38 2021 +0200 Duktape VFS: fix memory leak in VFSSave commit ffcd028236ac2371b7b86ed3b9db89d6b71f5d45 Author: Michael Balzer Date: Sun Sep 12 09:07:05 2021 +0200 Duktape VFS: avoid task creation if volume not mounted commit fb2bf01b949d533e7c3288600669725cec5d33fe Author: Michael Balzer Date: Sun Sep 12 09:02:41 2021 +0200 Module: fix missing task names in heap memory map commit 30f7cb46632221289bbe45aeb5af235af863c7f3 Author: Michael Balzer Date: Sun Sep 12 08:55:28 2021 +0200 VW e-Up: MFD range capacity relates to engine ECU SOC commit 1bcc8dd84405df81e61577a90909e7b43c25baa3 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 e3bdf3b57b53e70098e02e2e0cefdf74876b3908 Author: Michael Balzer Date: Sat Sep 4 13:46:23 2021 +0200 Web UI: fix scrolling on loading main content commit 4f943d0372f1b22acf8e8e37f8ff43ea010328c5 Author: Michael Balzer Date: Sat Sep 4 13:44:57 2021 +0200 Plugin PwrMon: default record distance 50 km, zoom buttons in UI commit 3fa8521cc60dd0ec4393ddb1435368b981544e9c Author: Michael Balzer Date: Sat Sep 4 13:43:26 2021 +0200 Plugin AuxBatMon: fix dump() call w/o format parameter commit 9307f489c02969e6cd19a128200480e7e30d7ae8 Author: Michael Balzer Date: Sat Aug 28 16:15:26 2021 +0200 Plugin XVU/ECUToolkit: minor optimization, add coding success dialogs commit 2e13186cbda36d15e28629d9b0979a9e50b45d57 Author: Michael Balzer Date: Sat Aug 28 15:47:43 2021 +0200 Plugin PwrMon: use CBOR format, add SD volume mount handling commit 43b2d5832b3c58c2c1e701b312b8a54039da30f1 Author: Michael Balzer Date: Sat Aug 28 15:46:45 2021 +0200 Plugin AuxBatMon: use CBOR format, fix SD volume mount handling commit 7c8c93bd9e36763442b823e519115cdc07b25156 Author: Michael Balzer Date: Sat Aug 28 15:45:16 2021 +0200 Script VFS Save/Load: validate SD paths commit a0f09099aa46dc6d11a2b65661c1b4c5cbe0da71 Author: Michael Balzer Date: Sat Aug 28 15:42:36 2021 +0200 Script & Web: CBOR support (binary serialization & encoding) commit 25749b1ca53ba68eb6727a4b83ee1e720d6dec05 Author: Michael Balzer Date: Sat Aug 28 15:36:31 2021 +0200 Duktape: enable JSON.stringify() optimization commit 8e08c370e8889457d123678b3eece0528a370004 Author: Michael Balzer Date: Sat Aug 28 15:35:48 2021 +0200 Duktape: add log warnings for long running event handling & delays commit f7f7d4973fcdca42d1432ce448309daf57554c53 Author: Glyn Hudson Date: Tue Aug 24 01:51:09 2021 +0100 update flyer (#648) Update flyers commit 32a9391b1027bf8138b82e330fbfd78debbe1c69 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 7ad2db950ade678410d89a95438da1d8e8bc0f47 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 c950cbd11c01de44cc2cb203ad8e5dc72d0505b6 Author: Michael Balzer Date: Fri Aug 20 08:58:30 2021 +0200 VW e-Up: add MFD range energy to XVU-LOG-SOCMon commit 47f9573fa76e1ef9f9331f13014050cf87aa8117 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 7fde6493b44b6764dd3ccb53bc2a7b31a0d4922d 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 e441a2b8b3798e9ea6d01ffe0e4547b94f5b5941 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 5df35aeb2f79083b8433c3bf64cf50c1c716db91 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 10fb9416b0722e5077b277699b580bb2699fe9c3 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 0386c710475b0f4d0e673a544f2f0204dfdf4ba6 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 db7c83c17ee83ee336edf212e88a4f8d1293d3b8 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 acd2bdb5a5d948ac70a2f3badd4ccd3da15b0682 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 087c31ca5b485201c7d9c538864c836f3f0b90ec Author: Michael Balzer Date: Wed Aug 18 17:54:29 2021 +0200 VW e-Up: fix grid counter reset on charge start commit fc47a85dbc2600cc850e62a28838aaba8a5d3a5d Author: Michael Balzer Date: Wed Aug 18 11:28:41 2021 +0200 Vehicle: fix minsoc alert trigger for fraction SOCs commit 17a37c502fdce797aa7f88edb7d5b0f1a7aad664 Author: Michael Balzer Date: Fri Aug 13 09:53:32 2021 +0200 Config: add /store/usr directory to config backup commit 196f4f57a247e8a49cb3be4b71f50d1a70f56bfc 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 db4a5797b4d7eab9d890aaff722b7448cbb70dd4 Author: Michael Balzer Date: Fri Aug 13 09:50:42 2021 +0200 Plugin AuxBatMon: fix restoring data from SD card on reboot commit 2a3a09e4d1e641a5dd854ba778a21930243e0f9c Author: Michael Balzer Date: Mon Aug 9 18:12:21 2021 +0200 Duktape/VFS: inhibit save during shutdown, delay shutdown when saving commit 23a19c72766c9f29d12978259717a9409d1e5a36 Author: Michael Balzer Date: Mon Aug 9 18:08:01 2021 +0200 Boot: fix shutdown race condition, add restart pending logging commit bc5aa5caa99bd6fe14d09fd0a6f3799fc63b6345 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 d18af314daec88f2bffdb6db539c48f18954168f 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 585ebc82f8a8309b56555b3538bb8085aad567ed Author: Michael Balzer Date: Sat Jul 31 09:49:05 2021 +0200 VW e-Up/OBD: validate BMS odometer reading commit 23c374f352656313232bd6d11d88c3aa277d4408 Author: Michael Balzer Date: Tue Jul 27 12:03:19 2021 +0200 VW e-Up/OBD: use 1km resolution odometer of ECU 8C commit 05ec26aa9050503c7c4b6e2289b92d12e50f1179 Author: Michael Balzer Date: Sun Jul 25 12:10:07 2021 +0200 Web UI: add minsoc alert & location streaming to notifications config commit d82f0fcefcc2cac0276cb698b9e443d3226d925b 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 7b329dddec2f350f9bc10c2d11f0898d237868bc 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 77c1e792acd532ee0acde6119ba588548426c97d 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 fee344885e99345f99d16031e3cd5370e6710dad 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 5565dbf96ceaf6c7942e5c848c61c03c4a1d4ce6 Author: Michael Balzer Date: Mon Jul 5 13:27:20 2021 +0200 Vehicle: change stat command charge ETRs to hh:mm format commit 2962c6c98a9b21b2beb5d44fc9e81d994bd76a4c 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 6aa5ab8157859a38cd04aef3206f60fff13ef932 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 a91c6ee1cd1a3c9fecd530223700e5214365a7ba Author: Craig Leres Date: Sat Jul 3 10:29:29 2021 -0700 Implement NMEA checksum validation commit b1212e7f341ad2e69b8b5a6027a674ed37fa1472 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 001b3182008541bb49237b177e296224900e0042 Author: Michael Balzer Date: Sun Jun 27 12:09:36 2021 +0200 New plugin: VW e-Up ECU Library & Toolkit commit 8ebbb37c4773dd11c3465b3c32e992d7ddff1a62 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 4c22998e47acfb0c390ddc1137562bd3402d0242 Author: drc38 Date: Tue Jun 22 19:17:52 2021 +1200 serverV2: periodic send if generating commit 710e9ffb5d43067e5845dd911ed1dff85e4ff7bb 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 dfda1607b00d1f1b03a76eadc0f0dd8956b8593b Author: drc38 Date: Fri Jun 18 22:25:31 2021 +1200 serverV2: change to adhoc update and add documentation commit b1f856dd8fa4dbcaebe9c8af258161cd8f52173d Author: Mark Webb-Johnson Date: Tue Jun 15 08:30:45 2021 +0800 CAN AsynchronousInterruptHandler change to support receiving multiple frames per interrupt commit 2329b879d161e889d28a7fd0db0123c71a83ca8c Author: Mark Webb-Johnson Date: Tue Jun 15 08:19:44 2021 +0800 Change test cantx to use sequence as message ID commit 988eca921c1659c770f0c7292bacbdd2e0f87d11 Author: Michael Balzer Date: Sun Jun 13 22:34:14 2021 +0200 Vehicle/poller: add standard negative result code names commit fcf23108d8248f7d9f535da6cd0691bdae71d4b7 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 efd767b75102424860ad1eebde24ccad547686e3 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 038a4a2f9135efc7c2a4b138d122364e126bcba2 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 9280bd387446d1b2de6e163d62b5da59337e9d28 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 1400b2f700017e71e50ae557e2b228bc6bcbb18e Author: Michael Balzer Date: Wed Jun 9 15:41:44 2021 +0200 Poller: fix UDS 0x31 Routine Control PID size, add explanation commit 54b9b5cbb57e7452972081ffb0c694f91c89f8b0 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 a9fb6f770ed097c117022e0a31bee4b6079888e1 Author: Michael Balzer Date: Tue Jun 8 18:36:25 2021 +0200 Utils: fix int_to_hex for unsigned char commit 7ce6060421cc4cc73d7ed39d53c7aa7af43c32ee Author: Michael Balzer Date: Sun Jun 6 16:28:02 2021 +0200 Scripting API: add OvmsVehicle.ObdRequest() commit a4008e07fe3d364a6e749e14a3a5427876b77784 Author: Michael Balzer Date: Sun Jun 6 16:27:04 2021 +0200 Utils: add int_to_hex string conversion commit caf65c23ce6a4961d8e4197de4c1334c81582860 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 6e99b1d29f5c29c1be80fd3526b695fe6df21330 Author: drc38 Date: Sun Jun 6 13:52:55 2021 +1200 NL: update charge port for gen and wait states commit 25c5cb57a0b2de8758f2a825157777e5bf7833b9 Author: Michael Balzer Date: Sat Jun 5 15:32:11 2021 +0200 Commands: add echo & sleep commands (script utilities) commit 49adb6ab582e3b448b75c3effca26d0e87ad8306 Author: Michael Balzer Date: Sat Jun 5 15:27:42 2021 +0200 MicroRL: allow quoting for up to 10 command arguments commit b1fe7ccebb6c08aa594131c2ae2032eddecf43cc Author: Michael Balzer Date: Fri Jun 4 16:01:25 2021 +0200 VWeUp: add web dashboard configuration commit e19cce60171a240c6dec64c4ccb7c7d6576dd210 Author: Michael Balzer Date: Fri Jun 4 15:59:28 2021 +0200 WebUI dashboard: add digital displays for voltage, SOC, consumption & power commit 56670c793a62417cf55a3b1853a10292dadad85e Author: drc38 Date: Fri Jun 4 19:27:15 2021 +1200 serverV2: remove exporting from utils commit e05d5b88277a00297301fc10442f2068cab9ea84 Author: drc38 Date: Fri Jun 4 19:19:58 2021 +1200 serverV2: include all v.g metrics and reorder commit 67425acfe312147142658017c6316ee949434d73 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 0aad1a9f94c7b43c306b38aa0203c250e5b09bb9 Author: Mark Webb-Johnson Date: Wed Jun 2 09:25:06 2021 +0800 CAN logger: CanSwitch dont log transmit events commit 11ad7562fc49ee62f586c54fc48b388a51ac77ff Author: Michael Balzer Date: Tue Jun 1 19:01:42 2021 +0200 Vehicle/Poller: add VW specific OBD/UDS request types 0x18 & 0x32 commit 99c5c478ac54773f453a10e80dfa215f461ad3c9 Author: Michael Balzer Date: Tue Jun 1 18:46:24 2021 +0200 Vehicle/Poller: fix VW TP response pending processing commit 99ebd0f34839186cfd4d204e76f3ae03f7671cc8 Author: Mark Webb-Johnson Date: Tue Jun 1 20:55:54 2021 +0800 CAN logger: CanSwitch formatter (as used in Tesla Roadster VMS) commit 934076e1862ed83cebf3974f36958634fc023d6f Author: Michael Balzer Date: Sun May 30 22:38:03 2021 +0200 VWeUp/OBD: add txid & rxid to unhandled poll response log commit 72683f3ff64d1f5b2d8c2b918e5f87ede2a2ba8c 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 a908613f87a41e5c127e566d0ec52396adf1f607 Author: drc38 Date: Wed May 26 21:48:52 2021 +1200 serverV2: add v.g metrics commit 54f00d7ab833df856740d9592078cdfe3251b0da Author: drc38 Date: Mon May 24 11:47:26 2021 +1200 NL: use charge pilot stale to set charge door closed commit 4a7e4f966e841cf292456464799883746042024e Author: Peter Harry Date: Sun May 23 17:05:38 2021 +1000 Adjusted granny charge profile commit c01779a07f8c269c8aa69d616091a96625532baf Author: drc38 Date: Sat May 22 18:06:35 2021 +1200 NL: add V2X web config for minSOC and minRange commit 0557d33ed15497f4f620a8d94d214f0222d93782 Author: drc38 Date: Sat May 22 11:50:21 2021 +1200 NL: alpha V2X implementation commit b0f2bb8734f052089cbe29dc84abe0f8ba15af99 Author: drc38 Date: Wed May 19 07:34:54 2021 +1200 NL: add V2X capability commit c1b81c35020f3ca41c0ae57de4532c460248ff16 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 2e547d54a0067d8352f691ff137f9e6bf4f1d7f0 Author: Michael Balzer Date: Sun May 16 08:56:10 2021 +0200 VWeUp/OBD: delay charge start reference to collect SOC corrections commit d77051498aa2119dcf15542e64f2d025d1fc6f8c Author: Peter Harry Date: Sat May 15 17:26:52 2021 +1000 Updated Charge Limit notify messages commit c4a7f4ee5d0b604f35f0405ebe9a78296072c716 Author: drc38 Date: Fri May 14 08:41:31 2021 +1200 NL: code tidy up commit b2afab5ea22a0195c3ce1a5e30f6017cebe59c49 Author: drc38 Date: Thu May 13 23:41:29 2021 +1200 NL: remove acvoltagemultiplier references commit 38f9210e2f7e14076cd47cde536b8c9c161242b5 Author: drc38 Date: Thu May 13 23:33:20 2021 +1200 NL: add interrupt status commit 8faf7d41fe1c887cf6a07c400e538c2889e22798 Author: drc38 Date: Thu May 13 23:11:24 2021 +1200 NL: fix NaN on voltage loss commit acaaa58f8f04665e1c14f175b5eb633d73211eca Author: drc38 Date: Thu May 13 22:46:42 2021 +1200 NL: correct units commit 929a5511c66913a64601bfce84cd881bb311d086 Author: drc38 Date: Thu May 13 22:28:36 2021 +1200 NL: refactor 0x390 messages commit f0c3fbf7458cfb8ed5defd5b76f1c0f9bc0fa14d Author: drc38 Date: Wed May 12 21:27:10 2021 +1200 NL: improved new metric naming commit 6c277089c757e60678352682c431b4db9d67cc4b Author: drc38 Date: Tue May 11 22:59:32 2021 +1200 NL: add extra xnl metrics, update charge port status commit 60e63d5b6023170d8b000b84e570e348036d0614 Author: Michael Balzer Date: Sat May 8 18:16:03 2021 +0200 VWeUp/OBD: add chargecap log test/debug configs commit 11981be46398ffc83ede890bb292c5a37eb9dd8c Author: Michael Balzer Date: Sat May 8 16:55:00 2021 +0200 VWeUp/OBD: fix ECU info electronics IDs, add immobilizer unit IDs commit f34d0480233e6ddac3433b8baaffa9f32bbdcb60 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 d36755193db9d8704fddb324ea18719b19ea1a86 Author: Michael Balzer Date: Sat May 8 16:42:57 2021 +0200 VWeUp/OBD: fix charge done detection commit 6c1fb709450c3d057c4cf237fda86136b90fedd7 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 2cf21e766b176dba353f8bff2a8a1af4c6e3ba83 Author: Peter Harry Date: Sun May 2 21:57:05 2021 +1000 MG:Battery config - Range display in miles commit accae394aad3617179446a6b14f205ca593d6ae6 Author: Peter Harry Date: Sun May 2 21:18:58 2021 +1000 Updated code in calcMinutesRemaining commit ea047f16519b2efe3242c7b70dd1329926a8f7e6 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 61f2182cc0782f56b9d2d41cdd7c5d18968d8abf 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 bea3673eb6e31253ad619cfe139bf5278f91bb35 Author: Attakorn Date: Sun May 2 10:41:18 2021 +0700 index.rst - Added more notes to shell commands commit 3d8d48047e779de5788cc6b00bf15d8d7ed0201d Author: Attakorn Date: Sat May 1 17:00:59 2021 +0700 Fixed sections syntax for index.rst commit b04dba742d6ed3ffec368d5dabbae43b7594b9e8 Author: Attakorn Date: Sat May 1 15:44:12 2021 +0700 Modified index.rst commit 0f41b593228f93fb3c9b024879e04e2b845cefcc Author: Attakorn Date: Sat May 1 15:40:33 2021 +0700 Corrected index.rst commit 6965145a1363fcb94366062dcc5d651b6b6f43b4 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 957443f9181006bd39926da09ffe32d08c7b3c82 Author: Peter Harry Date: Thu Apr 29 12:42:59 2021 +1000 Battery config - Range displays in Miles commit 58196d45e368cc18263b3de60e96bac0ab1e65c9 Author: Michael Balzer Date: Sun Apr 25 11:34:29 2021 +0200 Poller: support multi frame requests commit 4e7f9980dcb7129cc2ca31b183a536b511b39872 Author: Mark Webb-Johnson Date: Sun Apr 25 11:34:33 2021 +0800 canlog: Fix tcpserver startup when wifi is down commit 2fddf6887d3bde9f1e44fd097358b543cd36e799 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 b2fb2c166da00e5c57de71bb0024483955b521c0 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 e88988e57ae1c4c2c9fdb2fb2d9642f24b3761ef Author: Peter Harry Date: Sat Apr 24 07:11:57 2021 +1000 Increased maximum charge time to 2 days commit 7e8e39c81da37db1325f5bb445d0c75bff51f510 Author: Michael Balzer Date: Fri Apr 23 21:52:29 2021 +0200 Poller: support CAN extended frame mode (29 bit identifiers) commit 3b244e3048ea13c845930f1c1ab24f61dd219531 Author: Peter Harry Date: Wed Apr 21 12:19:57 2021 +1000 Modified SOC & Range Limit reached notification code commit 93613a2b4b86b7816c390f9fbbdd2d7e30c677f7 Author: Mark Webb-Johnson Date: Tue Apr 20 10:14:21 2021 +0800 dbc: Support BA_DEF_ and BA_DEF_DEF_ sections commit 25610fa7ed4eea6691856b0b9db593f0ca01ea8e Author: Mark Webb-Johnson Date: Tue Apr 20 10:02:31 2021 +0800 canlog: Increase outbound buffer size to avoid packet loss commit 6e366a47d91efcc85b733de759ae36d52e8bcf51 Author: Peter Harry Date: Mon Apr 19 13:12:28 2021 +1000 Added changes to changes.txt commit 6fed302f997950f0f6bc02c6d369e1750638ff23 Author: Michael Balzer Date: Sun Apr 18 13:55:34 2021 +0200 Trip log: add hint for vehicles lacking v.p.trip support commit 517ee93348fa49c4466fc26aebf12307b1e2f1c3 Author: Dimitrie78 Date: Sun Apr 18 10:17:24 2021 +0200 Zoe/Kangoo: update changes.txt commit b929854d682b68445bfd98f26e83731a9131dd55 Author: Dimitrie78 Date: Sun Apr 18 09:20:02 2021 +0200 ZOE: add Kangoo support to Renault Zoe vehicles module commit bc81f93ca4650d907aa4d8f9df6812427c0803cc Author: Michael Balzer Date: Sat Apr 17 16:44:10 2021 +0200 RE PID scanner: fix payload window for 8 bit PIDs commit 97a5ab178e20224c21cf72730d3dc4bd731aa53d Author: Craig Leres Date: Fri Apr 16 18:47:33 2021 -0700 Flags cleanup: Add usage strings and detect/report invalid flags Rename the -S flag to -c (show [c]ommand) for "metrics list" and add flags usage strings for it and "metrics persist". Add -t flag to display to display string metrics with semantics similar to linux "cat -t" which can be helpful when looking at metric strings with unprintable characters. Fix "metrics list" to search for at most one metric substring; previously the code would apply up to two "show only" arguments. Add OvmsMetric::IsString(). Make OvmsCommand::PutUsage() public. Check for invalid flags for "wifi scan", "event raise", "module factory reset", "vfs head", and "vfs tail". commit 1529a3c8ab0bad2c23e1ca936fff7f4796df3fec Author: Mark Webb-Johnson Date: Fri Apr 16 13:46:40 2021 +0800 GVRET improvements to improve SavvyCAN compatibility commit 4a5dba8e2faa5a13ad0e31b24599bb551110af08 Author: Mark Webb-Johnson Date: Fri Apr 16 09:00:36 2021 +0800 Add debugging information for GVRET binary protocol commands commit 7faa6efc3f6743b565db9559ec075cf9d3382ec6 Author: Peter Harry Date: Fri Apr 16 09:21:48 2021 +1000 Fixed incorrect title on Battery Config Page commit ae1b3ed9de64fc6047fbc3e712d8dc7c60dc146a Author: Mark Webb-Johnson Date: Thu Apr 15 15:38:00 2021 +0800 Re-working of CAN LOG framework to work off connections, and support control commands. commit a21e889575c77d4b1398f176e14c29c4b4968358 Author: Fredrik Gustafsson Date: Wed Apr 14 17:05:25 2021 +0200 reformat energy and coloumb factors for vw e-UP see #611 commit 076e22209aae23381e9585735ae674cc5f990d1e Author: Peter Harry Date: Wed Apr 14 19:54:08 2021 +1000 Added Battery config page to set charge_limit_soc and range commit 2c866fac624db39bbfac50f2ebec21d10da12bef Author: Fredrik Gustafsson Date: Wed Apr 14 09:36:34 2021 +0200 update energy and coloumb factors Coulomb: Volkswagen defines `0.0018204444`, which is closer to `3909375/2^31` Energy: Volkswagen defines `0.0001165084`, which is closer to `250200/2^31` Not sure if it makes sense to keep representing them in this way when it doesn't look as nice and even? Also as we are on quite powerful hardware it might make sense to just use `double` everywhere? commit d0a92467e6914abcddd9fbb8c9199361632f826d Author: Peter Harry Date: Wed Apr 14 17:32:03 2021 +1000 Added charge time remaining for range commit 000a445c60e815ca6579bb4501a709b8c0a8d8f3 Author: Peter Harry Date: Mon Apr 12 19:33:06 2021 +1000 Initialised ms_v_charge_limit_soc to 80% commit 19c53d742fea2de23d618ddbf349920abe7dd88f Author: Jaimyn Mayer Date: Mon Apr 12 09:44:45 2021 +1000 Clarify Remote Climate Control and Gen 1 LEAF Clarifies how the Remote Climate Control feature doesn't work with Gen 1 LEAF and v3 hardware currently. commit 9d160878304377fad8b212bb4430135e10ec455a Author: Peter Harry Date: Sun Apr 11 16:20:22 2021 +1000 Added comments to changes.txt commit c05cff60f7034b8dd66b76902033fbb3fc8dd37e Author: Peter Harry Date: Sun Apr 11 16:06:11 2021 +1000 Added code to calculate charge time remaining commit 33bfce440fb0e419a23251c7ddf457c5d62cdd6f Author: Michael Balzer Date: Sat Apr 10 15:19:32 2021 +0200 Docs: add Jaguar Ipace to README commit 9a0a547bf82c34525e97e77e333ea0bb07ff38c1 Author: Michael Balzer Date: Sat Apr 10 15:17:42 2021 +0200 Build: include Jaguar Ipace commit f64435fc608cd42d9d28f5e59496a455034e357c Author: Michael Balzer Date: Sat Apr 10 15:00:56 2021 +0200 VWeUp: fix init sequence for T26+OBD commit ae6aeb16403a60a4b37d5895bf882c0d57dabfb4 Author: dernotte Date: Fri Apr 9 21:48:00 2021 -0400 First v0.0.1 for the Jaguar IPace vehicle commit 34707384bbf513760e64895f6e4085b2919d3c88 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Tue Apr 6 19:32:55 2021 +0100 Tidy up tidy up and remove un needed items commit 91351e8a89b4c37cc677896271cbfedd727e6fb7 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Tue Apr 6 18:20:23 2021 +0100 Maxus polling update and cell metrics added commit 6ef0b0de8f82357da8ffbc94c7fef242c03e065d Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sat Apr 3 20:32:43 2021 +0100 add med3_pids.h commit 97a7a24ec3e0c9b8412e6818fd1aee94b6db3d5a Author: Craig Leres Date: Sun Apr 4 09:17:43 2021 -0700 Revert metric list "verbose" change to be submitted seperately commit 2ec8192346f2d82300894fbeded7b559e0a6d0ac Author: Dimitrie78 Date: Sun Apr 4 12:14:49 2021 +0200 SmartED: add charge power and efficiency commit 3dc3061f61760ca403c31530647cd789c7803435 Author: Peter Harry Date: Sun Apr 4 20:03:35 2021 +1000 Display CCS charging in App commit 2ee6e576ff910b11ecd852ca0d6e8018a273e2a8 Author: Michael Balzer Date: Sun Apr 4 09:30:26 2021 +0200 Readme: add pull request handling recommendation commit 8e2f3a32ca39cd18290c6012b9ba0df3234bdf2e Author: Craig Leres Date: Sat Apr 3 17:23:24 2021 -0700 Update metrics list usage and use OvmsCommand::PutUsage() as suggsted by Stephen Casner Make OvmsCommand::PutUsage() public to allow this commit c6f9afae6a7dffa9c87fd67a60bd4121f7d122fe Author: Craig Leres Date: Sat Apr 3 15:04:33 2021 -0700 Skip over non-vin data in first multi-frame response to vin polling Both the obdii and chevrolet_c6_corvette vehicles had this problem (at least with the two GM vehicles I have access to) Here is an (anonymized) example captured on a Corvette: 1617485504.286504 1R11 7E8 10 14 49 02 01 31 47 31 1617485504.292771 1R11 7E8 21 59 59 32 36 45 39 37 1617485504.311466 1R11 7E8 22 31 32 33 34 35 36 37 The frames contribute 1G1, YY26E97, and 1234567 to the vin. While we're here add the -v (verbose) flag to metrics list to make it easier to see this kind of problem. commit dbaa16d1503b48a039589ffa6c5de7556081070b Author: Craig Leres Date: Sat Apr 3 10:36:58 2021 -0700 Suppress false theft alerts due to a suspected SIMCOM GPS bug (the reported location goes from: A,B -> A,B -> 0,B -> 0,A -> A,B -> A,B) commit 873faa25cde507f516c0a226e587b088aa16fa79 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Fri Apr 2 11:47:43 2021 +0100 Update changes.txt commit 775c59b8eb42b1040f0555d1a046070d79f651f4 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Fri Apr 2 11:42:40 2021 +0100 Maxus Web interface page added commit ea044fdf49e7585f1ffc286d7f638e7cb8804914 Author: Michael Balzer Date: Wed Mar 31 14:02:33 2021 +0200 Mongoose: fix submodule status commit 0a1f877decc893f60c9b6d21326b9544e6c26544 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Tue Mar 30 18:24:48 2021 +0100 update new code for added metrics and app support commit 92777392107328f9d97ebe85fade1c27117af167 Author: Peter Harry Date: Tue Mar 30 20:23:03 2021 +1000 Added missing file changes commit fa7671787df6c3b056b2ea835f08b7272cfc8ed3 Author: Peter Harry Date: Tue Mar 30 12:02:05 2021 +1000 Add new features page to select car's BMS firmware release to adjust SOC display accordingly commit 20e22f5b8e76bfe9e892f8974f0118d2adae417f Author: Michael Balzer Date: Mon Mar 29 23:07:22 2021 +0200 VWeUp/OBD: rearrange cell voltage polls for assumed numbering scheme across modules (first 14/17 PIDs = first cells in the 14/17 modules) Note: assumption based on 2020 model observations commit 61b5ab3d866521a1badf2c197802d5e10bb5d159 Author: Michael Balzer Date: Mon Mar 29 22:54:11 2021 +0200 RE PID scan: fix multi frame responses exceeding 255 bytes (found by didier@ernotte.com) commit b6bf6c1adadc9f9b95a4dec88d656dd9812fb765 Author: Craig Leres Date: Sun Mar 28 16:27:57 2021 -0700 Use a synthetic CAN IRQ error bit to report invalid rx can frames commit be676ab8d89872f4f14d669be7beacbdaeb80bd4 Author: Michael Balzer Date: Sun Mar 28 10:15:10 2021 +0200 Modem/NMEA: fix string exception crash commit 6447ebd03533b86486b9861bdda6e4c7d4d75f67 Author: Michael Balzer Date: Sat Mar 27 14:06:59 2021 +0100 VW e-Up/OBD: optional BMS auto statistics reset between driving & charging New config: [xvu] bms.autoreset -- yes = enable statistics reset, default no commit d1ed746288ad9bbc404377eddf4d381a8dcae868 Author: Michael Balzer Date: Sat Mar 27 12:34:15 2021 +0100 VWeUp: fix early charge limit & mode updates at charge stops commit 703b782aeeabe575e18f268a6203a9f113afb8d0 Author: Michael Balzer Date: Sat Mar 27 12:32:57 2021 +0100 VWeUp: fix timed charge done detection with identical charge limits commit 8768bae3b552f85588a4e34056f6ec3b87608519 Author: Michael Balzer Date: Sat Mar 27 12:25:09 2021 +0100 Metrics: return modification info from SetValue() commit 8f49924060729012f4389b448c7c5fd6fc43d620 Author: Michael Balzer Date: Sat Mar 27 12:22:50 2021 +0100 Vehicle: fix Notified…() to be called after the notification/signal commit 3bd3a19c5da43049b31ee5152acc8fac1db3db9a Author: Michael Balzer Date: Sat Mar 27 12:18:33 2021 +0100 Vehicle: classify charge stop with substate "timerwait" as info commit 7d0d3fe502764f1b582731a8f5fd5ab10a9cbb7e Author: Dimitrie78 Date: Tue Mar 23 18:23:01 2021 +0100 SmartED: update AutoSetRecu to allow D- commit 1679058293fcfac93ad971c8c5e12d09813c06b8 Author: Craig Leres Date: Sun Mar 21 16:43:48 2021 -0700 Detect, report, and discard invalid SJA1000 rx can frames (changes based on feedback from Michael) commit b10a358319df83ef0aaccfd8f4789d6d4df1267f Author: Michael Balzer Date: Sun Mar 21 14:09:38 2021 +0100 Webserver: support TLS (https, wss) using self-signed certificates commit 8d5f1fc1ae4c3646957deab1523842f7f43695d6 Author: Michael Balzer Date: Sun Mar 21 14:07:55 2021 +0100 Web framework: use refactored file loader/saver commit a6f64a43e930b80b2c355672145342bf510672ee Author: Michael Balzer Date: Sun Mar 21 14:06:55 2021 +0100 Utils: simple file to/from string loader & saver commit f7523a8a9fb1b19baf31e1eea4eefcb3a2ab53d4 Author: Stephen Casner Date: Wed Mar 10 19:56:17 2021 -0800 wolfssl: Adjust configuration for TLS - To accept TLS certificates without taking a terribly long time (90 seconds) we need WOLFSSL_CERT_EXT and WOLFSSL_OLD_PRIME_CHECK. We include NO_WOLFSSL_STUB just for code efficiency. - Remove WOLFSSL_SMALL_STACK that was commented-out previously because it caused SSH connect time to be too long. commit 0e2c9cc9c1f0ff7b12842e1dd2fd035d544bdc38 Author: Stephen Casner Date: Wed Mar 10 17:56:30 2021 -0800 Not using WOLFSSL_FAST_MATH so don't need tfm.c commit 7184ee3dfe93b31391c38bd27655d67a8e5a45f4 Author: Stephen Casner Date: Wed Mar 10 14:28:06 2021 -0800 SSH: malloc callbacks needed earlier in NetManInit for TLS commit f1d201a897461621f7d4cad9245cf79d40711b68 Author: Stephen Casner Date: Wed Mar 10 14:01:38 2021 -0800 Restrict wolfssl include dirs to just mongoose component commit bcb68f855a0c5db1048124f4be48f91f9388a0d3 Author: Stephen Casner Date: Tue Mar 9 22:16:57 2021 -0800 Reapply patches to wolfssl sources Previously in commit 04fafb83a3cc5563a5feb70a4bb7922457d58893: To avoid a conflict between the definition of SHA_CTX in and in esp-idf/include/esp32/rom/sha.h we add #define SHA_CTX DUMMY before reading the latter file to squelch its definition that we don't need. Previously in commit 51444539047daef7bd2accb23ef40d1bc14fdb20: We don't want to turn on WOLFSSL_SMALL_STACK globally because it slows down cyptography processing too much with allocations in PSRAM. Just define that macro around ProcessBuffer() to reduce stack allocations in that function. commit b34553db86d6c2e77d1f3b0ec3aa4a3de6441352 Author: Stephen Casner Date: Tue Mar 9 18:19:51 2021 -0800 Import WolfSSH v1.4.6 and WolfSSL v4.7.0 source files. commit 7d9eed41bee9164b88294104d4be7253b191283c Author: Stephen Casner Date: Fri Feb 26 12:13:58 2021 -0800 wolfssl: List the macros implied by ESPIDF, ESPWROOM32 commit 08c401458e558952edb0204358dc204ad4ba9d3b Author: Stephen Casner Date: Wed Feb 24 23:59:06 2021 -0800 wolfssl: Avoid large stack allocation in ProcessBuffer() We don't want to turn on WOLFSSL_SMALL_STACK globally because it slows down cyptography processing too much with allocations in PSRAM. Just define that macro around ProcessBuffer() to reduce stack allocations in that function. commit aad90c7ee4f73a8dc6a3390b31666db82cb14b13 Author: Stephen Casner Date: Wed Feb 24 23:53:28 2021 -0800 SSH: Don't emit error message if wolfssl debugging is unconfigured commit b050c434142077989433d8ae5c8597b08f57eb13 Author: Stephen Casner Date: Wed Feb 17 22:48:08 2021 -0800 Change Mongoose to use wolfSSL instead of MBEDTLS Configure Mongoose to use its OpenSSL adaptation layer and then set the include path to get from wolfSSL's OpenSSL compatibility layer. In mg_local.h we also need to include user_settings.h from wolfssl so that the right conditionals are set when processing the wolfSSL header files. These conditionals turn on the OpenSSL compatibility code in wolfSSL. In wolfssl we need to add the source files from the main wolfssl layer (before we only compiled the wolfcrypt sublayer). We have to list all the files to be compiled rather than taking the default action of compiling all the sources in the SRCDIRS because the wolfssl tree includes files containing assembly code for other architectures and I want to leave the wolfssl tree intact. To avoid a conflict between the definition of SHA_CTX in and in esp-idf/include/esp32/rom/sha.h we add #define SHA_CTX DUMMY before reading the latter file to squelch its definition that we don't need. commit d208c13db5c846eec9c01652efd790377d0f5170 Author: Stephen Casner Date: Sat Mar 20 12:25:35 2021 -0700 mongoose: Update submodule to use WolfSSL via OpenSSL commit b14acca97a9d3ae237df7048d14120124e1bc400 Author: Michael Balzer Date: Sat Mar 20 14:45:55 2021 +0100 VWeUp: fix usages of uninitialized OBD metrics in T26-only mode commit 797e1aad569a64d5ff711013c8251ba201713b7b Author: Michael Balzer Date: Wed Mar 17 21:06:36 2021 +0100 New vehicle: Hyundai Ioniq vFL (HIONVFL) https://docs.openvehicles.com/en/latest/components/vehicle_hyundai_ioniqvfl/docs/index.html commit a56c6f2da7c617a8f206d3deb2d4ae61b3e3e4be Author: Michael Balzer Date: Wed Mar 17 21:06:17 2021 +0100 Docs/Build: add missing links to README, include Maxus eDeliver by default commit 22cb1fa681c73951f66f7e7df9419a1025835221 Author: Michael Balzer Date: Tue Mar 16 19:55:46 2021 +0100 Wifi: fix bandwidth setup race condition, add bandwidth info to status commit c6db70583f7672a3981112d9a27268bd0411034d Author: Michael Balzer Date: Tue Mar 16 19:49:31 2021 +0100 Revert "Revert "Wifi: default to 20Mhz bandwidth"" This reverts commit 1e9f5e0adc5f702b6890df762fe81b256a8bfc82. commit c06a5c7f15b8bf47af6211617433cc86dc3640ac Author: Craig Leres Date: Sun Mar 14 14:07:19 2021 -0700 Detect and count invalid SJA1000 can frames (bad dlc length) commit 1e9f5e0adc5f702b6890df762fe81b256a8bfc82 Author: Michael Balzer Date: Sun Mar 14 16:10:39 2021 +0100 Revert "Wifi: default to 20Mhz bandwidth" This reverts commit 34eb2a30bc8453ebfc81d3aa9b3e5e8da4d0ec8a. commit 73ab2e976a5652b6d7d2af5fa1aa14e32987dae6 Author: Dimitrie78 Date: Sun Mar 14 08:46:48 2021 +0100 SmartED: update bms cell monitor commit 11c5fa0ebd826728a6516271c8714eb5a4da435c Author: Craig Leres Date: Sat Mar 13 09:33:17 2021 -0800 Protect against corrupt can frames; limit the maximum dlc value The DLC field is only 4 bits wide (15 max) but it seems like a good practice to limit it to the size of the payload buffer. The issue is described here: https://github.com/ThomasBarth/ESP32-CAN-Driver/issues/26 commit 643d0b3b04eca9895d14b53a52d6173617be7959 Author: Craig Leres Date: Fri Mar 12 20:40:59 2021 -0800 Add support for 33K, 50K, and 83K if we're an ESP32 V2 or higher commit 34eb2a30bc8453ebfc81d3aa9b3e5e8da4d0ec8a Author: drc38 Date: Sat Mar 13 08:54:20 2021 +1300 Wifi: default to 20Mhz bandwidth commit a08bef4cb9d099f139830b091868afb69e7694c3 Author: Michael Balzer Date: Fri Mar 12 15:05:32 2021 +0100 VW e-Up: init charge timer metrics from persistent values commit 177d497dcd60075edc3fc9cd4b7b0a35390c184f Author: Michael Balzer Date: Fri Mar 12 14:26:01 2021 +0100 VW e-Up/OBD: detect charge timer mode New metrics: xvu.c.limit.soc.max -- Charge schedule maximum SOC [%] xvu.c.limit.soc.min -- Charge schedule minimum SOC [%] xvu.c.timermode.def -- Charge timer defined & default [bool] commit d1788aa9e083318f7440d61b126d791bc9bfc224 Author: Michael Balzer Date: Fri Mar 12 14:21:35 2021 +0100 Vehicle: emit standard events on changing v.c.timermode New events: vehicle.charge.timermode.off -- Vehicle charge timer mode has been switched off vehicle.charge.timermode.on -- Vehicle charge timer mode has been switched on commit 15b93dfec026c86955c9d478465c7e99079cf2ac Author: Michael Balzer Date: Fri Mar 12 14:18:57 2021 +0100 Docs: fix sphinx deprecation warning commit 99dad1d230c8c4aecb8fd6cb663a00c53407a7b6 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Thu Mar 11 18:37:35 2021 +0000 initial modifications required renamed vehicle, tidy up, amend changes.text, add docs/index.rst, amends so poll changes commit c79c7c3ca082dfb267f9d7147d675f8f9524b375 Author: Craig Leres Date: Tue Mar 9 10:00:16 2021 -0800 Minimal fix for ESP32 V3 can bus: turn off BRP_DIV if we're V2 or higher Starting with revision 2, the function of bit 4 of the interrupt enable register changes from "enable wakeup interrupt" to "divide BRP by 2". The OVMS SJA1000 code enables "all interrupts except arbitration loss" which was causing can baud rates to be half of what they were set to. Reported by Thomas Heuer who reference: https://www.esp32.com/viewtopic.php?t=15581#p59670 commit a11391ddb0c15157c7dbc3047d71b8cc68944956 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Mon Mar 8 19:20:28 2021 +0000 renamed files and components commit 17d26638676245e28db684d5de540916c4e9165f Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sun Mar 7 19:46:24 2021 +0000 Update vehicle_edeliver3.cpp commit 223057b61473b99c8e97c0f316886ab8ff79b5fb Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sun Mar 7 09:49:03 2021 +0000 Update vehicle_edeliver3.cpp commit ae1d6b0264f8fef6af6809f3593dc1b2e06cf932 Author: Michael Balzer Date: Sat Mar 6 21:29:33 2021 +0100 VWeUp: fix SOC interference between T26 & OBD commit b15b606e38d3ad864df6c43178ff0598d3c134a9 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sat Mar 6 19:36:54 2021 +0000 Update vehicle_edeliver3.cpp commit 1ec6b02e768668ca27eec5e038a6669edbf59950 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sat Mar 6 18:51:36 2021 +0000 new vehicle to add Maxus eDeliver3 Vehicle added commit 38db317ae770e542ea057a777c6caa08a4c3182e Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sat Mar 6 18:48:41 2021 +0000 Update mg_poll_bms.cpp commit b6686de5d50e103739b08a1d86a98ae15d92e479 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sat Mar 6 18:44:36 2021 +0000 Update mg_poll_bms.cpp commit 3f9e8628c9f5ff6196edf344c99817ce161c1e1c Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sat Mar 6 18:44:27 2021 +0000 stash added commit 37b02d6574f4204ece76107b0d8aaa87b3dced63 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sat Mar 6 18:40:57 2021 +0000 update master commit 10ca78aad3e21a7d495376b7addafbf4624b15f0 Author: Craig Leres Date: Fri Mar 5 23:35:34 2021 -0800 Report invalid can_tx() CAN ID and data values commit 0cfb4d940baa176e5e3f1f8655686ab653dc399c Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Sat Mar 6 16:58:57 2021 +0000 Add PID's to maxus eDeliver3 added pack voltage, temps, odometer, soh and adjust estimated range commit 65b230cc081d46df1a5644ae86865aee02da9899 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Mon Feb 22 20:53:44 2021 +0000 Update Kconfig commit cc5868bca98464c058f36e394c54fd55125a9575 Author: KilveEng <72148024+KilveEng@users.noreply.github.com> Date: Thu Feb 18 18:39:41 2021 +0000 Add the Maxus eDeliver3 branch to the master work in progress but shows the SOC and HV battery status so far