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 15fcd2526295c1b04dae62f88cec5a7c1f0483b6
Author: Michael Balzer
Date: Fri Mar 5 14:04:07 2021 +0100
Release 3.2.016
commit 3f74c233f3d86ae3120a44cf36571c77220a398d
Author: Michael Balzer
Date: Sun Feb 28 20:18:01 2021 +0100
CAN: fix "can status" baud rate output & command hint for 50 kbps,
add info on MCP baud rate configurations
commit ca9240e5507652ca3e1e8c0c1b4c996e50dea688
Author: Michael Balzer
Date: Sat Feb 27 19:56:43 2021 +0100
MCP2515: added MCP2515Calc tool from MCP_CAN library by Cory J. Fowler
https://github.com/coryjfowler/MCP_CAN_lib
commit da947df128633be589d3c9712e302516d1ebc0b5
Author: Michael Balzer
Date: Sat Feb 27 19:50:38 2021 +0100
CAN: support 50 kbit (only on MCP2515 for now)
commit e952bc813e2447d6aee317fb00e97d58369f49a9
Author: Michael Balzer
Date: Sat Feb 27 14:11:03 2021 +0100
VW e-Up: CCS (DC) charge detection & data
New metrics:
xvu.c.ccs.u -- CCS charger supplied voltage [V]
xvu.c.ccs.i -- CCS Charger supplied current [A]
xvu.c.ccs.p -- CCS Charger supplied power [kW]
commit 869dd1ff0d8def0109dc896d32314511ddf716d8
Author: Michael Balzer
Date: Sat Feb 27 13:57:25 2021 +0100
VWeUp/OBD: replace MFD range based CAC/SOH by charge coulomb count based
Removed metrics:
xvu.b.cap.range
xvu.b.cap.chg.ah.norm
xvu.b.cap.chg.ah.norm
xvu.b.cap.chg.kwh.norm
xvu.b.cap.chg.kwh.abs
New metrics:
xvu.b.energy.range -- MFD range estimation energy [kWh]
xvu.b.cap.kwh.range -- … usable battery capacity derived [kWh]
xvu.b.cap.ah.abs -- Charge coulomb based capacity [Ah]
xvu.b.cap.ah.norm -- … normalized (usable) [Ah]
xvu.b.cap.kwh.abs -- Charge energy based capacity [kWh]
xvu.b.cap.kwh.norm -- … normalized (usable) [kWh]
commit 1725abee2102cc859d2129db80f9725798807962
Author: Michael Balzer
Date: Sat Feb 27 12:44:40 2021 +0100
VWeUp/OBD: fix power metric units
commit 7ffb3a4321b76963210b6f0bf58d032c6bfb4fd1
Author: Dimitrie78
Date: Tue Feb 23 18:11:17 2021 +0100
SmartED: update poll interval
commit 3fae43b9a185c11d5e3ba1e493bbcfcf8c550717
Author: Dimitrie78
Date: Tue Feb 23 18:00:37 2021 +0100
SmartED: update poll interval and BMSDiag
add Cooling- and Subsystems to BMSDiag report
commit 65b230cc081d46df1a5644ae86865aee02da9899
Author: KilveEng <72148024+KilveEng@users.noreply.github.com>
Date: Mon Feb 22 20:53:44 2021 +0000
Update Kconfig
commit 16c4c648ae7889b87918f8020a18c4c66e9907cd
Author: Michael Balzer
Date: Mon Feb 22 19:45:35 2021 +0100
VWeUp/OBD: poll interval corrections for charger & TPMS
commit 76fbd4b03d5e9c12cece7005dca036c60dd16fd1
Author: Alexander Kiiashko
Date: Sun Feb 21 16:56:17 2021 +0200
VA: new xva metrics, metrics creation without initial value
commit 361fab14c9a49d3e3da39f05b75df9cbce791d7c
Author: Craig Leres
Date: Thu Feb 18 12:18:33 2021 -0800
C2CTS/C6CORVETTE: Only initialize v.e.on to false when undefined
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
commit 4275061913486a94c3594a12e003d9517e138f0b
Author: Steve Davies
Date: Thu Feb 18 14:23:30 2021 +0200
Only initialise v.e.on if it currently has no value.
this avoids overwriting the value now saved through persistence.
Did the same for v.e.awake though not sure it it is persisted.
Harmless if it is not.
commit 79b5865775493839df53d89f9b7d8cec4bafc698
Author: Michael Balzer
Date: Wed Feb 17 17:00:29 2021 +0100
Docs: fix 12V current limit specs
commit c8df8f32d9b25b7dee501dbb7da2000c1c29a453
Author: Stephen Casner
Date: Tue Feb 16 22:17:16 2021 -0800
Don't init CAN & CanRx if no CAN interface configured
This change is only to allow operation on an OVMS v3.0 hardware test
unit that's not connected to any vehicle and can't afford the 29kB
consumed by the CanRx task.
commit c59e90d8f40d77f31517310f683a99e2d8be04d2
Author: Peter Harry
Date: Wed Feb 17 07:27:15 2021 +1000
Reverse changes to soc calculations not ready for release
commit 84b93bc7b932dc168623a8cf2a1a9d6c7f8521c3
Author: Michael Balzer
Date: Tue Feb 16 13:15:43 2021 +0100
VWeUp/OBD: coulomb/energy scaling correction
commit f1252d2726ac10e1af0ccd9a00ae23b630ecacd2
Author: Michael Balzer
Date: Tue Feb 16 10:38:14 2021 +0100
Location: extend logging to track down false alerts
commit 2623e29e981415977333639312f702d1ffdf29d6
Author: Peter Harry
Date: Tue Feb 16 19:19:03 2021 +1000
Removed standard deviation code. Will add later. Updated changes.txt
commit 43a1d20ff5975d7c3ac0825171adabd60c8515a5
Author: Craig Leres
Date: Mon Feb 15 12:56:52 2021 -0800
Explicitly set v.e.on to false on init
commit 0959983e4f8ac702551e7ba8b62a34a60a93eda0
Author: Michael Balzer
Date: Mon Feb 15 17:11:13 2021 +0100
VWeUp/T26: base charge state checks on ms_v_charge_inprogress
commit 78e81f209003fe4c286528f95a9e458ec1647f13
Author: Peter Harry
Date: Mon Feb 15 19:44:51 2021 +1000
Adds new Charging Metrics page to OVMS home page
commit ced4777a574f7c67823c2e7dc7e5d8b9662c81c3
Author: devmarxx
Date: Mon Feb 15 10:13:07 2021 +0100
Corrected AWAKE switching for OBD
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 833d2f89453df2abcbb2408377a40402594f924c
Author: devmarxx
Date: Sun Feb 14 17:43:45 2021 +0100
Always allow manual interrupt of 12v wait state
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit fd369dadda6f3ffd0022ad43edd96be3fe3d2daf
Author: devmarxx
Date: Sun Feb 14 16:34:06 2021 +0100
Set 12v OBD wait state to 2 minutes
Changed
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit a9f4336498169ff442821ffd3dd154b010a61a5e
Author: Michael Balzer
Date: Sun Feb 14 15:37:14 2021 +0100
WiFi: replace fixed scan times by config instances, add documentation
commit c5dceae69ae5eacabaf4545820dbfd15f77b87b9
Author: devmarxx
Date: Sun Feb 14 12:24:15 2021 +0100
12v fix attemt corrected
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 8a270edc557fc523b4af1eb1af93a5653aafe1a5
Author: devmarxx
Date: Sun Feb 14 12:12:31 2021 +0100
First 12v blocking time out attempt
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vehicle_vweup.h
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 68adf59bb0daef6f98743ed37d47b9de4ca71a36
Author: Phil Sutherland
Date: Sun Feb 14 17:38:19 2021 +0800
i-MiEV: Improve commenting on early vehicle changes
commit c06c786e69cf9c3304ca94b1a340878bfc54d33f
Author: Michael Balzer
Date: Sun Feb 14 10:00:26 2021 +0100
VWeUp/OBD: skip charge capacity calculation on low SOC difference
commit e7e74e01cb8af87cfcb9fde875d8dbf9210a1603
Author: Michael Balzer
Date: Sat Feb 13 21:10:47 2021 +0100
VWeUp/OBD: refocus DC charge test PID monitoring
commit 96cb54c77939fdde9894f8475ae21b61a3508c06
Author: devmarxx
Date: Sat Feb 13 12:06:10 2021 +0100
Corrected sohfactor from 100 to 1 if 0
Changed:
components/vehicle_vweup/src/vehicle_vweup.cpp
commit 6a33769c697cdd253a30719d755b9704206872b7
Author: Dimitrie78
Date: Sat Feb 13 10:37:35 2021 +0100
Update changes.txt
commit efa6e59666ddbe43018e6b25f0f4f43b584a5ce3
Author: Michael Balzer
Date: Sat Feb 13 09:35:37 2021 +0100
VWeUp/OBD: add log message on PollSetState()
commit 6efab510d84ea9526e5fd05cfbb8ad67afc71d8c
Author: Dimitrie78
Date: Sat Feb 13 09:26:23 2021 +0100
SmartED: fix cabintemp and change automatic set recu
commit 21eb7c5f83442b4fc5ccacea561237ae374cb64d
Author: Stephen Casner
Date: Fri Feb 12 17:28:23 2021 -0800
SSH: Increase NetMan stack by 2K to turn off WOLFSSL_SMALL_STACK
This is a test to see if the 2K increase in base memory footprint
causes trouble for any vehicles.
commit c2211d5e1017cf469256fe6f6b5d3ec9e359e3f8
Author: Peter Harry
Date: Sat Feb 13 10:14:11 2021 +1000
Added new function declaration
commit 592a4ae87c7e4ca999f116feee649e8322de4e18
Author: Peter Harry
Date: Sat Feb 13 10:05:47 2021 +1000
Moved energy calculation code into a new function
commit 1fb83aacb72067e0bfc10d48a9a40ae258a3b145
Author: Michael Balzer
Date: Fri Feb 12 14:09:40 2021 +0100
Location/ServerV2: add GPS detail info to "L" message, add log message
with GPS detail info on flatbed alert
commit 3ed5f3a6df9582a8be2c7d392d4ab466ba091007
Author: Michael Balzer
Date: Thu Feb 11 18:35:36 2021 +0100
VWeUp: move T26 ticker code into T26 module
commit c6911c91432cada337bef46f6a541af46304b5cf
Author: Stephen Casner
Date: Thu Feb 11 08:35:49 2021 -0800
SSH: Enable and capture wolfssl logging in addition to wolfssh
Provide a function to output wolfssl/wolfcrypt log messages through
our log processig, similar to the existing one for wolfssh. This is
effective only if DEBUG_WOLFSSL is configured.
Move the initialization of both wolfssh and wolfssl logging before the
first call into that code.
commit d347ef77d8cf773826c3d19873488a9a3055e7bb
Author: Peter Harry
Date: Thu Feb 11 22:03:07 2021 +1000
Added code to produce energy and coulomb data. Adjusted dashboard scales
commit c9e7e6a379ccfd1028f66e7089336f172c6ebb2e
Author: Dimitrie78
Date: Thu Feb 11 09:27:24 2021 +0100
ZOE: bat temp fix
commit e500abc9a9a4cf6e0148b3da9b8495ffecef543e
Author: Stephen Casner
Date: Thu Feb 11 00:04:23 2021 -0800
Improve accuracy and resolution of log file timestamps
commit 4fd17a5f258d8b434396b3c8edcbd1d97da97091
Author: sharkcow
Date: Wed Feb 10 12:00:18 2021 +0100
VWeUP/OBD: TPMS minor style correction
commit 359ee7298f9a22232e3f6de860210ca5d3564980
Author: Michael Balzer
Date: Wed Feb 10 11:20:59 2021 +0100
Utils: moved math & value precision macros from vehicle to utils.h
commit 51c9146ad5c3e3bf4ba6660cdd5f8b4e1fe87c89
Author: sharkcow
Date: Wed Feb 10 11:05:30 2021 +0100
VWeUP/OBD: TPMS cleanup loops, zero detection
commit 3ab37c2a84c08b7521f5c718c5135d98a5d1ef14
Author: sharkcow
Date: Wed Feb 10 08:44:43 2021 +0100
VWeUP/OBD: TPMS fix alert
commit d5df1eef511df3b5a4b20aa3645747f67990e99d
Author: sharkcow
Date: Tue Feb 9 22:17:49 2021 +0100
VWeUP/OBD: TPMS fix unhandled replies, ignore 0 values
commit 1e79725655bff3d49ed595c9a8997719048a798a
Author: sharkcow
Date: Sun Feb 7 23:57:40 2021 +0100
VWeUP/OBD: TPMS corrections
commit 129c73f5e233c0ea608a91ebbfdf156fb948b911
Author: sharkcow
Date: Sat Feb 6 17:38:26 2021 +0100
VWeUP/OBD: add TPMS metrics
commit 2816c1da5b1ab4c63c2f1422a2b64579383eeb93
Author: Stephen Casner
Date: Tue Feb 9 23:22:39 2021 -0800
Avoid overwritten lines on async console
Output \r\n instead of just \n when the cursor is already in the first
column. This is needed because the python monitor program discards
the bare \n if time has elapsed between the previous \r and that \n.
commit b8ca7bddd4baf8ffd7b9ab393d42eefb20213d45
Author: Mark Webb-Johnson
Date: Wed Feb 10 09:22:40 2021 +0800
Add support for UDPCLIENT can logger
commit 04e1fc7e54c70c9ff8271fac3822d58f5440ed4f
Author: sharkcow
Date: Tue Feb 9 20:19:23 2021 +0100
VWeUP/OBD: rename service notification subtypes
commit 85232ce6979eeaa8e69bbb85179e11e866de0e50
Author: sharkcow
Date: Tue Feb 9 19:40:07 2021 +0100
VWeUP/OBD: set charge duration to 0 on charge stop
commit b4f5e57f54ff4d0436b5d83be2b76850f96ff0e5
Author: sharkcow
Date: Sun Feb 7 23:20:08 2021 +0100
VWeUP/OBD: add service notifications
commit 08cd857f8bf064945b1b3a3372e71b33994ef605
Author: Michael Balzer
Date: Tue Feb 9 18:31:48 2021 +0100
Metrics: lower staleness threshold for GPS data to 10 seconds (from 120)
commit a616c82154f944f7c1b13473f5cccb7fdfae4c1a
Author: Michael Balzer
Date: Tue Feb 9 18:24:22 2021 +0100
Location: fix use of stale park coordinates for flatbed/theft alert,
fix park state detection on boot
commit 791a5bd236e162c4b99b02846fe49da2e9ab8869
Author: Michael Balzer
Date: Tue Feb 9 12:24:10 2021 +0100
VWeUp/OBD: fix continued ChargeCap log entries after charging
commit 81ca745d3989f7e97c42071a60832303ddedd4a6
Author: Michael Balzer
Date: Tue Feb 9 12:07:36 2021 +0100
VWeUp web UI: fix multiple reconfigs, add awake poll interval warning
commit 5b4c35299322e37cee7aca428c7355a8db9698e2
Author: Michael Balzer
Date: Tue Feb 9 12:03:54 2021 +0100
Config: return map copy from GetParamMap() to enable map[key] access
commit 212276b7d2b3de9e6fe767ef2b621a426c7bfc1a
Author: Michael Balzer
Date: Mon Feb 8 17:40:37 2021 +0100
Web UI: prefix page titles with vehicle id
commit d6f27fe45ad80af3815425d7bd1d45f8f0d5574e
Author: Michael Balzer
Date: Mon Feb 8 14:15:04 2021 +0100
Test/string: add execution time output for benchmarks
commit 11d307f1616e5e86a48d49529d9c67ec475bf5ac
Author: Craig Leres
Date: Sun Feb 7 17:56:53 2021 -0800
cadillac_c2_cts: Manage ms_v_env_on to avoid theft/flatbed alert
chevrolet_c6_corvette: Minor formatting changes
commit ba6ea0154263781f7864fc965aa73a0a32769e05
Author: Michael Balzer
Date: Sun Feb 7 23:07:29 2021 +0100
VWeUp/OBD: optional polling & logging of assumed DC charging PIDs
(data acquisition for development)
Enable:
- config set xvu dc_interval 20
- log level verbose v-vweup
Disable:
- config set xvu dc_interval 0
- log level info v-vweup
commit 36e8394a87ec05ba24577a973d62adc62c0eb2ef
Author: Michael Balzer
Date: Sun Feb 7 16:15:33 2021 +0100
VWeUp/OBD: smooth range based capacity, add charge based capacities &
logging of the charge capacity calculations (local/remote) every
5 minutes while charging
Note: these additions are preliminary / for research & development;
data acquisition for battery capacity / SOH estimation
New metrics:
xvu.b.cap.range -- cap from MFD range
xvu.b.cap.chg.ah.norm -- cap from charge coulomb & normalized SOC
xvu.b.cap.chg.ah.abs -- … absolute SOC
xvu.b.cap.chg.kwh.norm -- … charge energy & normalized SOC
xvu.b.cap.chg.kwh.abs -- … absolute SOC
New configs:
xvu log.chargecap.storetime
-- XVU-LOG-ChargeCap hold time, default 0 = disabled
Note: w/o server logging the charge capacities are still logged
locally at info level.
commit 13109cdd6cb09c2ede1b801427787e976e5eb5e4
Author: Michael Balzer
Date: Sun Feb 7 16:04:43 2021 +0100
VWeUp: apply SOH on cac/range init if known
commit 4f15834e0bd338abb858f6cd208f88d3ef46ea65
Author: Chris Staite
Date: Sun Feb 7 14:00:07 2021 +0000
Tidy files and fix default build.
commit 93ed74967a35296d68f3141b06e7ff102345bf00
Author: Stephen Casner
Date: Sat Feb 6 21:54:16 2021 -0800
location: fix to work if parked on prime meridian or equator
commit 5652a0180513f490e5d44bab1d5d3fb6f16c0d32
Author: Peter Harry
Date: Sun Feb 7 08:42:05 2021 +1000
Fixed bug in vehicle_mgev.cpp. Stopping compile
commit d200cecb1d0360f7b221979a8e6db80aa0a0c567
Author: Michael Balzer
Date: Sat Feb 6 13:27:51 2021 +0100
Time: fix m.time.utc only being set from GPS / Tesla Roadster,
fix Roadster not acting as a regular time provider
commit 5cb1d135ddad5503eca423f6467186f9f3e7c09c
Author: Peter Harry
Date: Sat Feb 6 22:07:35 2021 +1000
Added mg_web.cpp to change dasboard guages and BMS Cell Monitor
commit ed07a0df32f7c7b543c28af21712a0c1e0427c55
Author: Michael Balzer
Date: Sat Feb 6 08:59:53 2021 +0100
Server V2: fix status ('S') update on ms_v_charge_kwh change
commit 11dc9fec5b0afaa7ede2d2db30ec00f5cf01493d
Author: Stephen Casner
Date: Fri Feb 5 21:43:04 2021 -0800
config: provide more help about password for restore
commit 33599b827c7a21b94b12eb62b6e7e0a37443a6ca
Author: Peter Harry
Date: Sat Feb 6 08:57:42 2021 +1000
poll_pid_t code modified for updated declaration
commit 84abbaf7aa757396318d4d3cbffa6434626ca966
Author: Stephen Casner
Date: Fri Feb 5 13:12:58 2021 -0800
changes: Added note about wolfssh update
commit 95b48bd6b10518f0ed825557464bd5fffef4c608
Author: Peter Harry
Date: Fri Feb 5 15:22:35 2021 +1000
Added code to calculate ms_v_charge_kwh
commit 9ed5e00c8e8d68bf2f483377ac820a25b5c7afea
Author: Peter Harry
Date: Fri Feb 5 15:14:01 2021 +1000
Added code to calculate ms_v_charge_kwh
commit 477ba44a6948ddc8120bcb7af9a023b98df1fa5f
Author: Michael Balzer
Date: Thu Feb 4 22:12:42 2021 +0100
Server V2: add priority TPMS update on alert
commit 74af49b7332985b841ab27456eefb6ab01ba40c9
Author: Michael Balzer
Date: Thu Feb 4 22:11:56 2021 +0100
Metrics: fix downsizing vectors
commit 08c53c2b0870ac639c22cfa7be487a2319e07b9c
Author: Michael Balzer
Date: Tue Feb 2 23:22:59 2021 +0100
RE PID scanner: wait for pending responses
commit 541150c94888dc02d4ddb81966145cd6ae2df7b6
Author: Michael Balzer
Date: Mon Feb 1 22:30:36 2021 +0100
BMS: optional cell voltage & temperature logging
New configs:
[vehicle] bms.log.voltage.interval Interval [s] for cell voltage logging, default 0=disable
[vehicle] bms.log.temp.interval Interval [s] for cell temperature logging, default 0=disable
commit 98c2e9ffb8e736573f2b707c3fd3fc3b3b3c132b
Author: Michael Balzer
Date: Mon Feb 1 22:27:29 2021 +0100
BMS: detection of inconsistent voltage series by gradient & stddev average deviation
thresholds, added pack metrics to battery monitor web UI, change cell warning & alert
thresholds to be applied exceeding stddev level
New metrics:
v.b.p.voltage.grad Cell voltage - gradient of current series [V]
New configs:
[vehicle] bms.dev.voltage.maxgrad Max gradient for a valid series
[vehicle] bms.dev.voltage.maxsddev Max stddev deviation from average for valid series
commit 9b5e2d4ead729416e8c36ea7865d059995ead760
Author: Michael Balzer
Date: Mon Feb 1 22:09:21 2021 +0100
Vehicle/BMS: fix voltage stddev max reset
commit f50126e8d82b774a41ddbb616928456dd5cb5734
Author: Michael Balzer
Date: Mon Feb 1 22:07:38 2021 +0100
Vehicle/BMS: move remaining BMS code into module
commit 21eebacc4f2c87445b3b939f8cd6c7a9b1747960
Author: Michael Balzer
Date: Mon Feb 1 21:59:46 2021 +0100
Web framework: add scaling for number & progress metrics
commit ec1c6abe4a810ed6d418623fce13cc24f9eb8389
Author: Mike Abbott
Date: Mon Feb 1 22:22:12 2021 +0000
Updated MGEV docs
commit c2569921f814ffe78d768d6265e5207cb5437c3a
Author: devmarxx
Date: Mon Feb 1 10:16:36 2021 +0100
Reset 12v boost counter when charging 12v
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vehicle_vweup.cpp
vehicle/OVMS.V3/components/vehicle_vweup/src/vehicle_vweup.h
commit b21e79cd6c06becf423dbb7ca36977b9965d8ea6
Author: devmarxx
Date: Sun Jan 31 22:18:11 2021 +0100
Fixed buf in turning off polling activity by T26
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vehicle_vweup.cpp
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit e5f8110e8447739d5d12ca0b6bf4959a8962b388
Author: Craig Leres
Date: Sun Jan 31 10:38:21 2021 -0800
Drive -mfix-esp32-psram-cache-issue from the CONFIG_SPIRAM_CACHE_WORKAROUND define
commit 59376a78eababb3d2aeaabfd6f7c2094c921b142
Author: devmarxx
Date: Sun Jan 31 16:04:37 2021 +0100
Corrected wrong 12v current detector for T26/OBD communication
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vehicle_vweup.cpp
vehicle/OVMS.V3/components/vehicle_vweup/src/vehicle_vweup.h
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit df6499822680390fb94f6623071d3b6806f25629
Author: devmarxx
Date: Sat Jan 30 23:02:29 2021 +0100
Optimizing T26 ring communication to OBD
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vehicle_vweup.cpp
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 6e5b9e89d6585c1cfc65f9611cdd067f7e67d714
Author: devmarxx
Date: Sat Jan 30 09:44:47 2021 +0100
Better to call it t26_ring_awake
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vehicle_vweup.cpp
vehicle/OVMS.V3/components/vehicle_vweup/src/vehicle_vweup.h
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 58993f561b71ee9f5f89819fb7ee3cc32ee76864
Author: devmarxx
Date: Sat Jan 30 09:00:49 2021 +0100
Introduced t26_car_awake
Changed
vehicle/OVMS.V3/components/vehicle_vweup/src/vehicle_vweup.cpp
vehicle/OVMS.V3/components/vehicle_vweup/src/vehicle_vweup.h
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 1d7766b3d7184b9a047b0263d9f7415cb5ce89c1
Author: Michael Balzer
Date: Fri Jan 29 22:42:02 2021 +0100
Web UI: link to logs directory with sorting by name
commit 4a2a5202b5593c557256a3ad81d3fb372186a8da
Author: Michael Balzer
Date: Fri Jan 29 22:35:28 2021 +0100
VWeUp: fix charge state delay with OBD+T26
commit 33d4a10dd79e6b9cddc4025dc3f9fd571d323d00
Author: Michael Balzer
Date: Fri Jan 29 22:34:34 2021 +0100
VWeUp: reset power & current metrics on switch-off
commit d778d5de3423f749524ab225997b50c0b5805c59
Author: devmarxx
Date: Fri Jan 29 14:48:55 2021 +0100
Rewrite 12v charging off detection for T26
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vehicle_vweup.cpp
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 1f42d86c22e9b1d488c4d3c28d8ebb4acb62e5df
Author: devmarxx
Date: Fri Jan 29 08:21:47 2021 +0100
Some minor tweaks on 12v communication from T26 to OBD
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 3131bae5d3af472a49ecef31a54696ee1fb2a1e9
Author: devmarxx
Date: Thu Jan 28 11:55:22 2021 +0100
Optimized communication on 12v between T26 and OBD
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 04ce1c6850b1f35a80e13424af35e6a2ba2213b7
Author: devmarxx
Date: Thu Jan 28 09:19:02 2021 +0100
Added 12v boost detection by T26 combined with PollSetState for OBD
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vehicle_vweup.h
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit f40125b463998233b4ef30d66b770193f2a3efb8
Author: Stephen Casner
Date: Wed Jan 27 17:26:55 2021 -0800
NetMan: Reduce stack size back to 8K
commit 1c2b203f4f4a31db7f4292a4222270bd39581141
Author: Stephen Casner
Date: Wed Jan 27 17:21:55 2021 -0800
wolfssl: Use heap allocations instead of stack variables
commit e93d5b4755ca6c0f7bd9b02da0490af9f287abea
Author: Michael Balzer
Date: Sun Jan 24 11:49:41 2021 +0100
SSH: raise stack size of RSAKeyGen for new Wolf version
commit adc00e82be04f93749c642c1965feb1260bfe4cf
Author: Stephen Casner
Date: Sat Jan 23 21:10:53 2021 -0800
New SSH code requires more stack space in NetMan
commit 98b6de4fecf1e5aad384856384aee73ea4889300
Author: Stephen Casner
Date: Sat Jan 23 21:04:46 2021 -0800
Adapt SSH for API changes in wolfssh, wolfssl
- wolfssh no longer includes its own dynamic memory functions and
instead uses those in wolfssl, so we remove the separate callback
functions here. Also move the installation of the wolfssl callback
functions earler to cover the SSH server allocations.
- Needed to move wolfSSH_Debugging_ON() earlier while testing the
revised APIs. It has no effect when DEBUG_WOLFSSH is not defined.
- The signature for the authentication callback function removed const
from the data argument.
- wolfSSH_stream_read() was changed to always return the generic code
WS_ERROR on errors and to require calling wolfSSH_get_error() to get
the more specific error code.
- wolfssh added more lower-priority levels for logging conditions in
their newly added application code for SCP, SFTP and AGENT that we
don't use yet; for now map them same as ERROR.
commit 9da62514783a26fab15c3cf6d17927edc0ef4dde
Author: Stephen Casner
Date: Sat Jan 23 19:00:46 2021 -0800
Update wolfssh and wolfssl build configurations
- wolfssh no longer includes its own dynamic memory functions and
instead uses those in wolfssl, to memory.c is eliminated.
- wolfssl/wolfcrypt/src/async.c was removed.
- wolfcrypt now implements support for hardware crypto acceleration in
the ESP32 chip, so we need to add the source files in
wolfcrypt/src/port/Espressif and the resulting object files, plus
configuration macros WOLFSSL_ESPIDF and WOLFSSL_ESPWROOM32 to
include the feature.
- A new macro WOLFSSH_LOG_PRINTF avoids a patch that I needed to make
in wolfssh 1.1.0 to replace fprintf(stdout) with printf to avoid a
compilation error.
- Per a note in wolfssh/src/internal.c we need to define macro
HAVE_WC_ECC_SET_RNG since we are not building with configure.
commit 60a4d00ae8fb7bb65f3f90f55733cfd8b6777427
Author: Stephen Casner
Date: Sat Jan 23 18:34:24 2021 -0800
Avoid defining XREALLOC for FREERTOS if XMALLOC_USER is defined
This appears to be a bug in the maze of configuration settings for
WolfSSL. I have submitted a support request to WolfSSL about it.
We need to define XMALLOC_USER along with the desired implementations
of XMALLOC, XFREE and XREALLOC so that we can install our own
functions as callbacks for the three operations. Without this change
there is a compilation conflict for XREALLOC.
commit 7ed98e93c84bd8229893bf4fee2ced1bbf8a1a44
Author: Stephen Casner
Date: Sat Jan 23 17:58:17 2021 -0800
Import WolfSSH v1.4.5 and WolfSSL v4.6.0 source files.
commit 86a2ddea6074ae82cdb487bd77eaedd0801ea517
Author: devmarxx
Date: Wed Jan 27 10:56:08 2021 +0100
Consider CHARGING prio for PollSetState also in the ring
commit 92b424bfb2e84118cde40d21c3aa3a0ec3ac092a
Author: devmarxx
Date: Wed Jan 27 10:43:10 2021 +0100
Considering prio CHARGING for PollSetState
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 7588bbfb090f6b5fbd2060eaa6977f82dcc92e61
Author: Michael Balzer
Date: Tue Jan 26 22:52:20 2021 +0100
Docs: add web framework metric table example
commit d6cf3a00ea944178588ada205ae0199fc198e0cf
Author: Michael Balzer
Date: Tue Jan 26 22:51:38 2021 +0100
Web framework: fix metric table widget data updates
commit 56e9deccebb8ad39d05870db9607ff5a20c8e9cb
Author: devmarxx
Date: Tue Jan 26 21:20:44 2021 +0100
Corrected poll_state to on when charging off with ignition on
Changed
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 56d58c43c8788dda0d11e94d25134ad1dfe0f600
Author: devmarxx
Date: Tue Jan 26 20:32:27 2021 +0100
Corrected poll_status off after charging with ignition on
Changed
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 344091141c5a748973cc35121de573c9010cc2c6
Author: Alexander Kiiashko
Date: Tue Jan 26 20:51:44 2021 +0200
VA: terminate BMS updating with ignition or preheating
commit 146a8a61372b3beaa973bd472b5e431595cd9278
Author: devmarxx
Date: Tue Jan 26 16:20:01 2021 +0100
Bugfix charging12v
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit ffe8ac0616dd952794a87f81d3c9563eff48a3b6
Author: Steve Davies
Date: Tue Jan 26 14:44:18 2021 +0200
Saw a rogue and nonsense SOC% - so check them for sanity.
commit 663f366be7115ddf0d7161bf40a97c0c01243386
Author: devmarxx
Date: Tue Jan 26 13:02:27 2021 +0100
Corrected charging12v false while pre-heating with turning ignition on
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 48de1da1575bd3cdb2a2d86ef4b18d8b5e31a647
Author: Stephen Casner
Date: Mon Jan 25 17:32:04 2021 -0800
location: don't activate homelink if parked
commit fee0b43b3501a9878a9f3b7c4e55f71cd2cb29e7
Author: Stephen Casner
Date: Mon Jan 25 13:55:27 2021 -0800
Add CONFIG_OVMS_DEV_SECUREASYNC
commit 7e98f4470beb8125fbf6127ee95610f43c29d602
Author: Michael Balzer
Date: Mon Jan 25 19:17:41 2021 +0100
Events: add automatic events on v.e.aux12v changes
New events:
vehicle.aux.12v.on
vehicle.aux.12v.off
commit 38f1d81d6ddb389fffbc859c66eab36583f32abe
Author: Michael Balzer
Date: Mon Jan 25 19:15:15 2021 +0100
VoltAmpera: silence web module warning
commit 7efbf33da021ffeb0382701d9b5bad59155a433a
Author: Michael Balzer
Date: Mon Jan 25 17:33:33 2021 +0100
Docs: add CAN logging optimization hints
commit 8d6fe8c8c110a30e0f8440697c0ea73212c77aab
Author: Stephen Casner
Date: Sun Jan 24 17:18:37 2021 -0800
Update default config for OVMS v3.0
Further adjustments are likely required to get a system that fits in
memory and serves a particular development purpose.
commit f9555a18af10471ecea8d97c576715858799fdff
Author: Michael Balzer
Date: Sun Jan 24 16:57:45 2021 +0100
Notifications: added optional long term trip & grid (charge/generator session) server logs.
See https://docs.openvehicles.com/en/latest/userguide/notifications.html for details.
New configs:
[notify] log.trip.storetime Trip log storage time in days, 0/empty = off (default)
[notify] log.trip.minlength … minimum trip length in km, default 0.2 km
[notify] log.grid.storetime Grid log storage time in days, 0/empty = off (default)
commit efab6923f25ccd19c0f16de2df80f5064d62e25a
Author: Michael Balzer
Date: Sun Jan 24 11:49:41 2021 +0100
SSH: raise stack size of RSAKeyGen for new Wolf version
commit aa3c357708be76de3dbd93110669928721f8ef7b
Author: Michael Balzer
Date: Sun Jan 24 11:08:39 2021 +0100
Server V2: add aux12v state to msg D doors5
commit c2fa3408a6e75593ef767539d0b129f133bea626
Author: Stephen Casner
Date: Sat Jan 23 23:25:36 2021 -0800
Additional code needed #ifdef CONFIG_OVMS_COMP_MAX7317
commit c00a49d8519514e8d8e35241ce45e2fabba7536b
Author: Stephen Casner
Date: Sat Jan 23 21:10:53 2021 -0800
New SSH code requires more stack space in NetMan
commit fa4ac6fbd9324ca7ba5db4b88e312505fad0daac
Author: Stephen Casner
Date: Sat Jan 23 21:04:46 2021 -0800
Adapt SSH for API changes in wolfssh, wolfssl
- wolfssh no longer includes its own dynamic memory functions and
instead uses those in wolfssl, so we remove the separate callback
functions here. Also move the installation of the wolfssl callback
functions earler to cover the SSH server allocations.
- Needed to move wolfSSH_Debugging_ON() earlier while testing the
revised APIs. It has no effect when DEBUG_WOLFSSH is not defined.
- The signature for the authentication callback function removed const
from the data argument.
- wolfSSH_stream_read() was changed to always return the generic code
WS_ERROR on errors and to require calling wolfSSH_get_error() to get
the more specific error code.
- wolfssh added more lower-priority levels for logging conditions in
their newly added application code for SCP, SFTP and AGENT that we
don't use yet; for now map them same as ERROR.
commit 91593614e61716435e035a735db9e7b18a528e95
Author: Stephen Casner
Date: Sat Jan 23 19:00:46 2021 -0800
Update wolfssh and wolfssl build configurations
- wolfssh no longer includes its own dynamic memory functions and
instead uses those in wolfssl, to memory.c is eliminated.
- wolfssl/wolfcrypt/src/async.c was removed.
- wolfcrypt now implements support for hardware crypto acceleration in
the ESP32 chip, so we need to add the source files in
wolfcrypt/src/port/Espressif and the resulting object files, plus
configuration macros WOLFSSL_ESPIDF and WOLFSSL_ESPWROOM32 to
include the feature.
- A new macro WOLFSSH_LOG_PRINTF avoids a patch that I needed to make
in wolfssh 1.1.0 to replace fprintf(stdout) with printf to avoid a
compilation error.
- Per a note in wolfssh/src/internal.c we need to define macro
HAVE_WC_ECC_SET_RNG since we are not building with configure.
commit f09907b9f04823267bb481496f3acc0c92381639
Author: Stephen Casner
Date: Sat Jan 23 18:34:24 2021 -0800
Avoid defining XREALLOC for FREERTOS if XMALLOC_USER is defined
This appears to be a bug in the maze of configuration settings for
WolfSSL. I have submitted a support request to WolfSSL about it.
We need to define XMALLOC_USER along with the desired implementations
of XMALLOC, XFREE and XREALLOC so that we can install our own
functions as callbacks for the three operations. Without this change
there is a compilation conflict for XREALLOC.
commit 05074e4eba5a6db9b5ca9ff9cc4a6c5c73d84afb
Author: Stephen Casner
Date: Sat Jan 23 17:58:17 2021 -0800
Import WolfSSH v1.4.5 and WolfSSL v4.6.0 source files.
commit c3f54d13d78a9add556025d651f86791ced7e410
Author: Mike Abbott
Date: Sat Jan 23 21:55:10 2021 +0000
Catch state change when exiting SO
commit db9b33678d4bba6fe56c6ff0ef42f54ad3f0428b
Author: Michael Balzer
Date: Sat Jan 23 16:48:40 2021 +0100
VWeUp/OBD: T26 has state precedence if available
commit 1fe739f8614ffa113dc87a42d0256508d67fedb9
Author: Michael Balzer
Date: Sat Jan 23 14:28:38 2021 +0100
VWeUp/OBD: vehicle state detection rework;
- based on CAN bus state & ECU BD HV charge management PIDs 1DEC & 1DD6
- fast state detection & transition
- detect vehicle awake (aux12v) state
- detect charging 12v state
- detect ignition state
- keep charge port set until next ignition state
- added two developer RE/debugging web plugins
commit cf2011a07fa075e7b8640976c438b97549c22c55
Author: Michael Balzer
Date: Sat Jan 23 14:22:56 2021 +0100
Vehicle/PollSingle: set default timeout to 100ms to minimize impact
commit 357777a03309105411a6c0b57710f0c983c1f0f2
Author: Michael Balzer
Date: Sat Jan 23 14:13:13 2021 +0100
CAN: add bus error state query methods, fix tx/rx error counters in bus-off
commit 592fb90c21476bc2e05e73192030fe4cf58cf8fe
Author: Michael Balzer
Date: Sat Jan 23 14:12:23 2021 +0100
Vehicle: "stat" output optimization for charge status
commit bfa071d57f5e9422d8524cf03387e0b527658373
Author: Michael Balzer
Date: Sat Jan 23 10:05:36 2021 +0100
Metrics: init utils preserve persistent values
commit 87c47db58021e81f59059e420dfa45b50a3bc77e
Author: Michael Balzer
Date: Fri Jan 22 22:31:17 2021 +0100
Vehicle/Poller: new PollerStateTicker() method to hook into ticker
just before next PollerSend() execution
commit 33bb2a5e0152e949da523221d988bc5cb1c0b868
Author: Michael Balzer
Date: Fri Jan 22 22:29:37 2021 +0100
VWeUp/OBD: calculate energy drawn from grid
commit 171957f5ed41df77d46991c7d7cfc4dd3d047777
Author: Michael Balzer
Date: Fri Jan 22 22:23:19 2021 +0100
Vehicle: add charge energy sums to default "stat" command output
commit 9723ca30788163781858ad78cec78c016b844d0b
Author: Michael Balzer
Date: Wed Jan 20 20:42:07 2021 +0100
Metrics: add IsPersist() & IsFresh() methods + explanation
commit a7cfa0db17214df77f8faedc59e7e2c0c883b1f8
Author: Michael Balzer
Date: Wed Jan 20 19:03:27 2021 +0100
Metrics: make main & 12V battery voltage persistent
commit 3ba7451bae1d067f144c26757d4ff586b5eef055
Author: Steve Davies
Date: Sat Jan 23 13:18:47 2021 +0200
Add server.v3 updatetime.on, .charging, .awake and .sendall to the config gui
commit 8e071d64e8baf6f3bd8b38ab8fe1aec271bd87f0
Author: Steve Davies
Date: Sat Jan 23 12:33:49 2021 +0200
Explanation of new server.v3 config items
commit 3a44d55f00c3d6db9b0965ed98a05052c012e794
Author: Steve Davies
Date: Fri Jan 22 19:46:30 2021 +0200
Tweaks to the v3 server:
- When sending all metrics we don't send those with no value.
Helps ensure we only feed valid data
- New updatetimes. If they are not set they all use updatetime.idle
so behaviour doesn't change unless you set these:
updatetime.charging: update interval to use when the car is charging
updatetime.on: update interval to use when the car is on
updatetime.sendall: set this and all metrics will be sent at this interval
this is helpful for charting to make sure there are regular data points.
commit 9943ad4e4e55ed06b600245ac59c99813b512599
Author: devmarxx
Date: Tue Jan 19 23:56:01 2021 +0100
Corrected 12v metrics
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit 9fde18324c51d1f4e1d6e5155cd51c13796d40e1
Author: devmarxx
Date: Tue Jan 19 23:28:21 2021 +0100
Added correct 12v metrics
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_t26.cpp
commit b0ec369b89c509c827880758ebcfa443b7576030
Author: Dimitrie78
Date: Mon Jan 18 19:16:03 2021 +0100
ZOE: add BMS Cell Volts/Temps
commit 079a6f6f3d886e0acceb8fd7a1e801ca3d0d94f1
Author: Dimitrie78
Date: Mon Jan 18 19:14:46 2021 +0100
ZOE: fix Wakup canbus
commit b58ec184e459bf7418bf328b3dac8346ae69a5bc
Author: Steve Davies
Date: Mon Jan 18 17:23:59 2021 +0200
Tweak polling intervals
commit 0d3f167f4d2fd49ebd904b4acbe3ba2477baaa9f
Author: Michael Balzer
Date: Sun Jan 17 22:57:34 2021 +0100
BMW i3: fix changed OvmsMetricString constructor signature
commit 2c531b390e61c8421064621b63933a115f2cbb1b
Author: Michael Balzer
Date: Sun Jan 17 18:37:29 2021 +0100
Metrics: new standard metrics for grid integration / generator role,
extended persistence to most state & counter metrics
commit 220616927e89f0109952c9056dc3f95b93c7e9fc
Author: Michael Balzer
Date: Sun Jan 17 18:15:07 2021 +0100
TPMS: rework metrics into vectors, MP "Y" message, alert notification
commit 2aab7f707cee23f940ffa05b755132880f358955
Author: Michael Balzer
Date: Sun Jan 17 17:42:39 2021 +0100
Metrics: vector unit conversion & element string formatting
commit 86e7e62a9bfb6d50c45590fbfc161d79b4b7cd9e
Author: Michael Balzer
Date: Sun Jan 17 17:41:45 2021 +0100
Metrics: fix false staleness immediately after boot
commit b737ddf435a1c0a2401baaf0e7b1acead0893f63
Author: Michael Balzer
Date: Sun Jan 17 09:51:53 2021 +0100
Metrics: optimized descriptions for system states
commit e43f3a644fd148985d4847bc5b507ad82518ebab
Author: Michael Balzer
Date: Sun Jan 17 09:49:08 2021 +0100
Location: restore position from persistent metrics
commit 67805b402b33194cd2c1b1f6e9df3f0f20c6b44c
Author: Michael Balzer
Date: Sun Jan 17 09:48:33 2021 +0100
Metric: persistence added for all primary vehicle state metrics
commit 6759584577bdab475f1c2d3a720f5087ad831249
Author: Michael Balzer
Date: Sun Jan 17 09:44:47 2021 +0100
Metrics: persistence support for OvmsMetricVector
commit 04a4290a94c7868b768c5696a10f7f19a88e61af
Author: Michael Balzer
Date: Sat Jan 16 17:09:43 2021 +0100
Metrics: optimize persistent storage structure, support persistence
for OvmsMetricInt & OvmsMetricBool, code cleanup
commit 0f492c34b47ba376a54f04aff48650f6141f8402
Author: Steve Davies
Date: Sun Jan 17 19:34:23 2021 +0200
Correct the v.e.awake and v.e.on behaviour.
New logic is vehicle is "awake" when it has been turned on by user
Vehicle is "on" when ready to drive
(we say - awake and in gear - perhaps we can do better later)
commit a417a64c0571bec6a1027162fbe7b43abcdaa590
Author: Steve Davies
Date: Sun Jan 17 18:13:26 2021 +0200
rename obdtraffic metric to obdisalive
commit ffed8b2f3e3ef6ed0a72fd163466337c71c912af
Author: Steve Davies
Date: Sun Jan 17 18:10:19 2021 +0200
When creating out private metrics don't set an initial value
This avoids that they are published with unreasonable 0 values etc -
rather wait until we have a value from the car
commit 32e4cb0bb85fbb951f21695c49892300b53e82ce
Author: Dimitrie78
Date: Sun Jan 17 14:42:36 2021 +0100
SmartED: add drivemode for Brabus
commit 6c697d623a91ac1d51f242d3a5e79ad357349ce5
Author: Steve Davies
Date: Sun Jan 17 15:22:14 2021 +0200
When charger is inactive state must be empty string, not "idle"
commit 1f9b1e00b369221415eb5a6f2423104d437f6960
Author: Steve Davies
Date: Sun Jan 17 15:10:05 2021 +0200
Tame the amount of logging by moving the dump of incoming OBD data to verbose only
commit 5e1f049ce9947acd4006c3dfcaa4a8647a79a223
Author: Steve Davies
Date: Sun Jan 17 15:09:17 2021 +0200
Save a comment found on Bimmerfest about a possible way to wake up the IBD gateway
commit 1a698cc59153bbd79f32b7a330be737409647aa5
Author: Alexander Kiiashko
Date: Sat Jan 16 14:32:50 2021 +0200
VA: avoiding analyze outdated and new BMS values simultaneously
commit 35caf7c28f4e2614821ed38e8c4cbd11e1c6ac89
Author: Michael Balzer
Date: Sat Jan 16 09:07:45 2021 +0100
Plugin Edimax: fix power state upper case
commit 0b203c3b22bc6786593d8ce1eaacff3304965809
Author: Michael Balzer
Date: Fri Jan 15 19:27:14 2021 +0100
VWeUp/T26: fix SOC
commit 5d481745e4921e62d11114d4f29b19879c596e5a
Author: Michael Balzer
Date: Fri Jan 15 17:16:18 2021 +0100
VWeUp: add coulomb counters, fix trip/charge reference points,
fix OBD reinitialization, extend web charge status
commit 2f22268e2a7c4370da700c9cca1ab2722321e3fb
Author: Michael Balzer
Date: Thu Jan 14 20:42:39 2021 +0100
VWeUp: fix trip recovered energy sum
commit 4ad2451fc0f7f0ea084c096d74303f539f66777c
Author: Michael Balzer
Date: Thu Jan 14 20:35:06 2021 +0100
VWeUp: odo/energy reference member variable name consistency
commit 8897d3fd5549d2ce36e7a86e2bcfc9d9b0b8bb72
Author: Mike Abbott
Date: Thu Jan 14 11:46:48 2021 +0000
Updated charge threshold to 12.9V
commit bb72fe0b16a080260a015b19e10979fc54db377a
Author: Michael Balzer
Date: Thu Jan 14 12:16:01 2021 +0100
Web UI: filter clock events from live status box
commit 31765dd9da6c95a44a0856a396caf1ef4cbfd1ba
Author: Michael Balzer
Date: Thu Jan 14 11:52:16 2021 +0100
VWeUp: fix switching OBD/T26 connection availability
commit 9a108e2b6cda7e10b84caebfc4421256452aef34
Author: Michael Balzer
Date: Thu Jan 14 11:39:57 2021 +0100
VWeUp: cleanup class structure, remove legacy members
commit 609efee97b1a5af71783783f488091afc1c9c3e7
Author: Michael Balzer
Date: Thu Jan 14 11:38:34 2021 +0100
VWeUp: fix OBD subsystem initialization
commit 36a4aaed3176f9c2ebc663bbf916ec667c1d31d8
Author: devmarxx
Date: Thu Jan 14 00:06:25 2021 +0100
Fixed typo
commit cc5641e6c0314ee0719038b3976d68495d0397d0
Author: devmarxx
Date: Thu Jan 14 00:01:49 2021 +0100
Added some documentation on cable confectioning
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/docs/index.rst
commit 232fd09192323d7c1ccb37c4faefe1f8582fc245
Author: Michael Balzer
Date: Wed Jan 13 21:34:13 2021 +0100
VWeUp/OBD: calculate CAC & SOH from battery energy (SOH ~ CAC),
base full & ideal ranges on these
commit 5ea0ffa7123bbc6390e45015f9cad8a486ccf81e
Author: Michael Balzer
Date: Wed Jan 13 21:33:47 2021 +0100
VWeUp: don't set estimated range from OBD if T26 is available
commit 50e8c2e461a58e768fd63fee652f14a6538980dd
Author: Michael Balzer
Date: Wed Jan 13 21:15:57 2021 +0100
VWeUp: connector check abstraction
commit 4bb00ed09a88d869614f2d196bb5643467f1d4c9
Author: Michael Balzer
Date: Wed Jan 13 19:34:52 2021 +0100
VWeUp/OBD: fix polling of unavailable devices
commit 4fc2773f0c845ad17eff677f6f6c8e38451daf7d
Author: Michael Balzer
Date: Wed Jan 13 18:28:27 2021 +0100
VWeUp/OBD: add estimated range
commit 7ef158ea7d6d997793761b450822d2a31a24b078
Author: Michael Balzer
Date: Wed Jan 13 18:26:44 2021 +0100
VWeUp: use charger temperature at cooler, ambient temperature n/a charging
commit b6f21b2d20076493115b024d3ba62792d7fc6b61
Author: Mike Abbott
Date: Wed Jan 13 16:51:44 2021 +0000
Fixed minor issue when changing vehicle types
Fixed a small issue which could happen if the vehicle type was changed when the car was running leading to unknown vehicle state condition.
commit 240fdd228fda9aa375cbc735d541255d1165c95f
Author: Michael Balzer
Date: Wed Jan 13 17:16:21 2021 +0100
RE PID scan: add scan info to status & stop output
commit 81be8ebe5a301cda45f6bee3ea645443be2d43ca
Author: Michael Balzer
Date: Wed Jan 13 17:15:48 2021 +0100
OBD shell request: add request info to output
commit 361508b3633021842a8d35e1d76c99c00a2308d7
Author: Michael Balzer
Date: Wed Jan 13 17:14:33 2021 +0100
Script: fix last/single command not being executed if LF is missing
commit 0da11cbe712ff149fa838b584c2656f33141f132
Author: devmarxx
Date: Wed Jan 13 16:32:47 2021 +0100
Pre-heating temp setting by slider in web ui
Changed:
vehicle/OVMS.V3/components/vehicle_vweup/docs/cc.png
vehicle/OVMS.V3/components/vehicle_vweup/docs/index_t26.rst
vehicle/OVMS.V3/components/vehicle_vweup/src/vweup_web.cpp
commit 65aa875692013a1951c2529c50600274542c0145
Author: Mike Abbott
Date: Mon Jan 11 22:13:16 2021 +0000
Disabled running notification added ideal range
commit b272a9e7845efcc4a9df8b80eb037f9c6bec3b7c
Author: Mike Abbott
Date: Mon Dec 14 21:38:26 2020 +0000
Attempt fix for CCS charging
Issues with CCS and new BMS state found, logic added and untested.
Added improved logging anf monitoring of packet count before zombie override.
commit f6e4bb06d1d7b115c17ec9e1a18fb5f8e65dabfc
Author: Mike Abbott
Date: Fri Dec 11 15:37:42 2020 +0000
Added CCS override and battery power metric
Battery power metric added
CCS now should set vehicle charging from battery current only but this is untested
commit f0e591182473714ecf8dee7f49d4ebec77de8687
Author: Mike Abbott
Date: Sat Nov 28 20:57:11 2020 +0000
Completed initial testing and Zombie mode Working
Completed initial tests all appears to work well will test for a week and pull to main branch if no issues seen
commit 75ce807825dd724eaa0ba6b1d67a83c0a500e4b2
Author: Mike Abbott
Date: Mon Nov 23 13:35:49 2020 +0000
Fixes but zombie mode still inop
Fixed a few issues but the zombie mode still not working, car immediately goes into PollStateRunning when it should sit back until ignition status is known
commit 572ec213d81b6896341a3e06d45e9f8c347db6c9
Author: Mike Abbott
Date: Mon Nov 23 09:37:59 2020 +0000
Completely Rewritten Wake Logic (untested)
Rewrote all wake logic around the 12V, not tested yet on vehicle
commit 381f4047493d0f91eccc87ae87f432c8de2e0b53
Author: Michael Balzer
Date: Mon Jan 11 20:06:49 2021 +0100
VWeUp: ignore shutdown value on charge duration estimation
commit 56ef187d5e7ef4e5ff701446d5fda4627c46eb72
Author: Steve Davies
Date: Mon Jan 11 18:06:08 2021 +0200
Little more info about the car OBD behaviour whilst charging
(since looks like the car wakes up every 30 minutes in my test with
a low power charge).
commit 70cff2b6643e4b2ff3f14bed4897d5b2d28fd2a0
Author: Michael Balzer
Date: Mon Jan 11 08:13:02 2021 +0100
Events: don't log clock.* signals
commit 6c68ebaae196a80797b957e88f10fb0e1ac91b0b
Author: Steve Davies