3.1.011-172-g48d9cff8 OTA bleeding edge developer build Sat Jan 12 17:29:58 CET 2019 See ovms3.log for details 48d9cff8 Webserver: add per access auth for simplified API calls cd89703e Webserver: added Highcharts plugins 9be6efc5 Webserver: prioritize system pages & plugins 04bda4c6 Twizy: provide metrics for frames 627-629 (component error status) 675b2e52 Web UI: locations: added script editing buttons 12f8970c Web UI: editor: auto create path on save, auto open load dialog on dir 6dcef1c2 Web UI: autoinit + scripting option 96297562 Web UI: remember textarea config for text & plugin editor (in session) e6ee325e System: add config option for command stack size (default 6K) 3d28713f Webserver: 3 second reboot delay to finish command streams c2010ae8 Webserver: config init fix 33d37588 Javascript: Re-work Javascript (duktape) framework - Move it to be a component - Use SPIRAM for as much as possible - Run the javascript engine in it's own task (OVMS DukTape) - Change the way extensions functions are registered - Catch compilation and parsing errors (fail gracefully) - Support 'print' and 'assert' javascript framework - Output (via print) goes to current console, or logged if no console - Autoinit (and run) /store/scripts/ovmsmain.js - Support node.js style modules - Control with config auto javascript (default enable) - TODO: Reloading the engine (new scripts/modules) e4437278 esp32wifi: receive system.wifi.sta.connected to show BSSID 8a51e34b Twizy: tuneslider plugin: keep autorecup params on slider changes 717776d0 Web UI: delayed menu reload after plugin changes 1a838c1d Web UI: replace CRLF by LF on textarea inputs (plugin & file editor) 7743c326 Web UI: shell height fixed aa51ce46 Web framework: loadcmd: timeout param, scrolling fixed, documentation added 594bb453 Webserver: command streams with max verbosity by default a6220ef6 OvmsWriter: fixed write() return values (conforming to fwrite) ece60f35 Twizy web plugin: add recuperation sliders to dashboard 77ddfa2d Twizy: dashboard drivemode buttons styling & metrics updates 28926306 Webserver: add user plugins last (i.e. after system plugins) 637bddb0 Web UI: fixed: cancel button in plugin editor, dashboard with no metrics fe0d8438 Web framework: slider rework to support disabling d6c7f4ad Kia: Improved security and removed fixed interval polling of door lock status ec1a874d Web framework: slider widget dynamic/data plugin 5694f988 Twizy: tuning drivemode & profile metrics a9a7e514 Web framework: slider widget optimization & documentation d75961df History update c3c1187b Web UI: text editor added 19ef6748 Web framework: plugin editor handling & style optimization 9a7ba181 Web UI: plugin editor Firefox fix & optimization fb6bd308 Web docs: added page source button to commands doc f36f2b65 Web documentation: commands & monitors 2da7b1ba Web UI: fix for re-posts of /cfg/plugin page c07de860 Web framework: simplified login/logout scripting c5c2d37b Fix trimming of '|' from the end of log messages 90cfccab Web docs: added hook plugin demo/documentation c8a321ea Web UI: class & id on /home menu 7e5fd0c0 Web framework: simplified metrics displays & chart integration 44290c03 Web UI: notifications title icon fix 03fe9422 Bugfixes and AUX battery drain f0863a17 Web UI: user plugin editor f7ca8412 Web framework: listEditor plugin extensions 8218dede Twizy: added web page plugin hooks edbdef6b Web framework: added page plugin hooks d732f0d0 Web framework: panel & fieldset with title based id d9c2a06e Web framework: user plugin support 321a1262 Config: GetMap() reference type reflecting map existence b4190841 Utils: strtobool() 8c9b7972 Metrics: filter all time metrics on tracing 4f53124d Web docs: btn-longtouch title/text usage explanation/demo 4ab19e71 History update c184214d Twizy dashboard: added drivemode buttons d5b7d607 Web framework: page callback registry for modular extensions 798d1acf Twizy drivemode UI: using longtouch buttons 65790a51 Web framework: longtouch buttons be188685 Web framework: login status tracing, login page forward URI parameter a7e69ed9 Web API: /api/execute supporting GET & output control 16b6083b Web framework: menu & panel layout optimizations 442c1c53 Twizy web UI: added file dialog for virtual dyno recording 31008ea1 Web UI: firmware page using data API file dialog 203f7908 Web file dialog: data API, filter by regex, file/dir selection control 4328f6f2 History update f5d95235 Web framework: added night mode URI parameter (nm=[0|1]) 663e4bc7 Web UI: make dashboard accessible w/o login 26cb1117 Web framework: file browser & dialog touch screen optimzations 5cee47f1 Web framework: asset versioning (auto cache outdating) 204360a5 Utils: STR(x) macro following standard convention c3ea5843 Zip: libzip update (requires submodule update) b41d8370 Tests: added mkstemp test 8b013f81 History update 2f68ea54 Web UI: added config backup & restore UI 6baa4ead Web UI: added file selector to firmware update UI (flash from SD) 11bd6812 Web framework: added file browser & file dialog widgets 2bda814c Web framework: missing /div fix 785f4b3a Zip: fixed replacing existing ZIP files 6c5a9057 Config backup: added "obd2ecu" & "dbc" directories, simplified adding new directories & added verbose processing output 72ac9202 update sdkconfig.default.hw31 setting new options to default 79c3b8bd Consolidate print operations c1803635 Allow "boot" command to default to subcommand "status" 4ec60206 Remove extraneous newline on error log message f1e637d2 Config: verbose usage info for backup & restore 230913c5 Command: fix usage string expansion 7f72664a Config: backup/restore hardened against missing dirs, added scripts dir d202e285 Webserver: added JSON decoder & example to notification test page 55b0d6a6 Command: fix duplicate registration check 67289712 History update 99b20ccc Twizy: notification subtype rework towards MQTT topic style 80e123c0 Notifications via WebSocket channel & Web UI dialog widgets 3cdcf91d Boot: unmount /store before reboot dbcb43f9 CANopen: fixed main command name ambiguity (race condition with "config") new command name: "copen" ffb399a8 dbc: Provide a pure DBC vehicle type da36537d dbc: Auto-set dbcSignal ovms metric based on name (and allow periods in dbc identifiers) d9ed74a9 dbc: Allow dbcSignals to be mapped to OVMS metrics 54ab6303 vehicle_dbc: Provide stub implementation of vehicles derived from dbc ae28f2cb dbc: Provide stub implementations for signal encoding/decoding a05d4040 dbc: Support locking mechanism for dbc files fc92e5da dbc: refine dbcNumber to protected internal members 85907a1d dbc: Rework parser to be tolerant of out-of-order dbc files 1bce372b dbc: Disable parallel builds as they get in the way of dynamic code generation 0c4ac07c dbc: auto-load framework 4b8437cc dbc: save and dump commands e37b13ef dbc: Protect member variables f6137fce dbc: Protect member variables 4ba769b1 dbc: Formatting fixes 3b50c869 dbc: dbcNumber object for integer/float optimised operations e8641881 dbc: Fix signed/unsigned for signal value type 88dc859b dbc: fixes to build clean b6a3e483 DBC: Re-work of DBC (with lex/yacc based parser) 4d66ab87 dbc: Tidy up yacc/lex scripts, and document 2b54bc62 Use bison on FreeBSD Quiet flex "defined but not used" yyunput and input warnings 57f5c3b7 dbc: Trial for yacc/lex based parser 8eeb44a4 dbc: Refactor to split dbcfile and dbc_app d2811093 Init wizard: added GPS control to modem init (step 5) c40ce18a Twizy: removed vehicle.release signals bbb6885e Config: GPS configuration upgrade 00ef79e0 Config: fix restore into empty /store 1e333402 Revert "Merge pull request #165 from M4GNV5/master" 52915933 Twizy: feed framework BMS, replace BMS monitor by framework version db98b279 BMS: added cell overview data to "bms status" aeb50a40 BMS: alert/threshold config, deviations & alert status 4974ba3e Web framework: form targets, modal support 1edddd1d TeslaModelS: Use bms sanity checking limits b6bc659b Support BMS limits for automatic sanity checking 0571bc45 TeslaModelS: Sanity check on 0x6f2 battery volts+temps fa51f05b Vehicle BMS: cell deviations & alerts e0e993dd Web UI: allow command lengths up to 2000 chars 32434896 Tesla Model S: Add support for charge metrics f4c54eff Web Server: Create new TOOLS menu, and move SHELL to it 9207efd2 RE: Fix race-condition on retool start 3e79d38d Vehicle: ActiveVehicleName() to use original registered vehicle short name (not, possibly modified, v.type metric) 2a84d861 Tesla Model S: enable BMS cell monitor web UI aded5855 Web UI: added generalized BMS cell monitor 4afc35d6 Twizy: fix SEVCON monitor stop 81925393 #162 Fix for 0% SOH on 30KWh models with Nissan BMS update c6ea721f move partition version code to GetOVMSPartitionVersion() in ovms_version.cpp list partition versions from ota_status() 86489b0b Refine algorithm for standard metrics for bms voltage and temperatures (including min and max) ed416c34 Refine algorithm for standard metrics for bms voltage and temperatures (including min and max) 39a32b0a add versions strings to boot partitions on the firmware -> setup page b8dc60ea TeslaModelS: Use standardised bms voltage and temperature mechanism 21f9e639 Add standard methods for BMS cell-level voltage and temperature storage 81828f63 Add standard metrics for bms voltage and temperatures (including min and max) dd75fd13 Add climate control to command framework 57950561 History update ed53369f Twizy: Sevcon monitoring & recording of torque & speed & motor details 4a2bc1dc Twizy: experimental powermap generation including region 3 (max slip) a20bac4f Metrics: added unit Nm, added vector.ClearValue() c2892ead TeslaModelS: Store bms module voltage and temps as simple one dimensional arrays 99cf83bf Unregister xts command on vehicle module unload ed4a315e Support new UnregisterCommand function, and protect against duplicate registrations 8b589568 TeslaModelS: BMS 0x6f2 decode - brick voltages and module temperatures 4060d413 Add watchdog inactivity timers to CAN buses b6a321d1 respect the users decision whether to enable or disable gps 59d2b6f0 Metrics: added OvmsMetricVector for array type metrics 25b1e75e TeslaRoadster: Cooldown set to use 12A (to work for US firmware which refuses to go below 12A), and bug fix for charge stop fd28f43c update the sdkconfig.default.hw31 setting all new options to default, except mbedtls ram location b145a93f fix compilation with the latest esp-idf 3abd7c00 Ready for 3.1.011 release 20127445 OVMS v3: Mitsubishi i-MiEV: bug fixes a885a023 make sure the webinterface also compiles when OTA, simcom, serverV2 and/or serverV3 are disabled d8e039c8 Changes update a8678d67 Add delay in "module reset" so the output gets shown via web 5d23709e Config backup & restore using encrypted ZIP archives (including minor OvmsConfig API extensions) 85db8c5f ZIP archive support (including encryption) 4aa6c5c5 Network: Support custom MAC address (config network mac ...) 0758a1a5 async: Ignore UART_BREAK events 3802ca2a Remove unused vestiges of task-based implementation e890523e Bluetooth: fix bug & add verbose logging in console 5549087c Bluetooth: Further refinement on console afe3ee39 Bluetooth: Initial implementation of bluetooth serial console 99fa7694 Bluetooth: Stack size 3072->6144 to allow for command execution ad6464a7 Bluetooth: Change bluetooth console service UUID 0xffe1->0xffe0 as it seems more compatible f8b91f98 Bluetooth: Framework for bluetooth serial console c1ebfff6 Bluetooth: Framework for bluetooth serial console 00a770e1 Bluetooth: Further improvements 219ea22f TeslaModelS: Inverter and Motor temperatures b5ee5727 Add SKU for 9665972: OVMS Data Cable for Early Teslas e6b51c28 Bluetooth: Re-work of bluetooth to support multiple apps and C++ class inheritance 75e2a9bc Network: Support custom MAC address (config network mac ...) ee8f5418 Changes.txt for 3.1.010 441c93d7 TeslaRoadster: Fix for digital speedo bug a3a4ad4e Bluetooth: minor fix f60a7a68 Bluetooth general improvements, and stub of console 276e7b98 Make most core queue sizes configurable, and larger to try to reduce overflows f68902c1 Revision bump to force update (esp-idf config corruptions) 3e5224fc Server v2: added cabin temperature to "D" message 92d85010 Known Issues, ready for 3.1.009 9dd61310 Changes and TODO, ready for 3.1.009 e0aa1955 Use correct SI unit abbreviations for distance (km), speed (km/h), acceleration (km/h/s - as an alternative to the usual m/s²). 51ce2a27 If converting value to different unit, AsUnitString() should also convert unit name. 3c057725 TeslaModelS: Add support for CAN2 and CAN3, and decode MCU GPS lat, lon, heading, and HDOP 0e3c6d4a Twizy: fix missing charge records in RT-PWR-Log 7192be15 Minor command description changes to sync with user guide 3704933b Wifi: add RSSI level to status output 9365b341 Think City - Bug fixes and new stuff 4a3004f1 Various fixes (negative current, temperatures, polling of values, dash) 0ed7ac2f DBC: "dbc show" command 1de0bb72 DBC: Support SG_, VAL_, and CM_ syntax d5120004 DBC: API interface for all core objects b602762e DBC: Base dbc component (work-in-progress, but compiles) 1d4d8369 Minor typo fix in can framework 1138c507 Enable building without TRACE_FACILITY a33b30e0 Web cfg: added version tag "eap" 00888f5c Wifi: adjust task prio directly after init b773bf05 Config: error checking on flash writes 35b52821 Wifi: lower wifi task priority from 23 to 22 to prioritize CAN rx ccb728af CAN: raise RX task priority, raise stack to 2048 bytes d3dee9fe Twizy: low latency CanResponder for optimized charge current control e185a225 CAN: support synchronous frame callbacks for low latency responders cfc4d2e6 Move Vehicle instances to internal RAM a27d9eda Peripherals: place in internal RAM, place ESP32CAN ISR in IRAM 0d8af7f7 Framework: provide InternalRamAllocated class & methods (counterpart of ExternalRamAllocated) a7e64a43 CAN: new command "can clear" = clear CAN status/statistics f8e04833 Typo fix 64bd1ebe Implemented initial porting from V2 cdb67ef2 Minor change to wording for Zeva BMS menuconfig 6b7db74a Production: Add SKU for Kia Soul OBD-II to DB9 Data Cable 22fce4dd Zeva: enhanced rx canbus 6fc6317b Changed CANbus RX packet 0x0A 3939de64 Added Zeva BMS Canbus rx stub 6f7fe15c Added initial support for Zeva BMS system ac4bdf48 Added Zeva BMS 2ea6147b TeslaModelS: Sample battery voltage once every 10 seconds only 79252c4d V3 Client: Add display of events and metrics 0486f7f3 First draft of an OVMS v3 command line client 960e1c3a MCP2515: Support LISTEN mode 13751297 ESP32CAN: Support LISTEN mode 3fdb31fe ServerV3: Notification support a53b701f ServerV3: Skip system.event and system.wifi.scan.done events 1c3e3b4f Default build config update f25293dd Replace fprintf(stdout) with printf to avoid compilation error f01c2f10 Fix missing newlines in terminal monitor f2f6e120 Update status of iMiev support 10a4bb0f Mitsubishi iMiev: Basic vehicle port 69427f4a Javascript: Add a OvmsPrint function to be able to print a string JavaScript: Support .js script files (executed with javascript engine) f1736f92 Javascript: Add a OvmsCommand function to execute an OVMS command 92541708 Wifi: CSI callback & RSSI processing 67cc613f Build fix for esp-idf v3.2 5f03a0b0 Logging UI: allow empty path if file logging disabled 939416ca Improvements to error_flags diagnostics for mcp2515 can driver 5db3d957 Always show error flags (in can X status) as 32bit hex ce714575 Fiat 500e: Stub vehicle support 108c06af Mitsubishi iMiev: Stub vehicle support e3a27d81 ServerV3: Events support 2fa3ab8f ServerV3: Transmit modified metrics on any change in number of peers 84637a53 ServerV3: Support commands over MQTT d5bc3d66 ServerV3: Production topic hierarchy af412426 ThinkCity: Stub implementation b078200b Add m/ path to prefix, for metrics e3f4bed5 ServerV3: Change config instance topic_prefix to topic.prefix, to match the convention b9262d4b ServerV3: Support peers (in /c/ MQTT topic) 693f80ab Move m_topic_prefix to Connection stage (to avoid race condition when config changes before m_vehicleid is set) b7626eca mongoose submodule update 7b373764 ServerV3: s.v3.connected MQTT LWT support ServerV3: Move server.v3/password to password/server.v3 config ServerV3: MQTT client connection subscriptions b940290f MDNS conditional adverts for http/telnet/ssh f897fbc9 make sure m_mongoose_running is set to true after mg_mgr_init is called 8fd4989d replace dots inside the topic by slashes for a more MQTT like namespacing ecb99377 Server V3: make the topic prefix configurable through the web interface 468c78d7 Server V3: allow users to define a custom topic prefixes 0631a27e obdii: Engine oil temperature 61c0b0c4 Include vehicle id and firmware version in HTTP user-agent string 272697ea Twizy: no sufficient level info on charge done 8497d9fa Web dashboard: range display min/max exchanged 5d8f96da Webserver: fix u64 alignment 5363ab8c TeslaRoadster: Vehicle cooldown command and implementation bf3b0d52 TeslaRoadster: Digital Speedo implementation d0221bfd TeslaRoadster: Refuse to lock a car that is ON 71796009 Update project status files b3bef785 TeslaRoadster: Digital Speedo implementation cfbd297d TeslaRoadster: Vehicle cooldown command and implementation ec4bc37a Add VehicleModeKey helper function ecb77a3a TeslaRoadster: Vehicle status command 96a78f07 TeslaRoadster: Add support for SetChargeTimer command 58fbb262 Fasttech SKUs and stock script b001c54b Changes.txt for 3.1.008 release cc195f3d Support Defined/FirstDefined in metrics (no change to ram usage - still 28bytes for a base metric 0a2f6fa2 Refactor to move code from .h to .cpp in metrics fd7ba530 Show sizeof OvmsMetric in test spiram 55414f69 Remove spaces in blank lines - reformat only d4498490 Add alert for vehicle being moved while parked 08de8741 Only issue location.enter and location.leave events if vehicle is on 898f0b93 Add a 'location radius' command, to be able to change radius of existing location If appropriate, issue location.* signals when a location is updated/created 08e6f1c1 If appropriate, issue location.* signals when a location is updated/created fd576f86 Nissan Leaf: move climate control off to a separate timer task 33bb345b Nissan Leaf: Use car's own climate control turn off feature c3e62cc3 Show core affinity in "module tasks" command 9ad2a738 Show task priority in "module tasks" command 269e0275 Changes.txt for 3.1.007 release