3.2.005-208-g72268a97 OTA build Thu Nov 21 13:58:14 CET 2019 See ovms3.log for details 0bd7ab7e ESP32CAN: simplified FIFO reset (doesn't need a full controller reinit) e58c8766 MAX7317: fix reading inputs (w/o setting output port 0 to level 0) 0260707f Logging: configurable log file flush/sync period & mode 6e40e60d 12V Monitor: web UI calibration aid & configuration, doc update 44a82735 12V Monitor: use maximum of configured and measured reference for alerts to avoid missing alerts from slowly degrading measured reference 19630403 MAX7317: add debug logs for events to capture real time f84837a2 Server V2 & V3: fix registration for notifications on restart 4654aef3 MAX7317: port input monitoring, metrics, events, documentation 8309f052 OvmsMetricBitset: added start position parameter (for string representation) c6414daf Utils: added OvmsTimer (FreeRTOS timer wrapper class) eb223099 CAN: generally log error events to syslog 640adcaa Websocket handler: log job queue drops incrementally 926478ab Scripting API: OvmsMetrics.AsJSON() added 40c62e6b Zoe: update changes.txt 00c51f5c SmartED: add webpage to disable trip notifys 62177f1d SmartED: add doc descriptions be97c1fd Zoe: add custom stats 350f5f10 ESP32CAN: RX process rework #2 based on single step test results ae700d45 CAN framework: add error resolving reset counter to stats 9af31240 Revert "ESP32CAN: RX handling rework according to new Espressif infos" 9b1ed243 Revert "ESP32CAN: clear data overrun also if it occurs without IRQ_RX" 987cbbb7 GPS week number rollover on SIM5360 #284 addendum 1a4364f5 GPS week number rollover on SIM5360 #284 7b6b8616 ESP32CAN: clear data overrun also if it occurs without IRQ_RX 14d06659 Module task report: sample current activity if last status is too old 88cfeef9 Logging: file logging moved to dedicated task (improved performance) 5981809a Webserver: remove obsolete mutex code 0ee540b3 Webserver: fix log recursion causing stack overflows & revert unnecessary SIMCOM stack change, fix log memory leak 52ed4b88 Boot: fix type conversion warning c32f8000 Webserver: add logging via websocket stream / web shell 11526c3f SIMCOM: raising stack size from 4K to 6K to avoid crashes a624b08b Boot/Crash debug: clear unused backtrace fields c6c7d938 ESP32CAN: RX handling rework according to new Espressif infos a49c2d99 Peripherals: ISR IRAM optimization a86dcb12 Docs: added standard metrics 3e937a9e MCP2515 CAN: ISR in IRAM, yield if higher priority task woken f7aecc2d ESP32CAN: SJA1000 hardware bug workaround (trashed FIFO frames) 87ca9758 CANopen: raise task priorities to 15 (service protocol level) 9076518a CANopen: raise task priorities to 15 (service protocol level) 434ce8db SIMCOM: reduce FIFO overflows by allocating the IRQ to core #0 level 2 and running the task on core #0 53a35089 docs: Try a requirements.txt to resolve m2r issue c9657360 docs: Try adding a readthedocs.yml file to resolve the issue with m2r c9916bdf docs: Try adding a readthedocs.yml file to resolve the issue with m2r 3f7fe6af Docs: include project readme as introduction page, update server link 00ab9db0 sdkconfig: enable mongoose SSL, mbedTLS PSK keys & pushover by default 5ea7fd28 Stub support for Tesla Model 3 - for experimental development 54b8d815 Docs update: module factory reset -noconfirm 75adce76 History update e8bf76d7 Add option "-noconfirm" to "module factory reset" command 0706ff03 SIMCOM: all parts in internal RAM, higher ISR & task priority, larger queue, faster mux frame recovery, counters & logs for overflow errors 627652e5 cppcheck fixes 528f4e0e Documentation for OvmsConfig scripting 9ec55f5b Documentation for OvmsConfig scripting 50086c0d Javascript (duktape) support for OvmsConfig 50031125 Readme: added undocumented vehicles 6cf485e0 Readme rework 17bd0a41 PowerMgMt: Fix powering on previously powered down SIMCOM and WiFi modules - Update changes.txt - Default 12v shutdown grace period 10->30min - Fix Web UI text 5d2abcf7 New Power management module - Switch off SIMCOM and WiFi after certain (configurable) time period of idling/non-charging of 12V battery has lapsed. - Turn on previously switched off modules if 12V charging is initiated - If 12V battery alert is received, shut down all the modules and OVMS after certain configurable grace period (e.g. 30 minutes) 5d2cdae1 Turn off all SWCAN leds when powered off de7884dd Pushover client is not PCP inherited 24670abc Fix 12V battery alert not canceled if 12V battery charging is started 38548a8a CAN: minimize RX callback delay c5403a40 Pushover: fix keeping discarded notifications 63f6bb8c Enable building for unicore mode (CONFIG_FREERTOS_UNICORE) 69ec063e History fix 2ec5dbaa Twizy: send custom OBD2 requests, output response as hex dump e83659b9 Vehicle poller: fix race condition between control & processing, restart poller on PID list change 53f5d3d3 Vehicle poller: fix race condition between control & processing, restart poller on PID list change 21eaf6f9 NissanLeaf: Reduce fluctuations in estimated charge time 19590d86 Metrics: Show metric age and staleness only with -s option 0efe3612 Move all MG_CONFIG_SSL dependencies and combine them to new config entry ("Mongoose SSL/TLS support" / CONFIG_MG_ENABLE_SSL) - Mongoose SSL support explicitly requires "Enable PSK based ciphersuite modes" - Pushover explicitly requires Mongoose SSL support 7b4ef268 Revert CONFIG_OVMS_SYS_COMMAND_STACK_SIZE change 494dee48 CAN & MCP2515: Add standard text output to "viewregisters" command. 1a3cbbac CAN/SWCAN: Rename "swcan" bus to "can4" 085dffd9 SWCAN: Rename and move swcan/swcan_led class to more general main/ovms_led 0d30f476 Zoe: add more metrics 7414f30b Scripting: add OvmsNotify.Raise(), polish docs 88f91f6b Scripting: new Javascript API: OvmsEvents.Raise() 8436e0df Events: add option to schedule (delay) events a8833a7e Twizy: immediate tuning metrics updates (was delegated to ticker before), remember profile key loaded into working set, remember tuning applied state c2a90b44 Script: lib/JSON: fix null case, add compact option, add JSON.format() 6fd54a5b Fix for Kia e-Niro 8d7575bf Zoe: add more metrics cb11ff5a Docs: added foglight module & web plugin example 07c15103 Vehicle: reset minsoc trigger on setting minsoc=0 e19d24e1 "standard" OBD2ECU cable is now available 7f86e9c1 Correct 700MB -> 7MB for module/debug.tasks 5b24c45d Add changes for 3.2.005 b281949f Default module/debug.tasks to FALSE 58b60cf7 Docs: added missing events, fixed some headlines, Twizy docs restructuring, Twizy custom events & metrics added 9bedb295 Volt/Ampera: Few bug fixes - Fix preheating stopping logic - Fix build error when SWCAN board is not configured - Disable unused CAN2 bus ea4afe4b Preparing for pull request - Add changes - Revert README.md (remove SWCAN fork info) 8f06a3cc Vehicle: Fix occasional stack overflow when receiving CAN msg causes notification to be sent 05851c15 MCP2515: Fix configuration registers for SWCAN. - Obey recommendations of GMLAN standards for 33.3kbs configuration (Sync Jump Width >=2 tQ, Later sample point position) - Disable one-shot mode (repeat tx if tx error) - Verbose error logging for tx/rx errors bdee0f3b SWCAN: Fix status led default state 52d2f8c0 Volt/Ampera: Better preheating logic and bugfixes - Relinquish control of preheating to BCM when it is invoked with key fob - Add warning text to va_web: 14V auxiliary module not enabled when BCM overriding is used! - Verbose CAN msg debugging - Extended SWCAN wakeup for all modules (whereas standard wakeup uses only BCM CAN address, but seems to wake up all the modules anyway and is faster, so it's recommended) - Increase delay after SendTesterPresentMessage (BCM may not react sooner) - TxCallback: Let MCP2515 handle the errors and re-transmitting 6d85307b Metrics: Show metric Age and Staleness with 'metric list' cmd. - Age is in seconds, or 99 if older. - new InitVector and GetSize functions for OvmsMetricVector 9724d1de Volt/Ampera: Read and set current and available charging limits - Read the current and available charging limits/levels via CAN. - Allow charging current to be set. From the available current levels, select the highest one that is equal or lower than the wanted. (for example, if we want 9 amps, and available are 6, 8 and 10 amps, we will select the 8 amp limit). 12f62dec Volt/Ampera: Preheating improvements - Update v.e.hvac metrics so that server and mobile apps receive the HVAC status - If preheat is initiated via fob while preheating is already done by overriding BCM, relinquish the control to the BCM a26a880e Fix occasional crash when disconnecting WiFi client (OVMS Netmanager was using non-SSL enabled "struct mg_connection" whereas Mongoose was operating on larger SSL-enabled struct. When Netmanager was modifying connection flags, it ended up overwriting pointer to iface struct..)