commit 7b6b8616b3a07c5f56faf0b10b628b82c9325903 Author: Michael Balzer Date: Wed Nov 6 21:17:44 2019 +0100 ESP32CAN: clear data overrun also if it occurs without IRQ_RX This is a guess based on an invalid byte shifted frame that has been reported by a user. Documentation on the CAN controller is still lacking. commit 14d066593c70df9b2792df8b83570411b37306f8 Author: Michael Balzer Date: Wed Nov 6 12:14:50 2019 +0100 Module task report: sample current activity if last status is too old CPU% readings in the task report are based on the difference in task runtimes to the last status taken. This adds a two second sample delay if the last report was generated more than an hour ago to avoid invalid readings from uint32 overflows. commit 88cfeef940f9749746f80e8fa8448561072b86bf Author: Michael Balzer Date: Tue Nov 5 20:46:55 2019 +0100 Logging: file logging moved to dedicated task (improved performance) New commands: log status Show logging status log open (Re-)open currently set log file after "log close" Closes issues #107 commit 5981809ab28210048dce35239ec52e0e0180e25c Author: Michael Balzer Date: Mon Nov 4 22:10:51 2019 +0100 Webserver: remove obsolete mutex code commit 0ee540b3314b7d37d7318f768b69c82a13331a7e Author: Michael Balzer Date: Mon Nov 4 01:07:29 2019 +0100 Webserver: fix log recursion causing stack overflows & revert unnecessary SIMCOM stack change, fix log memory leak commit 52ed4b884e8ef6b638fe24b6c73101b1fea491ae Author: Michael Balzer Date: Mon Nov 4 01:05:46 2019 +0100 Boot: fix type conversion warning commit c32f800025ef5822915bc00928d9b55d936841d1 Author: Michael Balzer Date: Sun Nov 3 19:35:43 2019 +0100 Webserver: add logging via websocket stream / web shell Note: this extends the JS events for a "receiver" DOM object by "msg:log", payload is the log line. A log history of 100 lines is kept by the framework in the global array "loghist". commit 11526c3fbce2036573792671589954a51a792653 Author: Michael Balzer Date: Sun Nov 3 19:29:42 2019 +0100 SIMCOM: raising stack size from 4K to 6K to avoid crashes commit a624b08bdd8fbdc0e59217db3af955f9417edadc Author: Michael Balzer Date: Sun Nov 3 19:28:45 2019 +0100 Boot/Crash debug: clear unused backtrace fields commit c6c7d9385eafbdbcd61725d615803ac21dd9d704 Author: Michael Balzer Date: Sun Nov 3 19:27:42 2019 +0100 ESP32CAN: RX handling rework according to new Espressif infos See comment. Info source: https://github.com/espressif/esp-idf/issues/4276#issuecomment-548753085 Further experimentation showed looping on the RMC or RBS is not sufficient, the handler needs to check the interrupt flags during the RX loop. commit a49c2d9990c1923f1a25e4ff6cf8a5a06733d3dc Author: Michael Balzer Date: Sun Nov 3 19:22:47 2019 +0100 Peripherals: ISR IRAM optimization This marks both the GPIO interrupt service and the spi_nodma interrupt handler as residing in IRAM (which they do already). Note: if further GPIO handlers are added, these need to be in IRAM. commit a86dcb1261683d9fe9ede6766ccc886a5c56943f Author: Michael Balzer Date: Fri Nov 1 12:31:30 2019 +0100 Docs: added standard metrics commit 3e937a9e6fe568b07fcc94dd506bde1413bf1176 Author: Michael Balzer Date: Thu Oct 31 22:16:36 2019 +0100 MCP2515 CAN: ISR in IRAM, yield if higher priority task woken commit f7aecc2d6a2cb7ae6ee1f830b474c4ba16b962db Author: Michael Balzer Date: Thu Oct 31 22:12:49 2019 +0100 ESP32CAN: SJA1000 hardware bug workaround (trashed FIFO frames) See developer list post for details: the SJA1000 trashes frames and reports wrong additional frames on FIFO overflow (64 bytes). The workaround tracks the number of bytes read from the FIFO and discards frames exceeding the FIFO capacity. Also: - Race conditions between ISR & application code fixed - Allocating IRQ on core #0 - Yield after ISR if higher priority task woken - Interrupt handler hardened against new IRQs during processing - RX processing prioritized - Transceiver activation/deactivation before/after SJA1000 reset mode commit 87ca9758ac3ae12c814c40730b3324d3151cdf1f Author: Michael Balzer Date: Thu Oct 31 22:01:41 2019 +0100 CANopen: raise task priorities to 15 (service protocol level) commit 9076518a92d6ea14daffb365704586151d307c72 Author: Michael Balzer Date: Thu Oct 31 22:01:41 2019 +0100 CANopen: raise task priorities to 15 (service protocol level) commit 434ce8db32edc6a4ed7ac4574280fa1be129e2be Author: Michael Balzer Date: Thu Oct 31 21:01:47 2019 +0100 SIMCOM: reduce FIFO overflows by allocating the IRQ to core #0 level 2 and running the task on core #0 Minimizes issue #274. See developer mailing list for details. commit 53a35089d9f0c89dd64cb7a895b539227de171c0 Author: Mark Webb-Johnson Date: Thu Oct 31 08:01:30 2019 +0800 docs: Try a requirements.txt to resolve m2r issue commit c96573605ce631fb04f2ce47f9bad06694cd8761 Author: Mark Webb-Johnson Date: Thu Oct 31 07:56:25 2019 +0800 docs: Try adding a readthedocs.yml file to resolve the issue with m2r commit c9916bdf8f198d77504f2c7ca73c77912c34acfd Author: Mark Webb-Johnson Date: Thu Oct 31 07:51:23 2019 +0800 docs: Try adding a readthedocs.yml file to resolve the issue with m2r commit 3f7fe6af0df78283dcbd0d13863d5e027c68fb20 Author: Michael Balzer Date: Wed Oct 30 22:23:26 2019 +0100 Docs: include project readme as introduction page, update server link commit 00ab9db0f321d3859514ac178d9d37ce4976c073 Author: Michael Balzer Date: Sat Oct 26 11:56:11 2019 +0200 sdkconfig: enable mongoose SSL, mbedTLS PSK keys & pushover by default commit 5ea7fd28ac5cc9d146ae1d2cea8ffead2fc83dc9 Author: Mark Webb-Johnson Date: Thu Oct 24 21:48:21 2019 +0800 Stub support for Tesla Model 3 - for experimental development commit 54b8d81584d3d0e4905fa69b9ea0362d2da5bf06 Author: Michael Balzer Date: Wed Oct 23 21:02:53 2019 +0200 Docs update: module factory reset -noconfirm commit 75adce76421650a55535af4bd98be5af6192a13d Author: Michael Balzer Date: Wed Oct 23 20:42:03 2019 +0200 History update commit e8bf76d79bd7b40cc544b78e297f1e79cdabe0b7 Author: Michael Balzer Date: Wed Oct 23 20:40:22 2019 +0200 Add option "-noconfirm" to "module factory reset" command Close issue #276 commit 0706ff03add41f3dd637a72459208ff501aecfa5 Author: Michael Balzer Date: Wed Oct 23 18:25:46 2019 +0200 SIMCOM: all parts in internal RAM, higher ISR & task priority, larger queue, faster mux frame recovery, counters & logs for overflow errors commit 627652e58245521204c0950e953c5f0a622d0735 Author: Michael Balzer Date: Wed Oct 23 18:18:38 2019 +0200 cppcheck fixes commit 528f4e0eaf5ce014fc9ffad289e5451920bd60bf Author: Mark Webb-Johnson Date: Wed Oct 23 15:01:18 2019 +0800 Documentation for OvmsConfig scripting commit 9ec55f5bede72144bbca47348d671666257f1c7d Author: Mark Webb-Johnson Date: Wed Oct 23 11:54:30 2019 +0800 Documentation for OvmsConfig scripting commit 50086c0d8f8dd356ff6e4e7949d06c3c6ae80f9c Author: Mark Webb-Johnson Date: Wed Oct 23 11:48:43 2019 +0800 Javascript (duktape) support for OvmsConfig commit 500311256285bb6cd036a4da1216ca1a19a8c0d0 Author: Michael Balzer Date: Tue Oct 22 21:49:25 2019 +0200 Readme: added undocumented vehicles commit 6cf485e09bbaeb0d6b9831471441de7220762f76 Author: Michael Balzer Date: Sun Oct 20 17:41:04 2019 +0200 Readme rework commit 17bd0a41dbe11b16d16e280b4dd0169ed315028e Author: mjuhanne Date: Sat Oct 19 11:49:21 2019 +0300 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 commit 5d2abcf7fd0f4f67d1c360a3c8971843345ae613 Author: mjuhanne Date: Sun Sep 8 20:29:09 2019 +0300 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) commit 5d2cdae10703d8e79ded76e251b572092c7162ed Author: mjuhanne Date: Sun Sep 8 20:22:31 2019 +0300 Turn off all SWCAN leds when powered off commit de7884ddb4f9f9eda7e162bc2ede3ba3b41b48ce Author: mjuhanne Date: Sun Sep 8 20:21:51 2019 +0300 Pushover client is not PCP inherited commit 24670abcd59f4718c751dc7e3008a6a8f6a00850 Author: mjuhanne Date: Sat Sep 7 20:17:02 2019 +0300 Fix 12V battery alert not canceled if 12V battery charging is started commit 38548a8af026586041dd17e9dbd04688542e6bf3 Author: Michael Balzer Date: Sat Oct 19 08:31:41 2019 +0200 CAN: minimize RX callback delay commit c5403a40eacc8b36e1447584da1f8b5224f82a19 Author: Michael Balzer Date: Fri Oct 18 21:58:28 2019 +0200 Pushover: fix keeping discarded notifications commit 63f6bb8c967932289ab5161342e36767846a3836 Author: Michael Balzer Date: Fri Oct 18 20:36:40 2019 +0200 Enable building for unicore mode (CONFIG_FREERTOS_UNICORE) Reason: https://github.com/espressif/esp-idf/issues/2892 TL;DR: SPIRAM still works reliably only in unicore mode commit 69ec063e66cd15112cf1891b41839547b44c4029 Author: Michael Balzer Date: Fri Oct 18 15:12:01 2019 +0200 History fix commit 2ec5dbaa593ebd610104783868a54cefb53b04a9 Author: Michael Balzer Date: Fri Oct 18 12:00:53 2019 +0200 Twizy: send custom OBD2 requests, output response as hex dump New command: xrt obd request cluster|bms|charger|broadcast xrt obd request device Note: request types need to be supported by the poller, i.e. currently only 8/16 bit PID requests with mode 01, 02, 09, 10, 1A, 21 or 22 commit e83659b901e92f912ff467c2f60427efa484aca1 Author: Michael Balzer Date: Fri Oct 18 11:57:56 2019 +0200 Vehicle poller: fix race condition between control & processing, restart poller on PID list change commit 53f5d3d371745397201c9272ad19eccd88990f4a Author: Michael Balzer Date: Fri Oct 18 11:57:56 2019 +0200 Vehicle poller: fix race condition between control & processing, restart poller on PID list change commit 21eaf6f9acf1e0d70c55c58b81f6788e643ed124 Author: Anko Hanse Date: Fri Oct 18 10:34:28 2019 +1300 NissanLeaf: Reduce fluctuations in estimated charge time commit 19590d8659fad6b7cbaab4ea917e2bfa628f26bd Author: mjuhanne Date: Tue Oct 15 23:30:18 2019 +0300 Metrics: Show metric age and staleness only with -s option commit 0efe3612bc9073e0e8f6091e4b4756bdb3995d47 Author: mjuhanne Date: Tue Oct 15 22:54:17 2019 +0300 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 commit 7b4ef2686a0c9e03aaf51f8bdbc27ebd7be33859 Author: mjuhanne Date: Tue Oct 15 22:09:30 2019 +0300 Revert CONFIG_OVMS_SYS_COMMAND_STACK_SIZE change commit 494dee48f73c3d6ba306bfc45403f726329f34f9 Author: mjuhanne Date: Mon Oct 14 22:45:12 2019 +0300 CAN & MCP2515: Add standard text output to "viewregisters" command. commit 1a3cbbac6e2a2bf5d26c69197a0ec3ba39edfdcd Author: mjuhanne Date: Mon Oct 14 22:16:10 2019 +0300 CAN/SWCAN: Rename "swcan" bus to "can4" commit 085dffd9fa53d368a2041215bd7558be47e44ee2 Author: mjuhanne Date: Mon Oct 14 21:18:13 2019 +0300 SWCAN: Rename and move swcan/swcan_led class to more general main/ovms_led commit 0d30f476bb390058f0e7a6bb68cbf14a84283c59 Author: Dimitrie78 Date: Mon Oct 14 13:33:46 2019 +0200 Zoe: add more metrics add trip and trip notification add charge and used energy calculation add wakeup commit 7414f30b1b1b9164a4af71300f01367ea924a6d3 Author: Michael Balzer Date: Sun Oct 13 19:46:26 2019 +0200 Scripting: add OvmsNotify.Raise(), polish docs commit 88f91f6b4ebcc46061df47fa0660b8150cc3dd35 Author: Michael Balzer Date: Sun Oct 13 11:02:02 2019 +0200 Scripting: new Javascript API: OvmsEvents.Raise() commit 8436e0df2d1c54a5c39d41e6a480d1b2b76c9e05 Author: Michael Balzer Date: Sun Oct 13 10:53:19 2019 +0200 Events: add option to schedule (delay) events commit a8833a7ec753c602d2355a0767faf7992e353181 Author: Michael Balzer Date: Sun Oct 6 12:00:20 2019 +0200 Twizy: immediate tuning metrics updates (was delegated to ticker before), remember profile key loaded into working set, remember tuning applied state New metrics: xrt.cfg.applied -- yes = tuning has been applied to SEVCON xrt.cfg.ws -- tuning profile loaded into working set commit c2a90b446fe9df5e3e7d174b69518dffccf753f3 Author: Michael Balzer Date: Sun Oct 6 11:59:35 2019 +0200 Script: lib/JSON: fix null case, add compact option, add JSON.format() commit 6fd54a5b8784e5d7a30b762866a9a4c2f1000e8d Author: Timo Penttila Date: Mon Sep 30 19:45:08 2019 +0200 Fix for Kia e-Niro Fix for Kia e-Niro hangs OVMS when car is off and no charging. Fix for speed reading. Wake up polling when car starts to charge again. commit 8d7575bf31343e31b64a6c85986a513e7cd3b83a Author: Dimitrie78 Date: Sun Sep 29 18:59:45 2019 +0200 Zoe: add more metrics add doc add web config page commit cb11ff5a338d4e44439b5d58543847a076634271 Author: Michael Balzer Date: Sat Sep 28 18:58:24 2019 +0200 Docs: added foglight module & web plugin example commit 07c15103a3ee463501d5fe58437042994dd50932 Author: Michael Balzer Date: Sat Sep 28 10:00:04 2019 +0200 Vehicle: reset minsoc trigger on setting minsoc=0 commit e19d24e1aa4c0f5a15c4eeed75d753dd15be7b0b Author: skestle Date: Tue Sep 24 09:07:07 2019 +1200 "standard" OBD2ECU cable is now available I presume since there's links to FastTech to get the OVMS module, it's ok to have it here too. commit 7f86e9c12bd96f967f04cbee73dfaa57f90eb9fa Author: Mark Webb-Johnson Date: Thu Sep 19 17:02:45 2019 +0800 Correct 700MB -> 7MB for module/debug.tasks commit 5b24c45d0895287a12a820a714a6caccbf42a518 Author: Mark Webb-Johnson Date: Thu Sep 19 16:07:24 2019 +0800 Add changes for 3.2.005 commit b281949fa32b2ca6f10786924d3ff2f4fba5154a Author: Mark Webb-Johnson Date: Thu Sep 19 16:04:30 2019 +0800 Default module/debug.tasks to FALSE commit 58b60cf734ae289cfa5438adff264ce5758a6e05 Author: Michael Balzer Date: Tue Sep 17 20:56:07 2019 +0200 Docs: added missing events, fixed some headlines, Twizy docs restructuring, Twizy custom events & metrics added commit 9bedb295deaf9ce15996ec10f60ba43408d673cb Author: mjuhanne Date: Sat Aug 31 15:13:53 2019 +0300 Volt/Ampera: Few bug fixes - Fix preheating stopping logic - Fix build error when SWCAN board is not configured - Disable unused CAN2 bus commit ea4afe4b6c403f6a9838b75d3b9c14f3c6c3d6c1 Author: mjuhanne Date: Sat Aug 31 00:03:05 2019 +0300 Preparing for pull request - Add changes - Revert README.md (remove SWCAN fork info) commit 8f06a3cc542c42d0108f730ef47350c37449c367 Author: mjuhanne Date: Fri Aug 30 00:27:47 2019 +0300 Vehicle: Fix occasional stack overflow when receiving CAN msg causes notification to be sent commit 05851c15326d12a7a0d2dc07e17a20ec9b29e3bb Author: mjuhanne Date: Thu Aug 29 22:31:13 2019 +0300 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 commit bdee0f3bd61ff2764192e702bbd69e71e027df0e Author: mjuhanne Date: Thu Aug 29 22:27:14 2019 +0300 SWCAN: Fix status led default state commit 52d2f8c0cf8f87f94740ae68be0aee81d4f65cd2 Author: mjuhanne Date: Thu Aug 29 22:26:31 2019 +0300 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 commit 6d85307b7dede6c6b3b8ef8c318756a508ccfad0 Author: mjuhanne Date: Thu Aug 29 22:14:32 2019 +0300 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 commit 9724d1deba47b04b2c5fa2c0b57be4054c6d5a8c Author: mjuhanne Date: Sat Aug 24 00:28:23 2019 +0300 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). commit 12f62decf8f496195bebc60553c8ad19c4f20e5a Author: mjuhanne Date: Wed Aug 21 22:40:33 2019 +0300 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 commit a26a880e13fb38c0fd38173e808cfcc0401db063 Author: mjuhanne Date: Wed Aug 21 21:04:38 2019 +0300 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..) commit e169d4d76499bd858edb68242a5d85b749a2fbb0 Author: mjuhanne Date: Sun Aug 18 17:54:09 2019 +0300 Volt/Ampera: Major update to Remote Start / Preheating functionality - Move all preheating/AC functionality over to separate va_ac_preheat.cpp - In addition to controlling preheating by emulating Onstar, it's now possible to override Body Control Module by forcing the AC module to turn on AirCon. This is used for those models (such as my Opel Ampera 2014) that won't respond to Onstar commands. However this requires the OVMS to take care of everything (starting, stopping, timeouts, controlling lights to indicate AC on/off etc..) and is very alpha at this stage Volt/Ampera: Dedicated web page for configuring Volt/Ampera module - Allow selecting either Onstar emulation or BCM overriding for Preheating - Maximum preheating time (only when using BCM overriding) - Allow selecting faster car wakeup sequence (which might be less reliable, needs more testing) - Send bogus (ambient temperature) tire temperature settings, since iOS app won't show tire pressure without temperature.. - Fix gear values - Use diagnostic messages to control car lights. Also send "tester present" message as long as we control at least one light. Relinquish control when car is not parked anymore (gear selection != -2) - Interior lamp is flashed when car is woken up - Fix to use updated CAN tx macros commit d626b73db67553b9fd9a801e17187a442b68af40 Author: mjuhanne Date: Sat Aug 17 20:48:56 2019 +0300 CAN & MCP2515: Fix receiving frames commit 22217ccf0aab62980c91b7e2afece1fdbbef36ca Author: mjuhanne Date: Sat Aug 17 18:25:10 2019 +0300 SWCAN: Use the status LED of add-on board and dongle for showing network connectivity - Blink 500ms on and off: Initializing (no modem/WiFi yet active) - 1 short blink: Modem powered - 2 short blinks: Modem MUX started - 3 short blinks: Modem NetWait - 4 short blink: Modem NetStart - LED on: Server V2 connection established - Blink 250ms on and off: Server V2 disconnected SWCAN leds: New feature: Bursts of short blinks commit 2b308f21113c958514465e3e1f1ae3b85e7692ce Author: mjuhanne Date: Sat Aug 17 18:11:16 2019 +0300 SIMCOM & WebConfig: Allow user to set custom SIM card PIN code commit 705868b35aff3f0b6b55f2a128c034523131d1f2 Author: mjuhanne Date: Sat Aug 10 18:08:28 2019 +0300 CAN, MCP2515, SWCAN: Repeatedly call MCP2515 interrupt handler until all interrupts are handled - Change the name of RxCallback to AsyncInterruptHandler (and CAN_rxcallback to CAN_asyncinterrupthandler) because it handles not only "frame received interrupt" but also tx and error related interrupts - MCP2515 could change the CANINTF during AsyncInterruptHandler (but no new IRQ is created when the interrupt pin is already low!), so we might miss this new interrupt, which never gets handled. AsyncInterruptHandler won't be called again and interrupt pin stays low, so no more action from MCP2515 until watchdog resets the bus. This is fixed by reading interrupt pin in the end of AsyncInterruptHandler to make sure all interrupts are handled, and if not, force a new iteration of interrupt handling - Add "writeregister" command for debugging purposes - Increase CAN task stack size temporarily to 4096 since at least one stack overflow was detected - commit 292a9cf1fb9d2a50e0f3b9b1363cb1175d0b1e98 Author: mjuhanne Date: Thu Aug 8 22:30:07 2019 +0300 Canutils: Fix SEND_STD_FRAME / SEND_EXT_FRAME macros - Now works with 0 byte payload - Removed the payload length calculation macro, since I couldn't get it to expand inside other macros (always returned 1). As isolated macro it did work though.. Now payload length has to be given in a separate argument. commit adec5d151ac45bdc6f0925aa4c2e4599c8bb0b65 Author: mjuhanne Date: Wed Aug 7 22:11:40 2019 +0300 Vehicle Volt/Ampera: More robust Preheat/Remote start and metrics handling - More exact timing and content of Onstar messages (mimicking the MyVoltStar app) - Alternative for Onstar emulation for those models that don't respond to Onstar: Mimic BCM by sending Remote Start messages and override BCM every time it tries to turn off Remote Start. Handle also turning off the AC after fixed time (now 20 mintues). For overriding BCM the "preheat.override_bcm" config is used. - Recognize when Preheting/Remote start is initialied via key fob and just follow passively (let BCM take care of starting/stopping in this case) - New metrics: AC blower fan speed, coolant temperature, coolant heater power, cabin temperature - Modified the wakeup script by also waking up HVAC (for updating cabin temperature every time car is woken up) - Get outside temperature passively (no need for polling) - Fix metrics: engine on, speed, throttle, gear - Fix alarm recognition and handling - Assume 12V battery is charging if >12.7V, since it can be recharged from HV battery when car is on, or via external 12V charger. - Reset tx_retry_counter every 10 seconds. NOTE: This counter functionality is just temporarily in place just so we won't flood CAN bus unnecessarily. To be removed later (besides CAN controller should disconnect the bus after too many errors) - Use easier-to-read SEND_EXT_FRAME / SEND_STD_FRAME macros commit 1c3210660dd01c7565114f80f2a37ae5cf223759 Author: mjuhanne Date: Wed Aug 7 21:43:00 2019 +0300 Canutils: New helper preprocessor functions for setting CAN msg structure and getting payload bytes commit 58e74922403d6c1cdf43b7b404cf23d9676cf2b0 Author: mjuhanne Date: Mon Jul 29 21:17:08 2019 +0300 Improved Pushover support - Show server reply on Web configure interface when sending test msg - No need to first save settings when sending test msg - Fix Mutexes - Receive server reply via non-blocking/blocking calls Date: Mon Jul 29 21:17:08 2019 +0300 commit 0c1f186e35ba23b3eb7ccc8ee439eb4ec8d1833d Author: mjuhanne Date: Sun Jul 28 01:25:52 2019 +0300 Pushover notification system support - Add support for Pushover notification system (+ web based configuration on a new "Notification" tab). - Enable SSL/TSL for all components that use Mongoose (This is a must, since a shared mg_connect_opts is created by client, and the structure will be too small if MG_ENABLE_SSL is not defined! However no actual SSL connection will be used, unless explicitely defined by setting ssl_ca_cert option). Also remember to enable "Component config" -> mbedTLS" -> TLS Key Exchange Methods" -> Enable pre-shared-key ciphersuites" -> "Enable PSK based ciphersuite modes". - Web server: Increase stack size temporarilly by 100% (need to check how much more is actually needed) commit 3cd456411aabd3c493ac9113083ae79d583db029 Author: mjuhanne Date: Wed Jul 17 12:51:38 2019 +0300 Update README.md commit 295ea3d177fd0d0b880d5327914119b1f6f88c3d Author: mjuhanne Date: Wed Jul 17 00:26:15 2019 +0300 Add SWCAN support to Volt/Ampera module. Handle several additional SWCAN / High-Speed CAN messages commit 6f95e65f3fbae70ff725a66f1c14dbe6fe279959 Author: mjuhanne Date: Wed Jul 17 00:24:33 2019 +0300 Support for SWCAN add-on board (for hardware details, see https://github.com/mjuhanne/OVMS-SWCAN). commit fec9e426e3dfe7d1506067c0258ee6d10aa0d839 Author: mjuhanne Date: Tue Jul 16 21:15:29 2019 +0300 CAN & MCP2515: Add functionality to view MCP2515 registers on console commit c9fc014b7cecb6ce9f82fc27d09d8df1831817de Author: mjuhanne Date: Tue Jul 16 19:03:33 2019 +0300 CAN: Fix crash with no supplied callback function when sending CAN msg manually from cmd line commit f94ae5a1b111d983d2bed9aec183a7ae8d643a32 Author: mjuhanne Date: Wed Apr 17 17:16:13 2019 +0300 CAN & MCP2515: Move copy of transmitted frame from MCP2515 to base class ESP32CAN: Add Tx Callback functionality commit ce656afd7a2c642bf325974bf81c95135f29c351 Author: mjuhanne Date: Wed Apr 17 00:08:14 2019 +0300 SPI: Fix receiving insufficient number of data commit 3b8dfa805cbcd11dad4abff60ab657879264842e Author: mjuhanne Date: Thu Jul 18 12:42:37 2019 +0300 CAN: Preliminary SWCAN support (add new "swcan" bus) CAN: Add tx callback functionality (success/fail). There is possibility to hook a bus-wise callback as well as individual frame-specific callback. CAN: Log tx failures MCP2515: SPI software CS support MCP2515: Disable interrupts during configuration MCP2515: Better error handling. Verify MCP2515 configuration MCP2515: Refactoring: ChangeMode, WriteReg and WriteRegAndVerify functions. Use constant declerations for MCP215 register addresses commit a67f20568515a782b8c8a99759322ff31fbcd3ec Author: mjuhanne Date: Tue Apr 16 16:14:38 2019 +0300 SPI: Check if device uses software CS and select/deselect it if needed commit c8b91eae01fbf0c0ece221450aa9a42f71080a2c Author: mjuhanne Date: Tue Apr 16 16:10:03 2019 +0300 Fix crash: Housekeeping Ticker may be called before MyPeripherals is ready commit 530d7f4bcb8df97368990bc80420d45b2a4072b6 Author: Michael Balzer Date: Sat Aug 10 12:25:00 2019 +0200 Twizy: do charge ETR calculation based on actual charge current (takes higher currents from additional chargers and reduced currents due to temperature conditions into account) commit 3acc556786de3c583977fca3b4ff63ee1fc71db2 Author: Michael Balzer Date: Sat Aug 10 11:38:19 2019 +0200 Twizy: added tuning option for SEVCON_T45 + Gearbox_T80 hybrid Configuration: config set xrt type SC45GB80 commit 51e0cc10072a2f2907d6ac3795b4f477e4d4435a Author: Michael Balzer Date: Tue Jul 16 19:21:03 2019 +0200 Docs: added link & info on Hologram activation commit 6d3795ef4a2c8f0ed44341bff09dce0b3add3113 Author: Michael Balzer Date: Mon Jul 15 23:12:07 2019 +0200 Docs/WebUI: added dashboard plugin info & screenshot commit 9e41a6348f4ab9aa34899822a95e0e760c0defa2 Author: Michael Balzer Date: Thu Jun 20 08:27:07 2019 +0200 Build config for toolchain 1.22.0-93-gf6c4cdf-5.2.0-psramfix-20190612 commit c290df734d8c476cafb9cb5780289ab3c7b1703e Author: Michael Balzer Date: Wed Jun 5 20:46:39 2019 +0200 Added new toolchain build flags, reverted workaround changes