commit f73b6caf26fb5c3a55efda63eea849313d32cd7b Author: Michael Balzer Date: 2024-11-10 12:32:41 +0100 - Cellular: GPS run state signals added New events: system.modem.gpsstart -- GPS has started system.modem.gpsstop -- GPS has stopped commit b32ca27ff753477f061c05d7060f9da98bf8ffc4 Author: Michael Balzer Date: 2024-11-10 12:16:32 +0100 - Cellular/GPS: move NMEA sentence logging to verbose level commit 1dc04dc2f7c7b64dc252e3620d4cbe1c1f6bd318 Author: Michael Balzer Date: 2024-11-10 12:15:47 +0100 - Cellular/GPS: keep user GPS mode over modem resets & listen to GPS configuration changes while running commit 37e7c0e6e24360212ef2881911a998a6f8bb17b2 Author: Michael Balzer Date: 2024-11-10 12:11:27 +0100 - SIM7600 driver: use NMEA MUX channel for GPS control commands, add TX delays between GPS control commands commit 2596a48a7ebc37880009f06e65f524f7a323c100 Author: Michael Balzer Date: 2024-11-10 12:08:40 +0100 - Cellular: receive & send SMS, forward SMS & USSD to user; basic support for mandatory provider SMS communication requirements, no SMS system notification channel New events: system.modem.received.sms New notifications: [info] modem.received.sms [info] modem.received.ussd New commands: cellular sendsms […] commit 5146f046c5073fc52f9e830df68b2d5770e86fda Author: Michael Balzer Date: 2024-11-10 11:33:12 +0100 - Cellular: fix signal threshold defaults & info commit b5781c605bdc1de364be475e95a28d006a1d8e63 Author: Michael Geddes Date: 2024-06-06 12:45:20 +0800 Ioniq 5 - Simplify & Improve 12V monitor - Use short(4) and long(8) smoothed average comparison - Detects a dip while 12V charging as well. - Only polls while charging if it detects dip or after a longer period - Factor out to functions commit 74bbe747d26fadf6867b83e5ad1d0e885b0b7622 Author: Michael Geddes Date: 2024-11-02 16:46:59 +0800 Can command - make sure the poller gets started when the bus is configured commit f77a8a05b98c27f19c799d80283d8f058a278173 Author: Dimitrie78 Date: 2024-10-27 13:13:36 +0100 Smart EQ 453 - add ios TPMS fix + reset trip driving commit 20fe9c2f26fc3d3cad46324dc719dbb95494e572 Author: Dimitrie78 Date: 2024-10-18 10:33:04 +0200 Update changes.txt commit d91b056b5bb40b0a2c7fe2f026b88b86fc195969 Author: Dimitrie78 Date: 2024-10-17 12:24:28 +0200 Plugins - fix Repo install and plugin list commit 637707bde15405e7ab4f120adf81270819883f1c Author: Dimitrie78 Date: 2024-10-16 12:40:41 +0200 Smart EQ 453 - led web settings commit e255450748901829c86aeef73dd24b36ad933be1 Author: Dimitrie78 Date: 2024-10-06 15:42:29 +0200 Smart EQ 453 - add charging Metrics commit e68f8b1e24a3674ea7653e610454a2e6eb42bfcc Author: Dimitrie78 Date: 2024-10-02 21:52:27 +0200 Smart EQ 453 - add online led state commit c891421493db2000ff086d1fefc478e14d709851 Author: Michael Balzer Date: 2024-10-02 13:32:11 +0200 Manual syntax & structure fixes commit 2d84f2557ef6a58670cf1cc42eac2b13f0a1a206 Author: kezarjg Date: 2024-09-11 05:22:36 -0400 Update scripting.rst Fixing the tag for the background script. commit b3b7a88fb13b59e9addb44b1498f62e6246556f3 Author: sharkcow Date: 2024-09-30 18:48:45 +0200 fix accidentally deleted precision code commit 639898d4284cee3646fd8f43935c618f2fe66db7 Author: Dimitrie78 Date: 2024-09-15 10:00:52 +0200 Smart EQ 453 - change VIN reqest to Polllist commit cdebd08d5491ff492c86feaad94af5edd2027ecd Author: Dimitrie78 Date: 2024-09-14 11:53:39 +0200 Smart EQ 453 - change Pollstates change Pollstates add Battery states add DCDC states add VIN commit 1702e70a30d813f9747eb836b29a6f7dea94d581 Author: kezarjg Date: 2024-09-11 05:22:36 -0400 Update scripting.rst Fixing the tag for the background script. commit 89846f449365791847de5fc42e1a5a6f143e4b48 Author: sharkcow Date: 2024-09-11 08:29:49 +0200 add trip time to trip report commit b0ed22c499465805158ff198b4d5b95757a2e665 Author: kezarjg Date: 2024-09-08 07:50:50 -0400 Remove duplicate files in MG directory commit b27f661f9a5580939c224f71e6f5b5b910af8e99 Author: kezarjg Date: 2024-09-07 07:08:07 -0400 Feedback from pull request commit 15ba1611af411d8027f0ed92411903f6c9439036 Author: Jamie Jones Date: 2024-08-31 08:39:32 +0100 Correcting documentation formatting errors commit 66540704527679befce2d4080a9e3acd4dcc91de Author: Jamie Jones Date: 2024-08-30 19:55:09 +0100 removing include of ovms_webserver.h that's not needed and fixing some formatting commit bdd3897087281eaaa3908aa006081b97f0a9a5ea Author: Jamie Jones Date: 2024-08-30 19:43:09 +0100 Adding ZomberVerter VCU documentation page, and adding some metrics to the integration as well as addressing the warnings commit 7371c6f363f6219f24d961b08d0730536c68a33c Author: Matthieu Labas Date: 2024-08-30 17:26:51 +0200 Energica - documentation and fixes (vehicle type "NR", namespac "xnr"). commit f913a8b77cfe4ca367f7a15903a1f7c43ad1a191 Author: Matthieu Labas Date: 2024-08-30 17:24:31 +0200 Energica - documentation. commit 2c78781c316440854dfc708f698867ef149cc793 Author: axel troncoso Date: 2024-08-29 16:43:24 -0400 Feat(add-polling-to-maxus-vehicle) commit e677cc3447b3416c3643c4a1233fd625119dd5c5 Author: Matthieu Labas Date: 2024-08-27 10:35:04 +0200 Energica - Motor temperature. commit 45fb79da77af2898f1d5db692293bf994d652168 Author: Jamie Jones Date: 2024-08-25 19:30:13 +0100 Initial Support for the EV BMW ZombieVerter VCU, commonly used for EV conversions commit 85310f1ca9e7ea6b198d098d66086350e15232b8 Author: Peter Harry Date: 2024-08-24 14:23:06 +1000 Update changes.txt Added MG4 changes. commit 9fec9b6d2d8f3df81a8f1a74bad760efc00741a5 Author: Peter Harry Date: 2024-08-24 14:13:08 +1000 Update README.md Change vehicle from MG ZS EV to just MG as other models are now included commit 3e05fc9d9fe3246279422046e06b34c818d91d33 Author: Peter Harry Date: 2024-08-24 14:10:36 +1000 Update index.rst Added MG4 notes. commit ff6304b8d6d1c631f9d27c61c64ad5add946e2bb Author: Jaime Date: 2024-08-23 17:37:48 -0400 fix kconfig commit cc32706a4bf9198bc8e2964a499fd91dc7815b58 Author: Dimitrie78 Date: 2024-08-23 15:59:23 +0200 Smart EQ 453 - change Polling timers commit 86a6c18442f0c243ff6663e8fd005c65a76342b0 Author: Jaime Date: 2024-08-22 10:42:02 -0400 config for good and bad quality signal for cellulat commit 5a17abb346a58007ec41390e8675c814043f7308 Author: Jaime Date: 2024-08-22 10:39:25 -0400 connect after at least 10 secconds of good connection commit 7e7e1a31bf66df626be8076e2b6a0ba5e907f2d6 Author: Jaime Date: 2024-08-21 15:38:51 -0400 fix code style commit 18cfb8a34929ee6356ae1e541c12e0dad17838d7 Author: Jaime Date: 2024-08-21 15:27:56 -0400 server v3 connection takes into account usable signal quality commit e8fb879fd0df8065c6d02ecad24a9963ec774faa Author: Jaime Date: 2024-08-21 15:00:09 -0400 reboot if no ip and good connection signal commit 31784d989918a8b5f815dd54382572ee26ac248f Author: axel troncoso Date: 2024-08-20 15:15:37 -0400 Feat(rename-id-for-maxus-euniq6-to-not-conflict-with-existing) commit 017c1d3f7e6dccea1cd4464a502d72ec8960cf6e Author: Jaime Date: 2024-08-20 11:52:57 -0400 wifi ip via events commit 5ffdf930755a4b940914e88886268f71f724f4eb Author: Jaime Date: 2024-08-19 18:25:21 -0400 rename functions commit 2649e38bd8d727ac3b08bdd8a3507db4fe03c927 Author: axel troncoso Date: 2024-08-19 16:51:50 -0400 Refactor(remove-unnecessary-buffer) commit 9616f0dc69e8fb9204d7f5aa2f59319e1df63995 Author: axel troncoso Date: 2024-08-19 16:42:17 -0400 Refactor(removing-unnecessary-data-buffer) commit 10b7d5cdc14eef82b2b72ada4173d07001aeadc3 Author: axel troncoso Date: 2024-08-19 16:40:21 -0400 Refactor(removing-unnecessary-data-buffer) commit fdd6f7ca17a9668c61293153f99474bd4f6eb679 Author: axel troncoso Date: 2024-08-19 16:01:07 -0400 Feat(Refactor-allign-table) commit 05adc76e5ca2202148a79c73212ccfd10851bc26 Author: axel troncoso Date: 2024-08-19 15:59:12 -0400 Refactor(replacing-tabs-for-spaces) commit a7ee700e18b1852b5f4503e80642c2406ed21a10 Author: axel troncoso Date: 2024-08-19 15:51:27 -0400 Refactor(replacing-tabs-for-spaces) commit 81d228925dc5eb03c76961d7a1684e8c077bf4c0 Author: axel troncoso Date: 2024-08-19 15:41:33 -0400 Refactor(general) commit b966720b6f340eb27960ff792df7dcdee6d4c2f9 Author: axel troncoso Date: 2024-08-19 15:36:25 -0400 Refactor(allign-table) commit 4cf7e15769a33e256ee8aab286fe84a701b7d67b Author: axel troncoso Date: 2024-08-19 15:26:07 -0400 Refactor(Replace-tabs-for-spaces) commit ffa69d29068a74c9777aec2d74cfe873bf1bc0b6 Author: axel troncoso Date: 2024-08-19 15:24:34 -0400 Refactor(Replace-tabs-for-spaces) commit 242cc992d3092dc7dc36ad9171f154c3eb1c63d9 Author: axel troncoso Date: 2024-08-19 15:14:39 -0400 Feat(remove-maple-docs) commit 14ee5aebe8cc6446d7058becc0d32c02ee83c885 Author: axel troncoso Date: 2024-08-19 14:56:49 -0400 Feat(removing-unnecessary-logs) commit e71493709664e09fb1bd39540523bc5853c1183c Author: axel troncoso Date: 2024-08-19 14:54:35 -0400 Feat(tested-maple-with-logs) commit 13754bef766b54901a228d0fc8fa00783b6d6725 Author: axel troncoso Date: 2024-08-19 11:05:50 -0400 Feat(support-for-door-status-on-maple) commit e0ccfe684eae42020660798b7d5723ab9cae18b6 Author: Michael Geddes Date: 2024-06-06 12:46:58 +0800 Ioniq 5 - Mark some overrides and fix scope of a bunch methods commit eb975a77ae7e918b4a93904ab4b03fc72bec7ca2 Author: Michael Geddes Date: 2024-06-06 12:36:26 +0800 Ioniq 5 - Disable unused 'write' code. commit bf7926aab04fb791ef53247d6a9936e755ddbe76 Author: Michael Geddes Date: 2024-06-06 12:34:43 +0800 Ioniq 5 - Separate out 'poll' log tag commit 0f576b761dd0770a6c547e3a5709885cbb02b108 Author: Michael Geddes Date: 2024-07-11 21:50:33 +0800 Async Errors - Improve Frame/Parity error reporting commit f0c9cc885549d06748123ca7bec2a602f56371fb Author: Michael Geddes Date: 2024-08-10 08:25:18 +0800 Duktape - Implement security for user console commands - only allow user commands to be added at certain points. - auto-create 'usr' command - allow 'usr' command for root command and against xhiq - do some checks on the user-command names allowed. commit 74f6e20dba8e79a8478c2d44077b386cff0e6196 Author: axel troncoso Date: 2024-08-14 16:27:43 -0400 Feat(correct-can-codes-and-tested) commit f3cfc3f17d11b8c597badb418feec041a19e1fc9 Author: axel troncoso Date: 2024-08-14 13:01:24 -0400 Feat(init-commit-support-maxus-eu6) commit 1b4f73af88bb61f0859e29ff9898c0c21fb18554 Author: Jaime Date: 2024-08-09 14:21:24 -0400 fix definitions commit 1f07c782e59726779c3c38e7ef66f4cd2b02f917 Author: Jaime Date: 2024-08-09 12:15:19 -0400 missing imports commit 9f03b7bc70731b1f3db171160866b1ab3d48abd1 Author: Jaime Date: 2024-08-09 11:51:58 -0400 reset if not connected connected with connection available commit 6be7ca94fa75daa1e99bb55a77efdc2405adc119 Author: Jaime Date: 2024-08-08 18:14:59 -0400 connectIIFip commit b2ea6eea52bc88d08afd8dfc51b597b60dd6806f Author: Jaime Date: 2024-08-08 17:47:44 -0400 wifiHasIp commit d0bcecb8e15dc6da8c0b490f4440e28b4742c849 Author: sharkcow Date: 2024-08-05 14:14:19 +0200 improve handling of sufficient SoC add detection of faulty selector lever microswitch commit 9425f498c0065a075a5badb41407e99a05ec0c0d Author: Peter Harry Date: 2024-08-04 15:10:45 +1000 Missing Files Added missing MG4 files commit 27108bb6ca330f23c1d16924e21c2dd2c7c2b353 Author: Peter Harry Date: 2024-08-04 13:31:34 +1000 All MG4 Code Added code required for the MG4 commit 3637f582d01feea46fa14557dd8883316e9a193a Author: Ludovic LANGE Date: 2024-07-31 23:47:53 +0200 ESP-IDFv4+ : fix missing header commit e971322e27e92aa6297ffacb63b2928953f11de8 Author: Peter Harry Date: 2024-08-03 14:25:50 +1000 Initial MG4 Files First MG4 files commit d641238109f7ed13e7514cbc20d7f6b7bfb5075e Author: Ludovic LANGE Date: 2024-07-31 23:13:59 +0200 esp32bluetooth: fix compilation with ESP-IDF cmake-based build system (v4+) commit 0efa5a9bfb9239aad38b45fa86d109788aa1c813 Author: Dimitrie78 Date: 2024-07-30 13:45:19 +0200 Smart EQ 453 - range_est correction commit d88953855482a6d9b6ff3874b1ce165b37a6f1bd Author: Michael Geddes Date: 2024-07-22 08:32:12 +0800 Duktape - Finish Implementing console commands - Command map moved to std::string (by necessity) - Implement proper shut-down of duktape commit 036a1817247d0858e7f21c28dd844d26a817041b Author: Ludovic LANGE Date: 2024-07-20 18:23:18 +0200 ESP-IDF v5+ compilation fix - missing esp_timer.h include commit 3431b7b4e725f622207d0d31791b8e118815ec42 Author: Ludovic LANGE Date: 2024-07-20 16:12:37 +0200 ESP-IDF v5+ fix for undefined `xTaskGetCurrentTaskHandleForCore` function `xTaskGetCurrentTaskHandleForCore` is available starting ESP-IDF 5.2.0 and replacing `xTaskGetCurrentTaskHandleForCPU`. Previously the condition was not precise and resulted in compilation errors for ESP-IDF between 5.0.0 and 5.2.0 (excluded). commit f801bc9fc9f368e27209426d0ec390953b45279d Author: Ludovic LANGE Date: 2024-07-20 17:01:31 +0200 fix compilation error Fix compilation error introduced in 2915281af0715a46de548f80a0104d4d9492e400 / #1032 commit 884041c89f176324e1e0f4fa31ce106e69b446d7 Author: Ludovic LANGE Date: 2024-07-20 16:10:13 +0200 VFS - enable compilation with ESP-IDF v5+ Following 1683c29892cba94842fb3b0054c4ab0093ad219e and addition of `glob_match.cpp` it's needed to list it in `CMakeLists.txt`. commit a9a759f7f14f6a4add66271c6033d9598fd09c58 Author: Ludovic LANGE Date: 2024-07-20 16:00:37 +0200 Vehicle_Vweup - fix a compilation issue The compiler in ESP-IDF v5+ is very sensitive to detecting potential issue. Here, an indentation could be interpreted by the human reader as if an `if` block was encompassing a whole indented block. The fix here is either to remove the indentation, or to add curly braces to explicitely delimit the block managed by the `if` condition. The indentation was removed. commit 60a4e03df5cae3876093a27fd7d25778abc39f7c Author: Ludovic LANGE Date: 2024-07-20 15:45:52 +0200 Ovms_Webserver - int64_t format strings changes `INT64_FMT` replaced with `PRId64` because `INT64_FMT` is a Mongoose 6.x specific define, and this define does not exist any more in Mongoose 7.x releases. commit a6f1c079815bdefc053463cee52d3f3a4979ee0e Author: Ludovic LANGE Date: 2024-07-20 15:38:22 +0200 Vehicle - fix compilation issue commit 423cfb83b3f4e8c2b9ed3923a9fd2ef7dca15bcc Author: Ludovic LANGE Date: 2024-07-20 15:37:13 +0200 Vehicle - enable compilation with ESP-IDF v5+ Following 43ca259b2cbc0cbbceff03664622fbb8f8890ed3 and the split of the `poller` component, a change is needed to properly compile with ESP-IDF v5+ commit 2915281af0715a46de548f80a0104d4d9492e400 Author: Ludovic LANGE Date: 2024-07-20 15:26:07 +0200 Poller - int32_t format strings changes In ESP-IDF v5+, a compiler change has been made for type int32_t and uint32_t : Cf https://docs.espressif.com/projects/esp-idf/en/latest/esp32/migration-guides/release-5.x/5.0/gcc.html#int32-t-and-uint32-t-for-xtensa-compiler This change forces us to update the `printf. format strings and use, as much as possible, the [PRI... portable format constants](https://en.cppreference.com/w/cpp/types/integer) In addition, a constant in `Atomic_Increment()` call needed to change in order to compile with ESP-IDF v5+ compiler. commit 68d1f74187466211a258d96ea0969fc79b397e90 Author: Michael Geddes Date: 2024-07-15 14:54:44 +0800 Console - Improve completion support for paths - Gets the completion length via the callback to count for dropped entries - Supports not adding space when a completion item (path) is not 'complete' commit 460098c07ffa664678c9ec6371be70da43b934ac Author: Michael Geddes Date: 2024-07-15 12:15:49 +0800 VFS Complete - Add in many more file-completion locations in other modules commit 6f99b77c7ffddee50961fef418f39a7e154c810f Author: Michael Geddes Date: 2024-07-15 12:10:06 +0800 Vfs complete - fix complete where the / was omitted commit ae944483962d6055e556b6b8f871dadddf25fb1e Author: Michael Geddes Date: 2024-07-06 08:37:40 +0800 Poller - Add Duktape interface commit 80cde76fe8cda2f8216942cb50e4317d89c810a8 Author: Michael Geddes Date: 2024-07-13 10:46:53 +0800 VFS - add globs to rm commit 1683c29892cba94842fb3b0054c4ab0093ad219e Author: Michael Geddes Date: 2024-07-11 21:47:33 +0800 VFS - Add simple * & ? globbing to ls and rls commands commit c977e6f925c43200fe64d8ce575c782bd42ef005 Author: Michael Geddes Date: 2024-07-07 10:03:00 +0800 VFS - Add file completion commit af6bc691ddb9fcd6d9ec6ad05995d938cc285aa9 Author: Matthieu Labas Date: 2024-07-08 07:26:29 +0200 Energica - Charge power in +kWh. commit 63e39c1b5c4c5a7721886e02320ef0f00f3fb8b5 Author: Dimitrie78 Date: 2024-07-06 15:32:34 +0200 Smart EQ 453 - prehead and cool funktion add 5min Booster preheat cool add TPMS pressure add Internal Temp add Doors status commit 6a72d5014b1dec30fc5276eda83549c6cd3fc66e Author: Michael Geddes Date: 2024-06-29 19:00:17 +0800 Vehicle Shutdown - rename and comment for shutdown variable commit aa26cf4e2b70c21442b18164c6f7a9c4358758ab Author: Matthieu Labas Date: 2024-06-28 11:03:03 +0200 Energica - Charge detection. Inverter temperature. Park mode. commit 13363e43d14470b4915474ee9626b55708662e1c Author: Matthieu Labas Date: 2024-06-25 11:20:19 +0200 Energica - Charge logging (fixed2). commit 6d01904fdde084323f28698b63cf6623fa586252 Author: Matthieu Labas Date: 2024-06-25 10:41:59 +0200 Energica - Charge logging (fixed). commit f7bd4096cb47bb36fcd972ebe4064a8ac08f908f Author: Matthieu Labas Date: 2024-06-25 10:32:32 +0200 Energica - Charge logging. commit d7826c588e7ca9fee3dc9ad64c67d401349545d9 Author: Michael Geddes Date: 2024-06-08 11:36:34 +0800 Vehicle - Cleaner swap / shutdown of vehicle commit ce50a29792f1d9b73d8cb63f59331b10ab233a80 Author: Matthieu Labas Date: 2024-06-22 10:41:11 +0200 Energica - Registration. commit 12afc02a6e5c54644b9238e5047b36bfdde8e6c9 Author: Michael Geddes Date: 2024-06-22 10:59:22 +0800 Poller - Move the stats logging to "data" *-LOG-PollStats commit 9580e72c35647519a0786ccbbbc2f5d8b75af51a Author: Michael Geddes Date: 2024-06-16 07:55:56 +0800 Poller - Remove dependency on vehicle.h commit 61cc795ea0bc597dbf1022e9ec29865792afe171 Author: Michael Geddes Date: 2024-05-21 07:13:26 +0800 Poller - Use Shutdown Register while shutting down commit 4d54f4c43aa9e6f4c086e80d7cf3f0a1f8d596de Author: Matthieu Labas Date: 2024-06-20 15:03:16 +0200 Energica - GPS message ID is big-endian but rest of the message is little-endian. commit 5cf86f4a6132f1d75276edb5752e869f8a2e08dd Author: Matthieu Labas Date: 2024-06-19 20:36:21 +0200 Energica - Sign correction on GPS altitude. commit 5cb03752a660455c010e0811dcca16626a60911f Author: Matthieu Labas Date: 2024-06-19 14:43:01 +0200 Energica - static_assert struct sizes. commit 9f38ee9a2aa945e6cdd94e620af0756eaed1221d Author: Matthieu Labas Date: 2024-06-19 14:13:30 +0200 Added alpha support for Energica motorbikes (SS9, Eva Ribelle and EGO). commit 189209ac99d37ff2d3485773cba5535cb2b4a4a1 Author: Michael Geddes Date: 2024-05-21 07:19:57 +0800 Poller - Make sure the overflow counters are threadsafe commit 674a5ea4acef2b14ad0aad9c62fa0f358b41c5d1 Author: Michael Geddes Date: 2024-05-27 14:53:18 +0800 Poller Timer - Improve startup of averaging - ramps up 'n' after a reset by powers of 2 until the templated N commit 37a783f91be59f0732ae3169a2808eafd374f28a Author: Michael Geddes Date: 2024-05-27 14:50:40 +0800 Poller - Reset times on vehicle.on, charge.start commit 68ad402d9dbdde03e76718b37850c4ad6031ad04 Author: Michael Geddes Date: 2024-05-27 14:47:30 +0800 Poller - Split up/Shorten poll timer messages - Use a CSV format for the timer message (for less characters) - Split at 1024 commit 90ddcacee480c8cf6f5ed2ee4a03cf43830135b4 Author: Michael Geddes Date: 2024-05-11 09:02:52 +0800 Poller - Add ability to get time/count metrics for poller entries commit 823917636765a7d8b5041f505bf50e12febb8613 Author: Michael Geddes Date: 2024-05-14 21:50:04 +0800 Ioniq 5 - Add short name to vehicle for Menu commit 93d972185a1fd01d19df569f045f581f7ccb613f Author: Michael Geddes Date: 2024-05-25 15:36:15 +0800 Poller - Fix log stagement to conditionally output (This reverts commit 2ec7a6b5a091d8ec1b148ee453b371e96470992b.) commit 2ec7a6b5a091d8ec1b148ee453b371e96470992b Author: Michael Geddes Date: 2024-05-22 23:03:22 +0800 Fix compile commit 12d44f9eaa02c9a306f2a7c8b938239c1d56f302 Author: Michael Geddes Date: 2024-05-21 07:22:03 +0800 Atomic utils - Swap to using gcc primitives commit 6029810077ec56079cda85579c238b4a4ec79e33 Author: Michael Geddes Date: 2024-05-21 07:06:13 +0800 Poller - Make sure state 0 happens on the first run after being reset commit dc44ebe0d6766ad16344300f4c3eb3236121fe79 Author: Michael Geddes Date: 2024-05-18 09:56:14 +0800 Add poller trace status to changes commit 72039339ccaad73085d25897b567015d086043b6 Author: Michael Geddes Date: 2024-05-15 22:45:27 +0800 Poller - Improve split logging - add status commit 01063c7d0ef6f3eef414227cb7d95820c8ba43b0 Author: Michael Geddes Date: 2024-05-12 17:32:54 +0800 Poller - Only try the next poll if the current multiframe is done. - Fixes issue where the multiframe polls were not able to complete due to the protocol # being zeroed. commit 7e4046042a99339d0212aac8f874cc8f780e634e Author: Michael Geddes Date: 2024-05-04 10:23:02 +0800 Ovms Poller - Reduce logging and split flags into 2 modes - Remove unnecessary logs - Move some more logs to triggered by flag. - Summarize 'dropped' RX/TX logs in poller task (not in rxtx) - Split switch of logs into RX/TX Task and Poller Task logs. commit eafafcf81ad78c247af6d1bf727cb67090d566d7 Author: Michael Geddes Date: 2024-05-12 15:21:45 +0800 Poller Shutdown - Use queuesendtofrong and tasksuspend - For both mail poller - and vehicle stand-in loop. commit a37b689b71a8b8b82186d4ca6dd6b72de41c27b6 Author: Michael Geddes Date: 2024-05-12 14:00:13 +0800 Poller - Factor Poll success from vwtp/isotp to shortcut RX poll distribution commit 152421778987506ffc623b2117d83e91ef6aeef4 Author: Michael Geddes Date: 2024-05-12 13:02:53 +0800 Poller - Tweaks to shutdown commit dd070dc6c6c4e90b0a46cf43cab4c2d75c070a1d Author: Michael Geddes Date: 2024-05-04 10:21:46 +0800 Vehicle Shutdown - Wait for loop shutdowns and close down as nicely as possible - Trying hard to avoid race conditions. - Signal loops so that we can shut down. commit a703145d24d48acd0c2fa364af497ab2ba61554f Author: Michael Geddes Date: 2024-05-11 09:01:22 +0800 Poller - Short-cut protocol handling if there is no response pending commit f5a3ba03d27e033a60e84438d7943a82381cdc15 Author: Michael Geddes Date: 2024-05-04 10:15:52 +0800 Vehicle Poller - Obey throttling commit 1ff5ea86a904b1d7e1f553fca42197bbdbe32742 Author: Michael Balzer Date: 2024-05-07 19:17:56 +0200 Web UI: update V3/MQTT server list commit 3a8d2bf516936e4211172be209cbe2acafbab105 Author: Michael Balzer Date: 2024-05-07 13:34:43 +0200 ServerV3 client: TLS support, notifications, peer keepalive & logout commit 8069d98d5a9d588012b30fa0a3676727ac0bb58d Author: Michael Balzer Date: 2024-05-07 12:51:27 +0200 ServerV3: add MQTT style event publishing commit 2c578d9edcaac12f1bf3a7f24093dfe96bb62ad7 Author: Michael Balzer Date: 2024-05-07 12:49:22 +0200 ServerV3: add notification subtype MQTT topic encoding, remove notification text MP encoding commit 2ccf66c099d4c3dbad41eb10c8eb0ae3fa7f6d0f Author: drc38 <20024196+drc38@users.noreply.github.com> Date: 2024-05-01 20:43:23 +1200 Avoid flipflop of 12v charging commit 39d8938f570827b0cd90bc9b65e675f2355510ab Author: Michael Geddes Date: 2024-04-30 07:41:06 +0800 Poller - make sure the task is started up if there is a RX listener commit b70cf369d09bc3c22dfcfd7025273a554a10afa1 Author: Michael Geddes Date: 2024-04-30 07:36:49 +0800 Vehicle - Make sure RX functions are being called from a Task commit 96df1eb61abd7de56a817389471579ac5965c332 Author: Michael Balzer Date: 2024-04-29 11:49:14 +0200 Poller: add runtime control for verbose logging commit 8950ed69d059e5329fffed4a9822ccb73c0f38c3 Author: Michael Geddes Date: 2024-04-29 07:23:18 +0800 Poller - update the order of some logs for clarity, and move some to verbose commit d17b2d414e52eecd68e3f1b92219995c7e7d3944 Author: Michael Geddes Date: 2024-04-29 06:45:53 +0800 Poller - Setting global poll state to same values is ignored again commit 8847163ebde09f790c83f7fa42f69dc18921b546 Author: Michael Geddes Date: 2024-04-28 22:29:36 +0800 Poller - Remove unused signal. commit 711ed2a6156856735069784121cdeebbff7a416e Author: Michael Geddes Date: 2024-04-28 22:29:02 +0800 Poller - Make sure first poll ticker is 0 - Was being incremented to 1 on first run commit 9717e7de436accadea0f64b34a15bb7059837c05 Author: Sam Reed Date: 2024-04-28 02:02:14 +0100 web_cfg.cpp: Remove unbalanced trailing ) from Pushover message commit f35955615a59c1f86aebd1dd45947b26d7e8c868 Author: Michael Balzer Date: 2024-04-27 07:44:40 +0200 Update sdkconfig template commit 2e8fd20b843c2e64f86997f53322b7055e63ea1a Author: Michael Geddes Date: 2024-04-25 10:52:07 +0800 OBD Poller - Fix for post-success delay to call back through singleton commit 0ef8a6ffb92b1e376b26cb0e2d611448a7f41f95 Author: Michael Geddes Date: 2024-04-20 12:14:49 +0800 Ioniq 5 - Fix fetch of full VIN - Had to use the specific address not broadcast commit 091a04c4b15dc80b53d16ac5743bbdebc563a202 Author: Michael Geddes Date: 2024-04-15 16:35:21 +0800 Ticks division - don't do unnecessary mods for ticks commit c07af45cc566e9e2b3ed812324e4e60c7cf1fb01 Author: Michael Geddes Date: 2024-04-15 16:28:28 +0800 Vehicle - Set Poll state per bus commit 9130a8af6a7fe313b10ed159e45f2cd455a4169f Author: Michael Geddes Date: 2024-04-09 10:32:21 +0800 Poller - Fix compile when OVMS_COMP_POLLER not selected commit c0a365e23741ee986ca0365ccbfbd2ee28cf9b1d Author: Michael Geddes Date: 2024-04-09 09:33:36 +0800 Poller - Fix up register/deregister of PollerStateTicker commit f26d65c13d0c0425d3a9a743853b863a6061d242 Author: Michael Geddes Date: 2024-03-30 12:34:41 +0800 Move PollerStateTicker() back to being called before PollerSend() actions - adds canbus* to parameters commit dc8c17fdf5f9f09a33de25e92aaa8d1b9a822317 Author: Michael Geddes Date: 2024-03-26 15:42:59 +0800 Poller - Fix up setting null list. - Also some other minor tweaks. - Used by VW eUP commit 21e1d0d93867ab9da5731200245e62264afb5aad Author: Michael Geddes Date: 2024-03-20 09:42:30 +0800 Poller - Tweaks to shut-down process commit 43ca259b2cbc0cbbceff03664622fbb8f8890ed3 Author: Michael Geddes Date: 2024-03-19 12:31:17 +0800 Move Poller to separate configued component commit 5b68bfa735b43b4f51c8524ddd10eda9e570be6f Author: Michael Geddes Date: 2024-03-19 11:59:33 +0800 Ioniq 5 - Poll for battery % when using V2L - Guess we are using V2L by long-term high Aux battery voltage commit 18477e9049040baf7bd3f67654a2aa2871f840ab Author: Michael Geddes Date: 2024-03-19 13:23:37 +0800 Vehicle - Add poller shell support for status and pause/resume commit 44093c9efdc378d1c48bbb1f84a1c3bb532821a0 Author: Michael Geddes Date: 2024-03-19 13:12:24 +0800 Vehicle Pollers - Separate out from Vehicle to a singleton commit 9227d31275ec01aec07da806850b5fb49e6f91f5 Author: Michael Geddes Date: 2024-03-02 08:29:56 +0800 Ioniq 5 - Doc update commit 81d41fd72d5355fa5c273763c7f544a96bb2f388 Author: Michael Geddes Date: 2024-02-20 13:30:53 +0800 Ioniq 5 - Tidy up configurations of 'Console Odometer' and Left-hand-drive - The Console Odometer is always KM (it's not from the mode 9 protocol) - The left-hand-drive reading was loading from the wrong namespace commit 8fc55fafb59c5e8097874c61a15149149977408f Author: Michael Geddes Date: 2024-02-20 13:28:54 +0800 Ioniq 5 - Implement a configurable delay for charging notification commit 07eca3bce96dfbc79f5b35c1ebbef0fa869e0626 Author: Michael Geddes Date: 2023-11-27 15:13:53 +0800 Improve Set vehicle type commit 62fe91cc3788e77d2037392500673cc01c4de83a Author: Michael Geddes Date: 2023-11-24 08:51:26 +0800 Ioniq 5 - Faster response bursts for ECU with gaps between sends commit 2630a39fe27d317caac836c72ffc2f6261f1d64e Author: Michael Geddes Date: 2023-05-26 10:51:48 +0800 Ioniq 5 - Fix ECU Lockout logic - Prevents use of Fast polling for a short period after start-up. commit c5e335074e2e103072d7f5ff3446ed632e805593 Author: Michael Geddes Date: 2023-11-25 09:15:34 +0800 Ioniq 5 - Move poll for vin to non-blocking once-off poll commit 7ff1911800000c0137aefa3fa6292d15c693e613 Author: Michael Geddes Date: 2023-11-23 14:07:19 +0800 Ioniq 5 - Add repeating poller for speed/rpm for ECU commit e1f085a47357fd477424eff9804c46f9c5bc98d5 Author: Michael Geddes Date: 2023-11-25 09:12:00 +0800 Ioniq 5 - Tidy polling commit 6d6716a52a08fbee7ed0958e6c458472549b2c72 Author: Michael Geddes Date: 2023-06-10 09:22:31 +0800 OBD Poller - Allow delay to poll after success commit cbf307ea29cb9f48ab265df0d2c3a9891911dcbe Author: Michael Geddes Date: 2023-06-10 09:19:52 +0800 Vehicle - Improve Startup and Shutdown of vehicle instance commit f5c1fdb395df74b049c1ed46d53ebe2a18f5c72a Author: Michael Geddes Date: 2023-11-23 14:02:04 +0800 OBD Poller - Add utility Poller classes to extend functionality - An async once-off poller that calls back with complete data string, allowing for retries of failed calls. - A standard poll-list series that calls back with complete data string, and allows for non-blocking repeats of the polls (for responsiveness). commit 7f8b41601c75a046ba8831b1534a207e49f81933 Author: Michael Geddes Date: 2024-01-27 11:30:07 +0800 OBD Poller - Support for retries of polls without holding up the sequence - To be able to: * increase responsiveness to changing values (like speed / rpm) * allow for retries of a command/request * without changing the polling tick frequency. commit 92fd916cc1bba619c61863f46660dc040496012c Author: Michael Geddes Date: 2023-11-23 14:36:45 +0800 OBD Poller - Use classes to handle polling and blocking calls commit d00769c222880859c5587eda008d6ec7d2725e39 Author: Michael Geddes Date: 2024-01-27 11:11:19 +0800 OBD Poller - Implement Poll command object per CAN BUS - Seperate all the OBD Poller to a class / handling ISOTP+VWTP - Place Rx/Tx responses straight to poller thread/queue - Replace Vehicle Rx thread with a command thread commit 8a0c9bc35a40fec77977e823273bc284a221f112 Author: Michael Geddes Date: 2023-05-18 12:51:27 +0800 OBD Poller - Allow variations to the polling time - Add Secondary ticks option - Move PollerSend() to Rx Thread. - Aims to Decrease latency of OBD Poll Loop ( eg for obd2ecu) - Allow primary and secondary poll lengths to be varied. - Add 'secondary' poll call source to enum - Make sure only to increase poll ticker in Primary poll tick - ResetThrottle() is done in the main ticker so its timing is not changed by the ticker time commit bbd8cba8704406945ec4458d970fdd1133763095 Author: Michael Geddes Date: 2024-03-09 08:35:45 +0800 Duktape - Add IsStale, IsFresh and Age to OvmsMetrics object commit 019ac8bbd9e48e4f2333f6f43dbb3fd5fe5975fa Author: Michael Geddes Date: 2024-04-15 16:29:49 +0800 Ioniq 5 - Add EV6 to name / documentation / VIN decode commit 5b832a0b7f9b13ef37dc884a91a89ff43a3120fc Author: Michael Geddes Date: 2023-11-28 06:17:47 +0800 Ioniq 5 - Improvements to VIN description commit 7117935509b58b5d3a299ebbc124db440e0a9704 Author: Michael Geddes Date: 2024-04-21 17:49:00 +0800 Metrics - Pare down vtable of OvmsMetric class. - A bunch of methods don't really have any reason being virtual and certainly are mot overridden. commit 1e488c3790680119f734d05a069fd200e9f381d3 Author: Michael Geddes Date: 2023-11-23 08:21:01 +0800 Vehicles - Explicitly mark overridden functions. - Also remove 'virtual' when they are actually overrides. commit 177b00460a8a67fac3a6578fe43fb6f751cab604 Author: Michael Geddes Date: 2024-04-21 17:50:10 +0800 Metrics - Fix up output of unit on vector element output - Used in Ioniq 5 TPMS command commit 09e142caa8aacba84407e711be39d4c32106d1a5 Author: Michael Geddes Date: 2024-04-21 17:47:14 +0800 Ioniq 5 - Align TPMS message commit 447fd7c48bd9b5ca40551cdd6e2f4058c242438d Author: Michael Balzer Date: 2024-04-21 11:38:25 +0200 Web UI: fix location editor preset commit 9e80c4d89717489c3ce2434e7930d40362714f95 Author: Michael Balzer Date: 2024-04-21 11:37:45 +0200 Harmonize using fixed 6 digit precision for latitude/longitude formatting (fixes issue #997) commit 1d6a103a178fc40c5528da15527d1b2fa523b079 Author: fowi4hjte <164746719+fowi4hjte@users.noreply.github.com> Date: 2024-03-31 13:30:08 +0000 Update README.md - add missing distributor from germany https://e-mobility-driving-solutions.com is selling OVMS for more then a year and is currently unlisted commit 67cc6f186e8cbf29ed57f9df90b22ce7928e2696 Author: fowi4hjte <164746719+fowi4hjte@users.noreply.github.com> Date: 2024-03-31 13:22:20 +0000 Update README.md - add link for direct Android APK download This download source is overseen quickly. See: https://github.com/openvehicles/Open-Vehicle-Android/issues/165 commit ab50584ae9a1533d0b4c6e74b1a1121dacc41e7f Author: Michael Balzer Date: 2024-03-30 11:18:55 +0100 Follow github security vulnerability recommendation commit e9df038d10ebdaf5394ff5f285e38a68bfb5c398 Author: Michael Balzer Date: 2024-03-29 17:23:01 +0100 VW e-Up: fix charge range mode detection commit 93bec30c4b589abe813526ab361df33952125497 Author: Michael Balzer Date: 2024-03-29 17:22:02 +0100 VW e-Up: fix crashes from T26 charge control code in OBD only mode commit b4c70ce85ff4932e4d240d75a88aec6720b5ffdf Author: fowi4hjte <164746719+fowi4hjte@users.noreply.github.com> Date: 2024-03-27 23:58:13 +0000 Update README.md - update description to represent hardware version 3.3 (#987) * Update README.md - update description to represent hardware version 3.3 commit fc5ef005fbc2f5aa19352dc3bbdca72d9b53912d Author: Mark Webb-Johnson Date: 2024-03-28 07:10:28 +0800 Update copyright statement commit 0d5e3c9645ce5072f3161a853939aca6ad68333b Author: sharkcow Date: 2024-03-26 09:17:36 +0100 prevent charge attempts when unplugged commit b036a5168d1848f29936c283aa800dc9d4f79851 Author: sharkcow Date: 2024-03-26 09:17:01 +0100 add VW e-Up change info commit 5209f56d2a83eb7520f5e3c4581b6619f6a7e9cf Author: Dimitrie78 Date: 2024-03-25 10:33:11 +0100 SmartED 451 add options to set custom poll times for Cell Voltage commit bf765e9c1b1051e16a1f25c764a034247bb5ef35 Author: fowi4hjte <164746719+fowi4hjte@users.noreply.github.com> Date: 2024-03-25 01:37:59 +0000 Update README.md - remove fasttech (#983) Fasttech is not a distributor of OVMS any more since a longer time but still listed here. commit dc6fa8cb6b0328d9c07288f193c804bfb3c30943 Author: Michael Balzer Date: 2024-03-23 10:16:25 +0100 Changes.txt for 3.3.004 commit f5b270a6908f708a8b8e00f12b42fd1c4ac78cba Author: Dimitrie78 Date: 2024-03-18 19:44:08 +0100 SmartED 451 fix cell voltage offset commit bf2a52605d6e3b4516caa7d544debfbd0ef98972 Author: Michael Balzer Date: 2024-03-16 18:25:26 +0100 CAN drivers: fix registering off mode for "can … status" commit da971da03a28ba06078fa6f082c3efa2a6fbadd2 Author: sharkcow Date: 2024-03-10 20:36:45 +0100 fix setting maxSoC to 0 during charge fix resetting current limit when ConfigChanged is called w/o climit value changed fix prevent timeout after retries have exceeded add drive mode lever position prevent climatecontrol when lever not in "P" clean up checks before charge/climate commands commit bf0e9392bf21a07c7183b1d86a27e8489afafe03 Author: sharkcow Date: 2024-02-19 10:26:20 +0100 remove binary commit 175c520a99a135fb8f7a1c4b5ef01ab802d837ae Author: sharkcow Date: 2024-02-19 10:24:05 +0100 final cleanup commit 8a73dbba5ca037e4f8e729a420baa42ddfcc1c26 Author: sharkcow Date: 2024-02-14 11:03:12 +0100 test commit e872fa8a22243bb9f66e55bbc734ddcda7fa2be6 Author: sharkcow Date: 2024-01-03 17:20:08 +0100 add official VW SOH from ECU 8C PID 74 CB commit 9e41b22b4f1d5c9b23d289bafd86acacf1caec40 Author: sharkcow Date: 2024-02-08 12:59:03 +0100 fix VW SOH replace StartStopChargeT26 charge with SetChargeCurrent where appropriate improve init values fix updating profile0 values on boot add wakeup_success fix abort wakeup on running profile0 command fix wakeup failing due to missing heartbeat reduce semaphore wait times safeguard against workaround current lingering only start/stop profile0_timer (don't create/delete) check for plugstate on charge start and climate control on battery, add notifications test 100ms blocking time in timer stop & delete commit 002037bf5b34d6036b8abde9258ee1021428d7a9 Author: sharkcow Date: 2024-02-07 20:29:30 +0100 undo event experiment commit 6c03cc59e92bf30d03ecc9299e02311b09ee0137 Author: sharkcow Date: 2024-02-07 20:28:47 +0100 transmit SOH as float commit 2201b68a13e74448d012454514530d2f347f404b Author: sharkcow Date: 2024-02-07 20:22:18 +0100 only reset charge current when workaround is active commit b053ad321af6ab5f411931ec795abadc8d1aea1c Author: sharkcow Date: 2024-02-07 20:20:24 +0100 bugfix set charge current limit commit 3e93ec495ef65eb6f63e9a9fcc6f435e0182aa5c Author: sharkcow Date: 2024-01-03 17:20:08 +0100 add official VW SOH from ECU 8C PID 74 CB commit eb8327866ee4e2783bdf916ff07c7d8df6457c13 Author: sharkcow Date: 2024-01-27 14:07:50 +0100 disable buggy resetting of charge current and cc_temp§ commit c0a5db05ff07390819f43869745d2aec1bd57661 Author: sharkcow Date: 2024-01-27 13:48:02 +0100 disable buggy reading profile0 on boot commit 4d16f47041c70bd39ee912a697786f0d6fd31c9f Author: sharkcow Date: 2024-01-03 17:01:17 +0100 update build commit 912d10576b2f2e011739b6bbbee6f176e8304d1a Author: sharkcow Date: 2024-01-03 16:52:26 +0100 variable cleanup improved logging improve xvu limit check (re-)introduce 1A charge workaround (fakestop) introduce key constants separate semaphores for waking & charge current rework of wakeup (wait for 69c response, start heartbeat right away) remove dev mode read profile0 on init unify T26 checks fix awakeloop (xtimer repeat false, restart in own code) streamline wake+profile0 flow commit 13545251b4eff86fd765c42cbf0c1e3fa7fb0cc8 Author: sharkcow Date: 2024-01-03 16:38:37 +0100 set lower current limit to 4A commit 12de0fa1558b77d18f2d0a00d889ccd49778d39c Author: sharkcow Date: 2024-01-03 16:37:44 +0100 introduce key constants separate semaphores for waking & charge current rework of wakeup (wait for 69c response) remove dev mode commit 1c5add1f6bab6b190d25b2a5b2f3d2ac64e4b233 Author: sharkcow Date: 2024-01-03 16:34:23 +0100 variable cleanup improved logging improve xvu limit check (re-)introduce 1A charge workaround (fakestop) commit 28b4f7cfd27b144b2073541e2250047333b2a6cd Author: sharkcow Date: 2023-12-21 21:57:25 +0100 typo commit 92a28a89c6ce2d8bc7d2f7964a2de81b800b2d5f Author: sharkcow Date: 2023-12-21 21:53:19 +0100 new build commit a1cb292e152da0f61859a33b49b74b8b474e806b Author: sharkcow Date: 2023-12-21 21:52:34 +0100 change SoC limit to 0..99%, add hint commit 27f3d53a0f6c5f750295a2891a13c43833f37c39 Author: sharkcow Date: 2023-12-21 21:51:42 +0100 add user profile0 commands fix handling of topoff charge state add notifications reset xvu values on failed change unify criteria for t26 write command add semaphores to wait for charge command success commit a107bacb4b979ec6d37cb9661bb7f8ed038a15a2 Author: sharkcow Date: 2023-12-21 21:42:24 +0100 add profile0 user commands fix handling of topoff state fix charge autostop commit 59a34143b8e1299f5a29de4cdfc1e48c818ba096 Author: sharkcow Date: 2023-12-09 09:45:20 +0100 bugfix OCU heartbeat timer commit 628800bc6477f78bf9236312259fe8fc6ad34a9b Author: sharkcow Date: 2023-12-08 18:36:19 +0100 clean up ugly code commit ed44df777ffa16ed71659941b63d903a4d008fd7 Author: sharkcow Date: 2023-12-08 08:56:30 +0100 adapt current limit slider according to model year commit 9681e47ffd95e2b459586b25abb6deae12427572 Author: sharkcow Date: 2023-12-08 08:56:00 +0100 add wait to provide correct return values on charge commands (start/stop & current) reset xvu values (cc_temp, climit) when profile0 fails to set (try to) fix ring asleep/awake loop bug improve logging commit fd81fa49421b452c8bb9b8dcbf17918922b03ca0 Author: sharkcow Date: 2023-12-06 22:10:14 +0100 improve wakeup, esp. on low 12V battery commit 99fc8413ff8e6675c77e2833ef672d3797f4ba90 Author: sharkcow Date: 2023-12-06 13:53:57 +0100 add climit_max dependent on model year improve logging improve timer handling (OCU heartbeat) improve charge autostop (set current to 1A) commit 447f8adf93dd5d0c534b3e2a31ce00225082d188 Author: sharkcow Date: 2023-12-02 15:24:20 +0100 try to improve charge detection... commit 960d02a584a0624a23aff7bdaa18ced154d218c0 Author: sharkcow Date: 2023-12-02 12:15:43 +0100 bugfix start/stop message commit ab2076764e0728804e62b5d3d84a5634d2fcb080 Author: sharkcow Date: 2023-11-30 21:57:04 +0100 more bugfixes... :-/ commit a285c85bc2c11fc55f8e41461dc4356a75f39ae6 Author: sharkcow Date: 2023-11-30 21:39:29 +0100 bugfix/improve wakeup commit 1837e3d356c1e923052ae79ccdaaab1a1a440863 Author: sharkcow Date: 2023-11-30 17:48:21 +0100 only check the two bytes that are never 0 commit f8979fcc55d6844bfdaebeebf9c9bce94fe70fea Author: sharkcow Date: 2023-11-30 17:40:21 +0100 show original profile0, always write commit 472328fd155097b02f0d1bf09f0dd4378e396618 Author: sharkcow Date: 2023-11-29 19:42:01 +0100 fix charge mode communication improve web page commit bf3034496f3fc610299a604d27e1c962ae20fe69 Author: sharkcow Date: 2023-11-24 17:56:11 +0100 remove unused old code, improve wakeup & profile0 communication commit e11a0d0054358b0acc7dcc06cf984c5f4c3b2ec0 Author: Michael Geddes Date: 2023-11-06 13:30:51 +0800 Metrics - Specify a few more methods and destructors are overridden - Some more overrides were marked virutal - Mark overridden destructors as 'override' not 'virtual' commit 3a9ac752c878cc686c79eebcaf2399b0a1ac3b03 Author: Michael Geddes Date: 2023-10-21 09:39:14 +0800 Metrics - Clarify which methods are overridden - Some overrides were marked virtual - Mark all overridden methods with 'override' commit 2c03eb382fd30490b05a004a42e1afe893f59036 Author: sharkcow Date: 2023-11-20 08:31:06 +0100 first implementation of reading/writing comfort CAN profile0 to start/stop climatecontrol and charge as well as set climatecontrol temperature and charge current commit 651c8a66f23a398a9f7338a4a0ab8220ba4b0eba Author: Ben Campbell Date: 2024-03-03 15:49:22 +0000 Leaf docs spelling corrections commit 7188d6c6a25c766f03705f83cfb1505928626b2d Author: Ben Campbell Date: 2024-03-03 15:46:23 +0000 Update leaf documentation commit 8665f0a83f9b3749dd5f8e27f21ff80f7f61ded0 Author: Dimitrie78 Date: 2024-02-24 17:55:04 +0100 Renault Zoe Ph1 corrects the description and headline length commit 3ea6a43d1d4625a5c8edcc2c5874d7438769c42e Author: Dimitrie78 Date: 2024-02-22 19:26:26 +0100 Renault Zoe Ph1 add Cabin Pre-heat/cool Control commit fe2d2e2f90322c247004039e5fee7a7a3e055ea7 Author: Michael Geddes Date: 2024-01-22 12:05:36 +0800 ESP-IDF v5+ - Use new function for Core Task handler commit 72a211249468c77106da351bd6c4d38b0d4bc62e Author: Michael Geddes Date: 2023-12-06 17:33:27 +0800 ESP-IDF v5+ - Move to new SDCard function commit 997c9708aa864c17309ef6283a8f451642f5948e Author: Peter Harry Date: 2024-01-20 13:32:01 +1000 Added documentation Added documentation regarding the addition of the MG5 Short Range. commit 85b345aa2afaeec7a1871e7489e6a3ddf72c80e6 Author: Michael Geddes Date: 2023-12-06 17:24:39 +0800 CanOpen - Fix issues with visibility of virtual overloads in newer compiler - CanOpenworker is now 'final' to remove warning for missing virtual destructor, which is not required despite being accessed via pointer. - SendNMT() etc were overloaded not overridden and so no need to make them virtual (yet?) - Remove other unnecessary virtual specifiers commit a0e605f68415ca06438d43caa78f2070f9315826 Author: Michael Geddes Date: 2024-01-17 13:18:50 +0800 Metrics - Fix compile with reduced defines commit 1e34bb319d7508694752b9b48591e3031f94e476 Author: Michael Geddes Date: 2024-01-07 11:24:32 +0800 netmanager - Fix compile if without Mongoose commit 3a7eb36315d0618ddd8e1a16ffadeec2bf2c219f Author: Michael Geddes Date: 2023-12-10 10:35:08 +0800 Plugins - Fix Compile without DukTape commit 5e71048098cbe127f4684e1a3b49007e161b17d9 Author: Michael Geddes Date: 2024-01-18 21:12:51 +0800 Kia - Fix SET_CHARGE_STATE to handle (now deprecated) NULL conversion commit ddcae023eb8069d1bc2d35c3c8559fce56f0a91f Author: Michael Geddes Date: 2024-01-18 21:12:12 +0800 Wizy - fix warning of unused result in macro expansion - Convert to local functions commit ef8e1d81dbdcc6f7a0dabafc01083a1fec2fc1e1 Author: Michael Geddes Date: 2023-12-06 17:34:10 +0800 VWTP - Add explicit capture of 'this' for closures. - Implicit capture of 'this' deprecated in new compiler commit e0172bc9c3cd2e4ef94a134909e906b49ddd958a Author: Michael Geddes Date: 2023-12-06 17:27:27 +0800 CAN - fix deprecated warning casting enum to float. commit c46f7bb1f0ebfd5cd9eb0959bcfde5fbd294a846 Author: Michael Geddes Date: 2023-12-06 13:53:17 +0800 Test Framework - Work-around infinite recursion detection - Infinite recursion detected in test for stack overflow in newer compiler. It's correct, but we can trick it not to warn commit 94affd57977612593a2721e14fc3c013867efb03 Author: Michael Geddes Date: 2023-12-06 17:26:41 +0800 Metrics - Make sure overloaded SetValue /Operator = are visible at top level - Due to compiler changes commit 24761d1c78760fc695fe36bb5447decc599d23af Author: Michael Geddes Date: 2023-11-23 18:26:36 +0800 OBD Poller - Implement Pause/Resume of polling - Also removes access to the poller list by vehicle implementations commit d195c0c1fd71edd65c883e7e91c22b4f333e647d Author: Michael Geddes Date: 2024-01-15 12:36:58 +0800 GPS - don't double-up on 'missing' logic for speed metrics commit 07e628e3acf62a19561a9f7403cbfd59ad56f235 Author: Michael Geddes Date: 2024-01-15 12:33:40 +0800 Ipace - Fix logic on HasPollList() - Even though it is a disabled section, it should be correct commit 3146ba505e5de2a49045a7d4949eb0dd3df188f5 Author: Michael Geddes Date: 2023-12-06 17:28:35 +0800 http - Clear bad buffer if unexpected size. - Was coming up as a warning in later C++ commit 90109765d8bd9e8e6e4d053e293728e3523bdc9f Author: Michael Geddes Date: 2023-11-28 17:36:08 +0800 GPS - Handle speed/direction missing from data - Blank direction will leave the value as it was - Blank Speed only zeros speed after 10 seconds. commit cb54a512784533d45a59530eedd9645b724b338c Author: Michael Geddes Date: 2023-12-03 16:44:38 +0800 Metrics - Implement date metrics as 64 bit commit 19d7168c8411e82c558d6e4ce25c8e2b509638fc Author: Michael Geddes Date: 2023-12-02 17:29:45 +0800 Metrics - Support for 64 bit metric (with persistence) commit 79f2912e9d767992b2b943a8d67efe6c0f0de2b8 Author: Michael Geddes Date: 2023-11-23 09:45:14 +0800 OBD Poller - Cleaner interface to Poll-List and retrieving next entry - Factor retrieving of next poll entry - Pass in Enum of poll call reason Primary/OnceOff/PollSuccess - Clean up resetting of ticker. - Introduce PollRunFinished() commit 29cc0734a0982be78c71088a9b310e52c363144c Author: Michael Balzer Date: 2024-01-07 15:55:36 +0100 Cellular: faster modem recovery from crashing powered on (see https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/952#issuecomment-1817819845) commit c79be49def37afccf74c466fd89ec3cae4e0af01 Author: Michael Geddes Date: 2023-09-25 16:32:40 +0800 Vehicle Poller - Remove obsolete PollerReceive function Signed-off-by: Michael Geddes commit 8dc045e0f8a9f8b271ab86b12587a545f30c56cb Author: Michael Geddes Date: 2023-11-23 08:34:27 +0800 Vehicle - use moduleid_rec parameter instead of 'moduleid_low' commit 4f900e4ee5a8db959e80499ddc47fb87dbb41f43 Author: Peter Harry Date: 2023-12-12 16:09:25 +1000 Improve SOC accuracy Update dod_upper to improve accuracy. commit 1eb8f0a55e7ffa6dee8120813d9b48d20e6c7d8e Author: Peter Harry Date: 2023-12-11 12:58:48 +1000 Update mg_configuration.cpp Fixed value reversal here as well commit cf9c2a313896d6cf1c54782fc89cdacf395e8eca Author: Peter Harry Date: 2023-12-11 12:07:39 +1000 Fix DoD values Found DoD lower and upper were reversed so corrected. commit e1afd8ead73b3b7b890d3bb97e6236009f26c86e Author: Peter Harry Date: 2023-12-07 20:13:44 +1000 Fixed a few things that were missed Added Deregistering for version web page. Initialised MG5 values using the version setting. commit 561422880cd6fbc3b7c0725ac552db51bab645df Author: Peter Harry Date: 2023-12-07 17:39:14 +1000 New code for MG5 Short Range Created a Version Configuration web page for the MG5 to select Long or Short range. commit b64afceff2c3593830c643858a8f73341c13a14c Author: Michael Geddes Date: 2023-12-03 10:58:56 +0800 Doc - Update document for metrics now showing as date-times commit 5611126ca1679fbbca7aac4ac278ec7fd655c439 Author: Michael Geddes Date: 2023-12-03 11:01:16 +0800 Standard Metrics - Change Service Time to be a DateLocal and fix comments commit 400afbc4c92a2be77e99fdc6983374048849223e Author: Michael Geddes Date: 2023-12-02 17:27:27 +0800 Metrics - handle registering of array elements properly - Name in map was pointing to stack memory. commit aa7762fe03158fa5b2040057a6bfc1283d7c8a9d Author: Mark Webb-Johnson Date: 2023-11-28 08:04:20 +0800 Documentation update to reflect Hologram SIM recommended but not included commit bfa924703c92035a7e0947981a1a64287361c732 Author: Michael Balzer Date: 2023-11-26 08:28:07 +0100 Server V2: fast reconnect, disconnect event & log entry on stop commit 8926e885c48cabeef259903c12e6499f00f496d4 Author: Michael Geddes Date: 2023-11-23 07:37:36 +0800 TCP Poller - Move incoming job state information to a structure - Makes the IncomingPollReply* functions consistent. - Don't have to create a temporary version of the state structure. - Will allow it to me more easily transferred to a poller class. commit 945ea878f530b84d53c3e863e9068009c46d7ba1 Author: Michael Geddes Date: 2023-11-06 15:46:40 +0800 Metrics - don't have virtual destructors when it is not needed commit ad5caa6b5be35e8be988523c52174ba674831963 Author: Michael Geddes Date: 2023-11-06 13:30:51 +0800 Metrics - Specify a few more methods and destructors are overridden - Some more overrides were marked virutal - Mark overridden destructors as 'override' not 'virtual' commit 440dc7de7a099b13f600c17321a868f9f661775e Author: Mark Webb-Johnson Date: 2023-11-06 13:18:41 +0800 readthedocs theme error commit 7b90794b3523e89797f9a5652461c4c2950fce93 Author: Mark Webb-Johnson Date: 2023-11-06 13:13:59 +0800 docutils errors building readthedocs commit e08d35593f115b60defa7ac624a0d97e728db587 Author: Mark Webb-Johnson Date: 2023-11-06 13:10:03 +0800 Explicitly list requirements for readthedocs commit 8937b118781cce4e1882e640d7d4807b2f41d75b Author: Mark Webb-Johnson Date: 2023-11-06 13:04:30 +0800 Introduce a .readthedocs.yaml for automated documentation builds commit 5a61c46ec45501e166b415d83438f14a42a7f126 Author: Daniel Date: 2023-11-05 12:45:13 +0200 Add 62kWh option to LEAF webui commit a4a152337fd09efbead9b67f4d6a7500d2b3ac5d Author: Michael Balzer Date: 2023-11-04 20:27:00 +0100 Documentation: add section on remote command execution APIs commit e497dc0d8473b0bb096b15f668407d9a753c87e6 Author: Michael Balzer Date: 2023-11-04 19:49:53 +0100 Server V2: implement MP command 49 (send modem AT command) commit e5c34de7d76d01b690989217ffe9e33ad79ff96f Author: drc38 Date: 2023-10-25 23:27:40 +1300 Further improvements commit f45d310f635787f60a367e8d3363e29dfe7d6fee Author: drc38 Date: 2023-10-23 12:02:36 +1300 Improve 7600 power on off commit 0382c5a1b7c3fbc8198dba404eb1f305957c8633 Author: Michael Geddes Date: 2023-10-21 09:40:21 +0800 Metrics - add Date metrics with local/utc printing commit 14a4b0e75bd7040eca353ed5366ce009f5b8bf8d Author: Michael Geddes Date: 2023-10-21 09:39:14 +0800 Metrics - Clarify which methods are overridden - Some overrides were marked virtual - Mark all overridden methods with 'override' commit 1192ff215970f18f5dfcdf6c7086247217c01754 Author: Michael Geddes Date: 2023-10-22 17:04:13 +0800 metrics conversion - Fix dbm case. commit 2ae9da6f79c2d9e74e5dad16e20384adce620f1c Author: Michael Geddes Date: 2023-10-21 08:10:24 +0800 UTCTime/LocalTime - Various fixes to units and conversion - Fix JSON Output - Tidy code to use switch() for readability and add necessary cases. - Add reverse conversion for TimeLocal to TimeUtc - Add parsing of string commit 5469da5e5ed6785c9ab00ef4b4289e585935b9b1 Author: Michael Geddes Date: 2023-10-15 09:01:19 +0800 OVMS Unit Conversion - Add breaks to switches Signed-off-by: Michael Geddes commit 0985460bfa099286077740edce329da275d237ab Author: Michael Geddes Date: 2023-10-15 08:58:43 +0800 Move to thread-safe time functions - localtime -> localtime_r - gmtime -> gmtime_r - asctime -> asctime_r commit 03b1d28c27da0c4ab58601ea2cb7b70e9fcd2de2 Author: Peter Harry Date: 2023-10-19 16:35:36 +1000 Fix handling of BMS DoD values BMS DoD limits were not being updated when Config changed in the MG ZS EV (UK/EU). Added code to fix this. Save DoD Lower and DoD Upper to MyMetrics instead of MyConfig commit ec9419197b4f202f2cb7ca1735cc6457fca6ccb3 Author: Michael Balzer Date: 2023-10-09 08:03:13 +0200 Revert "Fix bms dod limits" commit 71019f3ae0f7619acb861a6ccc0ad1c1130eb6f1 Author: Peter Harry Date: 2023-10-08 17:59:34 +1000 Update vehicle_mgev_a.h Remove unused code. commit 005b2b06737ed73a559a0b4e2117b627a2fc3d1e Author: Peter Harry Date: 2023-10-07 17:05:38 +1000 Fix BMS DoD Limits BMS DoD limits were not being updated when Config changed. Added code to fix this. commit 8ef86968d315f596df7239f236c62c9355a8f399 Author: Michael Balzer Date: 2023-10-03 14:36:59 +0200 VFS toolkit: add recursive options to mkdir (-p) & rmdir (-r) commands commit 61707de360862a9d6ef9259811b9ceaf5142b3fe Author: Michael Balzer Date: 2023-09-29 16:10:09 +0200 Docs: add standard OBD2 connector image commit 5500825e68a04bcf61469cc56d77d726ad2b5626 Author: Michael Balzer Date: 2023-09-23 11:28:05 +0200 Plugin TasmotaSP: add power/energy detail dialog to status plugin commit d11d357bb12255db451e88ba16313cfe041ed171 Author: Michael Balzer Date: 2023-09-21 11:17:07 +0200 Vehicle: race condition fix for 12V shutdown logic commit 1437482b5b3554db4d8967e63b429b79c3a5f8c6 Author: Michael Balzer Date: 2023-09-21 11:12:00 +0200 Vehicle: add 12V shutdown delay & notification New configs: [vehicle] 12v.shutdown_delay -- Shutdown delay in minutes (default: 2) New events: vehicle.alert.12v.low -- 12V shutdown voltage level detected vehicle.alert.12v.operational -- 12V recovered above shutdown level New notifications: [alert] batt.12v.shutdown -- Alert about imminent 12V shutdown commit 97378f6e301de72a488a0e88df5db268f6fd750c Author: Peter Harry Date: 2023-09-20 12:24:53 +1000 Fix MK2 battery capacity Fix error in documentation to show MG ZS EV Mk2 Standard Range support. Fix Mk2 battery capacity. Change vehicle dropdown to be clearer commit 9f3da54a747f7dceebf5d7bf8c2e21ba627720a3 Author: Michael Balzer Date: 2023-09-19 09:33:16 +0200 Manual: update server HTTP /api/tpms documentation for V3 extended data commit bde066dcb11a59d33bfd80f44cf4fcb421be23af Author: Alan Harper <475+aussiegeek@users.noreply.github.com> Date: 2023-09-17 16:15:07 +1000 Add docs & sdkconfig defaults for Atto3 commit 05f25c22b0aae389b4759f8d23d6b7a493b121ee Author: Alan Harper <475+aussiegeek@users.noreply.github.com> Date: 2023-08-05 02:00:43 +0000 BYD Atto 3 commit fbb768bd17810a2c3d8bd5df3518230ef6553074 Author: Michael Balzer Date: 2023-09-14 15:14:52 +0200 Vehicle: add automatic module shutdown/reboot based on 12V battery voltage level New configs: [vehicle] 12v.shutdown -- Shutdown voltage level (default: disabled) [vehicle] 12v.wakeup -- Reboot voltage level after shutdown (default: any) [vehicle] 12v.wakeup_interval -- Reboot test interval in seconds (default: 60) New events: vehicle.alert.12v.shutdown -- 12V shutdown threshold reached, entering deep sleep commit 8671d03a22cdf892dab0b9c243039bc99b9c642a Author: Michael Balzer Date: 2023-09-12 19:06:38 +0200 Plugin TasmotaSP: add power/energy monitoring commit 1de4b4f3786ed954548e642ed701f8d798f1081c Author: Michael Balzer Date: 2023-09-08 19:55:55 +0200 New plugin: Tasmota Smart Plug control v1.0; based on & currently basically identical functionality as the Edimax plugin (except added support for multi socket strips) commit 1c8f592fe592d969b7219d1d54ab5455823940d6 Author: Michael Geddes Date: 2023-05-17 09:17:16 +0800 Zoe + Smart ED - Move static locals to member variables commit 6f40a93651e0b30cf45cc58a44068286de87c448 Author: Michael Balzer Date: 2023-08-19 10:05:24 +0200 Revert "Zoe + Smart ED - Move static locals to member variables" commit 4b6f8a70e2adddde49181a7541dfdeba65d95d57 Author: Peter Harry Date: 2023-08-10 21:15:57 +1000 ESP-IDF5 Changes Changes to be able to compile using ESP-IDF5 commit 29019d3c1303d5c5a7277bb5e331d879a2494439 Author: Richard Taylor Date: 2023-08-01 19:33:21 +0100 Update v3 server so that metric streaming obeys the caron state and streaming time value. Modify the next update logic to take the shortest next time out of the enabled values. commit 87e84e0d90e993bb0a81a195cec7ca974c721279 Author: Michael Geddes Date: 2023-07-13 18:54:18 +0800 OBD2ECU - Use callback to stop overload of limited ECU queue commit 0f913769c6b435c8c5b2d2e05909ce5268761368 Author: Michael Geddes Date: 2023-07-14 16:32:34 +0800 OBD2ECU - Keep RPM +ve (the value is unsigned) commit d844398b1b7be551c5934fd7d65850cd2463b7fe Author: Michael Balzer Date: 2023-07-22 07:50:51 +0200 Plugin Edimax: uppercase ON/OFF fix by Olaf Straube commit 69a6a2611968c6550c85928d149e083f2a9b8a0d Author: kezarjg Date: 2023-06-25 18:21:04 -0400 Add digits of precision switch for efficiency commit 105e47cf467c4ccceb711c958460d4f994a82c96 Author: Mark Webb-Johnson Date: 2023-06-23 10:27:56 +0800 Add comment on server v3 documentation regarding the authentication plugin commit 303b23061f044328243f84c1b8f76c93b35a88b7 Author: Glyn Hudson Date: 2023-06-22 10:46:18 +0100 PH2 Zoe ZE50 commit 7b03db0e81c59f88200be48f93b8d311c2debe78 Author: Tamás Kovács Date: 2023-06-20 06:14:12 +0200 version change commit d811145d0a20e07a6d709cf43a1b278cc6f4ff5b Author: Tamás Kovács Date: 2023-06-20 06:13:19 +0200 Fix efficiency calculating commit c2881474020998165b03d6e5a50f5afbc2b1d6da Author: Tamás Kovács Date: 2023-06-18 08:43:19 +0200 Remove some logging Changes list update commit 8f37874ee5ac1718ac1d2d7285370e265e2afe9b Author: Tamás Kovács Date: 2023-06-18 08:33:35 +0200 12V current fix commit 8dcf274657fffbb6d8c5d0c7c9bddfc6e885fee2 Author: Tamás Kovács Date: 2023-06-17 16:01:30 +0200 Add ambient temp and change polling interval commit 5573c83ad2a264cb8045f100492601e50840ca74 Author: Michael Balzer Date: 2023-06-17 09:19:01 +0200 Plugin ABRP: restore README for new repository structure commit 50aafa0a42620ff8f218d8e30d2353388412f373 Author: Tamás Kovács Date: 2023-06-17 05:55:03 +0200 Add Voltage/temp reading to newer cars commit d6c506244b6c972ef27d90fd28730c63c1ad1737 Author: Tamás Kovács Date: 2023-06-17 05:43:28 +0200 Remove unused variable commit 95548457326a4e943e17d39b371edcea3c80f119 Author: Tamás Kovács Date: 2023-06-16 06:05:17 +0200 Add RX buffer to polling commit f491525fc97cb3ed23aed4e0d2d0222a0e4eb469 Author: Peter Harry Date: 2023-06-15 14:20:02 +1000 Update changes.txt Added note of support for new vehicles commit c3e3921ab2fd78b4ffcdca894f0522632e29c04a Author: Peter Harry Date: 2023-06-15 14:13:16 +1000 Update index.rst Update documentation regarding new models commit 2045ae8d33e96349a7153cefd9473ef8865e5481 Author: Peter Harry Date: 2023-06-14 11:22:16 +1000 Improve Vehicle Name Change displayed vehicle names to be more accurate commit be900b4a74dbcfe06bfd2d0546c21d0cbeb39359 Author: Peter Harry Date: 2023-06-10 14:36:36 +1000 Add new vehicles to docs Added documentation for new vehicles. Fixed missing can handler switch for MK2 and MG5 commit fb8c04cf3bb6aa699d32f05858f2dbf526094f5c Author: Michael Geddes Date: 2023-06-05 08:45:40 +0800 Vehicle - Poll Reply now use incoming state.mlframe commit 9034ea7da22b350be8691b64b896591254b47e21 Author: Michael Geddes Date: 2023-06-10 11:22:35 +0800 Vehicle - Pass state info IncomingPollReply/Error parameters - Aim is to remove / hide direct access to the protocol methods of OvmsVehicle commit 5ec49b9f513a2c57f968d0d654a2a6362c04574b Author: Peter Harry Date: 2023-06-08 18:09:24 +1000 Move Shell Commands Moved the shell commands to the appropriate vehicles commit 3a2cea53f1cf4e5c10945b91dae6bca3215b541b Author: Peter Harry Date: 2023-06-08 17:25:20 +1000 Update mg_poll_bms.cpp Fix Ideal Range calculation error commit a7d3e6a3e049aa7adda6bc32220acbe09ef43401 Author: Peter Harry Date: 2023-06-07 19:06:02 +1000 Define Battery Capacity & Max DC Charge Rates Defined seperate Battery Capacities and DC Charge rates for each model. Fixed EVCC formulas for newer models. commit af95e29d963c8041cb6cb3f442bef78168dde642 Author: Peter Harry Date: 2023-06-07 12:27:13 +1000 Added code for MG5 and ZS EV Mk2 Added new vehicles MG5 and MG ZS EV Mk2. commit a97272369f4595fb4bdc39aa7d36195947bb5890 Author: Ludovic LANGE Date: 2023-05-26 07:58:21 +0200 mongoose: fix compile recipe * fix wolfssl path and requirement for ESP-IDF4+ * update project-wide mongoose compilation option for ESP-IDF4+ * additional defines only useful for Mongoose >= 7.0 commit 9d4192a3ed97bb51a65b556d4a55a2bf16b0f4ba Author: Ludovic LANGE Date: 2023-05-29 00:12:02 +0200 identify dependencies to mongoose, and generate a mongoose version header In preparation of a future mongoose upgrade, we need to detect current mongoose version. This is done by generating a private header `include/mg_version.h` which is generated at compile time (both by `component.mk` and `CMakeLists.txt`, from a template file `mg_version.h.in` and the version in `mongoose.h`) To ensure proper compilation order (the generated file needs to be created before being included), we need to identify components that depend on the build of mongoose. This is recorded both in `component.mk` and `CMakeLists.txt`). Signed-off-by: Ludovic LANGE commit 23371669935d311c8c2dfce880cfed1a0bb58c47 Author: Tamás Kovács Date: 2023-06-04 10:44:15 +0200 Eneble logging on 766 PID OBC commit 03b12b94efe651ea2bf5b28cdde96e41258a8c85 Author: Tamás Kovács Date: 2023-06-04 10:17:47 +0200 v.1.0.17 swap xmi.b.power.min/max commit f2a7f4bc496af400b02b0f021f9317c6fea8730b Author: Ludovic LANGE Date: 2023-05-29 17:27:34 +0200 fix a few issues appearing when disabling/enabling components * (specific to ESP-IDF4+) : make `ovms_plugins` compilable with or without `duktape` * `vehicle_hyundai_ioniq5` had issue when disabling webserver component * `vehicle_maxus_euniq56` had missing header when disabling webserver component Signed-off-by: Ludovic LANGE commit 915f9e37881e5efd9b27c2d166ca6f52488796f1 Author: Ludovic LANGE Date: 2023-05-23 09:00:05 +0200 ESP-IDFv4+: fix cmake build of ovms_webserver When converting to CMake builds, we had difficulties in finding a way to properly set (define) some constants at build time (defines that are setting the modification time of embedded files). Commit 76570685 was a partial solution, which was working but had a few shortcomings: * It was modifying the standard build (ESP-IDF 3.3.4) * It triggered at each build a full cmake reconfigure, which was very annoying * It introduced a new header file, and a new helper script. With more experience, we finally found a way to make it work 'the cmake way', so we can now revert our previous approach - and put back the previous build system as it was before (with CPPFLAGS defines) Signed-off-by: Ludovic LANGE commit 195e5c2c19a64b0b6791fa1bf06bec6d9373b511 Author: Michael Geddes Date: 2023-05-17 09:17:16 +0800 Zoe + Smart ED - Move static locals to member variables commit 6babe06c7b4d01d558535e94af37bf2a06bdf3bd Author: Ludovic LANGE Date: 2023-05-15 01:07:01 +0200 ESP-IDF4+ : first steps to support other archs than XTensa in `boot_data.crash_data` XTensa and RISC V have differences, and `boot_data.crash_data` being low-level is exposed to these differences. We try to handle the CPU registers dump for both architectures. However backtrace is not handled (yet) for RISC V. Signed-off-by: Ludovic LANGE commit 44682d035a8c2a77345c692bab1fce6150f93cd1 Author: Ludovic LANGE Date: 2023-05-15 00:56:16 +0200 ESP-IDF4+ : `esp_task_wdt_get_trigger_tasknames()` not available `esp_task_wdt_get_trigger_tasknames()` was a custom patch of our ESP-IDF 3.3.4 fork. It is used to list the names of the task(s) responsible for triggering the WDT, and this information is saved in the (persistent) boot_data structure for post-crash analysis. Unfortunately it's not available on upstream ESP-IDF 4+. For the moment we remove the feature, until we find a way to implement it without patching ESP-IDF 4+. Signed-off-by: Ludovic LANGE commit 238372aa003512fda3acf65d93ea727d94ad628a Author: Ludovic LANGE Date: 2023-05-15 00:50:13 +0200 ESP-IDF4+ : error handling rework `xt_set_error_handler_callback` is only available in our ESP-IDF 3.3.4 fork. For ESP-IDF >= 4, we implement it a little bit differently by using the linker wrap feature, which let us execute our handler before `esp_panic_handler()`. Signed-off-by: Ludovic LANGE commit b1c8c2e1ea7b5abfa90d2a92568eb1c58efcfba5 Author: Ludovic LANGE Date: 2023-02-18 00:36:57 +0100 ESP-IDF v4+: we do not have uxMutexesHeld any more In ESP-IDF 3.3.x builds of OVMS, we're using a fork of ESP-IDF. In this fork, FreeRTOS has been patched with openvehicles/esp-idf@95e43fc2c4360f8126a0985bf037a293bebe3767 to add a `uxMutexesHeld` field in `TaskStatus_t`. However, in the ESP-IDF >= 4 build we're using mainstream ESP-IDF (for the moment), which does not include this field. So we adapt the display to handle both cases. Signed-off-by: Ludovic LANGE commit cb5f1c42ab9a57a235765adaa55d7fd8e7c47ecd Author: Ludovic LANGE Date: 2023-01-22 01:10:14 +0100 convert wolfssl to a git submodule wolfssl has been forked (https://github.com/openvehicles/wolfssl) and the subdirectory converted to a Git submodule. Additionally, it has been put one directory level below (in vehicle/OVMS.V3/components/wolfssl/wolfssl) to better separate the upstream code from our build glue (component.mk, CMakeLists.txt and configuration files) This way it's easier to track any changes made to the module, upgrade when upstram changes, or propose patches to upstream. We kept the existing version (v4.7.0-stable) - it will be upgraded later Signed-off-by: Ludovic LANGE commit 598e4b14ffaff535332d13c453dcfa539d82160e Author: Ludovic LANGE Date: 2023-05-13 10:57:34 +0200 fix documentation of arguments of tcpserver First argument is . If port omitted, it is set to `3000`. Signed-off-by: Ludovic LANGE commit 13581e41a2b00e373603e5b0eaa5dc6f3829faac Author: Ludovic LANGE Date: 2023-05-06 00:23:39 +0200 fix a few documentation issues Some warnings were raised during documentation build and have been fixed. Signed-off-by: Ludovic LANGE commit ae3a7b4fba0a1d77b79bea924599287c81e58352 Author: Mark Webb-Johnson Date: 2023-05-05 08:10:10 +0800 urllib3 requests module dependencies: https://github.com/psf/requests/issues/6432 commit 7b1c932eab4e00d6a20ba1cc8f30d7dbf6db7e2d Author: Michael Balzer Date: 2023-05-04 22:02:52 +0200 Revert "compatibility with WolfSSH >= 1.4.12" commit beaada5aaa6c76da2d83612d263a1f3eb17e240c Author: Michael Balzer Date: 2023-05-04 22:00:11 +0200 Revert "Upgrade wolfssh 1.4.13" commit 562fc4b389ae4798c9445af4e576441e720e6f98 Author: Ludovic LANGE Date: 2023-05-03 23:40:28 +0200 upgrade wolfssh to v1.4.13-stable Now that wolfssl has been upgraded to a recent version, we can target the latest release of wolfssh. Signed-off-by: Ludovic LANGE commit 986454984f3ecc55b42d700cfa39659f22d6e19e Author: Michael Geddes Date: 2023-05-04 16:20:16 +0800 Vehicle - Fix up default generation of dashboard configuration commit fde5e9627d02156d84fc40ed2ef2042935aa2f6f Author: Michael Geddes Date: 2023-05-03 08:34:17 +0800 Ioniq 5 - Remove setting not yet merged so it compiles commit ca42158b85291a9bfbcef05232bec6f7b3baeb1b Author: Ludovic LANGE Date: 2023-05-02 23:36:59 +0200 compatibility with WolfSSH >= 1.4.12 Recent versions of WolfSSH define a new enum `WS_LOG_CERTMAN` that we need to handle (otherwise we are greeted with a compilation error message). Signed-off-by: Ludovic LANGE commit 009e32a4ad434b071c1ede872e850e035e0869f8 Author: Ludovic LANGE Date: 2023-04-30 21:25:26 +0200 ESP-IDFv5.0.1+ - deprecated function in Mbed-TLS 3.3.0+ Upgrade libzip to recent patches: In recent versions of ESP-IDF on [release/v5.0 branch](https://github.com/espressif/esp-idf/tree/release/v5.0) Mbed-TLS has been upgraded to release 3.3.0, which deprecates `mbedtls_pkcs5_pbkdf2_hmac` in favor of `mbedtls_pkcs5_pbkdf2_hmac_ext`: * [890e78ae664363aace49449eec7e1f0fd5245925](https://github.com/Mbed-TLS/mbedtls/commit/890e78ae664363aace49449eec7e1f0fd5245925) * [3d0dfb99c93f26539df4a6f43cfddf2f38dffd4f](https://github.com/Mbed-TLS/mbedtls/commit/3d0dfb99c93f26539df4a6f43cfddf2f38dffd4f) Signed-off-by: Ludovic LANGE commit 293c0b84e1415b96df16621eeb6fc42dc61a72a4 Author: Michael Balzer Date: 2023-04-29 08:39:53 +0200 Update changes.txt This file shall only list changes relevant for users commit 9ca33abfe1f98dabc2fa729e280423e31f3dac37 Author: Michael Geddes Date: 2023-04-09 08:12:18 +0800 Ioniq 5 - Version roll + Notes commit 18d6586fcd5cbc1c12b89cbbdd55f8de47523c34 Author: Michael Geddes Date: 2023-04-07 13:20:12 +0800 Ioniq 5 - Tweak poll timings for responsiveness. commit 6890695bdd6728987efdd60f36b3a5cb92740c31 Author: Michael Geddes Date: 2023-04-07 13:17:07 +0800 Ioniq 5 / Kia - In range estimation, don't use current trip if it is zero commit 85725fc7fbb48e4d92d03056f3e13d29c51d8fe7 Author: Michael Geddes Date: 2023-04-07 13:14:42 +0800 Ioniq 5 - Add indicator and fix emergency support. - The emergency didn't work previously Signed-off-by: Michael Geddes commit 3a4bd0ab8868e20b59ab0c3c089d1932642e08d2 Author: Michael Geddes Date: 2023-04-01 10:06:58 +0800 Ioniq 5 - Fix an issue with the range calc while charging commit 77a7ca73d04b9acdb3ad0bbdedfd0de12260341b Author: Michael Geddes Date: 2023-03-26 10:04:39 +0800 ioniq 5 - Fix 12V battery monitoring commit 7836944c818a04e30e8ab1d2041b750e4ef0657b Author: Michael Geddes Date: 2023-03-18 11:03:41 +0800 Ioniq 5 - Better response for power/drive mode - Improves turning on ECU and response to 'ON' commit b74841f390df5b984e90480197ed641c76b0325c Author: Michael Geddes Date: 2023-03-03 11:07:00 +0800 Ioniq 5 - Increase responsiveness of OBD2ECU speed - Enforces delay while car starts up. - Turns on when Car is in drive and OBD2ECU is on. - Use 0.8 second primary ticks with 1 secondary tick. - Increases polling throttle limit. - Checks for speed a couple of times per poll cycle. commit d13514ac48341b695371919443aca2541dab5ca3 Author: Ludovic LANGE Date: 2023-04-28 09:37:41 +0200 upgrade wolfssh to v1.4.10 A few changes are needed to upgrade after 1.4.12, and 1.4.11 introduced a security issue so I decided to stick with 1.4.10. Signed-off-by: Ludovic LANGE commit d2ac3278158d8af5c201ef855673e54a4f0c286e Author: Ludovic LANGE Date: 2023-01-22 00:34:02 +0100 convert wolfssh to a git submodule wolfssh has been forked (https://github.com/openvehicles/wolfssh) and the subdirectory converted to a Git submodule. Additionally, it has been put one directory level below (in vehicle/OVMS.V3/components/wolfssh/wolfssh) to better separate the upstream code from our build glue (component.mk, CMakeLists.txt) This way it's easier to track any changes made to the module, upgrade when upstram changes, or propose patches to upstream. We kept the existing version (v1.4.6-stable) - it will be upgraded later Signed-off-by: Ludovic LANGE commit 37d18150f71805a16cdd3f3ef292678b102baa57 Author: Jakob Löw Date: 2023-04-28 02:25:45 +0200 fix compilation errors when compiling without javascript runtime (#884) Looks good. Merging. commit 5e42cc0022b460a034e4cf1aaf445751d2afe3fa Author: Peter Harry Date: 2023-04-27 20:12:09 +1000 Update vehicle_mgev.h Adjusted DoD upper limit to latest value commit 55fcaa15081ed3f1884397665d8e87253a176217 Author: Ludovic LANGE Date: 2023-04-25 23:58:39 +0200 fix compilation warning "infinite recursion detected" In ESP-IDFv5.1 branch, more warnings are turned into error. In particular here, `-Werror=infinite-recursion` gives the following error: ``` main/test_framework.cpp: In function 'void test_stackoverflow(int, OvmsWriter*, OvmsCommand*, int, const char* const*)': main/test_framework.cpp:174:6: error: infinite recursion detected [-Werror=infinite-recursion] 174 | void test_stackoverflow(int verbosity, OvmsWriter* writer, OvmsCommand* cmd, int argc, const char* const* argv) | ^~~~~~~~~~~~~~~~~~ main/test_framework.cpp:180:21: note: recursive call 180 | test_stackoverflow(verbosity+1, writer, cmd, argc, argv); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` We add an attribute to confirm that we know what we're doing here. Signed-off-by: Ludovic LANGE commit df3fa7c6008ef887d8fef6444ef2b8a8f6595935 Author: Ludovic LANGE Date: 2023-04-25 23:57:33 +0200 fix compilation warning "value computed is not used" In ESP-IDFv5.1 branch, more warnings are turned into error. In particular here, `-Werror=unused-value` gives the following error: ``` components/vehicle_renaulttwizy/src/rt_sevcon_faults.cpp:412:74: error: value computed is not used [-Werror=unused-value] 412 | #define _readsdo(idx, sub) ((err = sc.Read(idx, sub, sdoval)) == COR_OK) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ components/vehicle_renaulttwizy/src/rt_sevcon_faults.cpp:563:7: note: in expansion of macro '_readsdo' 563 | _readsdo(0x4300+n, 0x0c); buf << "," << (int16_t) sdoval; | ^~~~~~~~ ``` The fix looks ugly, but works. Signed-off-by: Ludovic LANGE commit aff015bc29d82a8905f4bb2414f6cb4b8416556b Author: Ludovic LANGE Date: 2023-04-25 23:54:44 +0200 fix compilation warning "void operator delete called on pointer returned from a mismatched allocation function" In ESP-IDFv5.1 branch, more warnings are turned into error. In particular here, `-Werror=mismatched-new-delete` gives the following error ``` components/ovms_server_v2/src/ovms_server_v2.cpp: In member function 'void OvmsServerV2::ProcessServerMsg()': components/ovms_server_v2/src/ovms_server_v2.cpp:368:12: error: 'void operator delete(void*, std::size_t)' called on pointer returned from a mismatched allocation function [-Werror=mismatched-new-delete] 368 | delete d; | ^ components/ovms_server_v2/src/ovms_server_v2.cpp:347:45: note: returned from 'void* operator new [](std::size_t)' 347 | uint8_t *d = new uint8_t[line.length()-6]; ``` Signed-off-by: Ludovic LANGE commit c13a3bec44a4d5757d595395ad7b05e51b7af1b5 Author: Ludovic LANGE Date: 2023-04-24 09:17:01 +0200 [ESP-IDFv4+] Network: fix duplicate definition in new 'network ping' command. Signed-off-by: Ludovic LANGE commit cdb6e075d3c762cd2c0976e8e8e63504edd5787c Author: Eric Yeargan Date: 2023-04-21 05:55:57 -0700 Change cellular signal quality logging level to DEBUG commit a7c87cbcaa30a98419e52180f9a069e3c5b40854 Author: Ludovic LANGE Date: 2023-01-31 01:32:01 +0100 ESP-IDF v5+: workaround for a compilation issue with wolfSSH (byte) Signed-off-by: Ludovic LANGE commit 486388ae8e8b2e6d7d506fcc61c103f0c88ebcb4 Author: Ludovic LANGE Date: 2023-01-30 00:30:06 +0100 ESP-IDF v5+: wolfssl : impact of the change of type of uint32_t Signed-off-by: Ludovic LANGE commit 9dffe6733baea87dcc356f3518cca9ea266f85bb Author: Ludovic LANGE Date: 2023-04-09 23:47:48 +0200 ESP-IDF v5+ : upgrade to mdns 1.0.9 Signed-off-by: Ludovic LANGE commit f0680e389f581d875a3f882e90ad70db87f72981 Author: Ludovic LANGE Date: 2023-04-17 00:39:59 +0200 fix small mistake in id_filter CMakeLists.txt commit 71bb2516315d79df543785b554c166a3406e7963 Author: Ludovic LANGE Date: 2023-04-15 00:36:05 +0200 [ESP-IDFv4+] Network: New 'network ping' command to ping (ICMP) hostname or IP address. Just like a simplified `ping` command, it will send 4 ICMP echo packets and wait for the reply. It's a straightforward port of ESP-IDF's ICMP echo example: [protocols/icmp_echo](https://github.com/espressif/esp-idf/tree/f404fe96b1/examples/protocols/icmp_echo) Signed-off-by: Ludovic LANGE commit 88a6ea7a4f603b60399895aad9dc3587d18b2d45 Author: Eric Yeargan Date: 2023-04-14 09:31:52 -0700 Implement Server v3 metrics filtering with configurable include/exclude list. See "OVMS Server v3" section of docs/source/userguide/components.rst for details. Resolves #344 commit ce3455981fbbe32b2b54fafa2d8a251b65d659fd Author: cangman013 <74574545+cangman013@users.noreply.github.com> Date: 2023-04-14 04:14:39 -0700 Update tpms.rst Nowhere except in Mark's detailed write-up of the TPMS functionality does it specify the relationship of the ID1...ID4 to the location of the specific tires, hence the suggestion to change ID1 to LF-ID, ID2 to RF-ID, ID3 to LR-ID, and ID4 to RR-ID to correspond with the IDs for the specific tire locations on the vehicle. commit a64ce5fbb738241fcde119fa4a4c844d533f79ca Author: Ludovic LANGE Date: 2023-04-13 22:06:51 +0200 Docs: replace deprecated `m2r` plugin with its successor `m2r2` `m2r` project is in archive mode : https://github.com/miyakogi/m2r and there is a warning during plugin installation. [`m2r2`](https://pypi.org/project/m2r2/#description) presents itself as a maintained fork of `m2r`: > M2R2 is a fork of m2r which hasn't been updated for a long time and there's been > no response from the author about a PR fixing a serious issue that broke several > pipelines using sphinx3. Every m2r config should work out of the box. commit 289ad9034fc8e2a081c170839b265e747b4a9a89 Author: Peter Harry Date: 2023-04-12 17:04:57 +1000 Update BMS DoD Limits Set DoD limit for EU4 version of BMS as advised. commit 13bfb2513bee1347b72f47385ea5526535d74459 Author: Ludovic LANGE Date: 2023-04-09 23:44:39 +0200 ESP-IDF v5+: CMakeLists.txt - fixes for mcp2515 / ovms_webserver Signed-off-by: Ludovic LANGE commit ced2d1383a0dc6cbcd4619748c4dd54470ef901f Author: Ludovic LANGE Date: 2023-01-31 00:56:38 +0100 module_perform_factoryreset : use `esp_partition_erase_range` instead of `spi_flash_erase_range` On ESP-IDF v5+ `spi_flash_erase_range` is replaced with `esp_flash_erase_region`, which would need a flash chip `esp_flash_init()` call at some point. It looks easier to use `esp_partition_erase_range`, which in addition is a little bit higher level, does bounds checking and is recommended for the main SPI Flash Chip. Signed-off-by: Ludovic LANGE commit 7d89cbf4290141013a7e83c31f96aa6a82404201 Author: Ludovic LANGE Date: 2023-04-09 23:46:22 +0200 missing math.h include in some vehicle modules Signed-off-by: Ludovic LANGE commit e32dee735dab3d73d137693f41d33195d2ddbe1f Author: Peter Harry Date: 2023-04-05 12:53:46 +1000 Update Vehicle Name Updated vehicle name to MG EV (AU/TH) to be more clear commit ba47b82025c2757d4b42a4e8eb2c5beb078779bd Author: Peter Harry Date: 2023-04-05 12:14:08 +1000 Extended Firmware Selection Add extra firmware selections in MG/Features menu as some vehicles with updated firmware not showing 100% on full charge. Adjusted SOC calculations to reflect the new firmware selection. commit 8c4d81ae1106915de241af1422d7bd69e9b9407f Author: Jockz0rz Date: 2023-03-28 22:04:48 +0200 Updates according to comments. commit 4ce7f1e629cb604d44dfb1102ad20a93a2e66a6c Author: Peter Harry Date: 2023-03-27 09:13:42 +1000 Weighted Trip Consumption Now using weighted consumption to calculate estimated range. commit 5a26fd9fe96db466570cba4cd7e82e14ce0afd45 Author: Jockz0rz Date: 2023-03-26 14:10:40 +0200 Add some support for MAxus Euniq 5 6-seat commit 4350aa46cf5ad1fe49a9fd157f1adeaab4c3bd01 Author: Jockz0rz Date: 2023-03-26 14:02:20 +0200 Add some support for MAxus Euniq 5 6-seat commit 874e4c1ff30a48a55ef89ca1f4ec5249e8f6665c Author: Michael Balzer Date: 2023-03-25 09:41:49 +0100 Web location config: optimize texts commit 5033198749d604260f755a4628c46244caa59b41 Author: Peter Harry Date: 2023-03-25 14:50:52 +1000 Estimate Range from Consumption Estimated range now calculated from average consumption. commit 7caf6f395d126a324599c7efe9776529d9799109 Author: Michael Geddes Date: 2023-03-19 15:45:09 +0800 Kiq/Hyundai Trip calc - Fix initialisation of variable commit 4d16003dcec013597ecd4f03d20de6d5fdf972c5 Author: Michael Geddes Date: 2023-03-19 15:44:24 +0800 Ioniq 5 - Fix missing cr in xhiq charge stat command commit 1f1a960ae9a85959b8602b330eadebe0913c538b Author: Peter Harry Date: 2023-03-19 16:49:06 +1000 Add trip consumption and average consumption Added calculations for the average consumption for a trip and for average consumption over 5 trips. commit bd2c9a3ec1f52e25cb73f959f4787fa901206af9 Author: Michael Geddes Date: 2023-03-02 15:48:47 +0800 Ioniq 5 - fix recording of charging in trip counter. - Kia/Hyundai Common make sure it records - Ioniq 5 - Fix updating of charge status. commit e0c75e90f3c998d974b9a9b82a17ddf7c05710a1 Author: Michael Geddes Date: 2023-03-14 07:42:20 +0800 obd2ecu events - make all events/doco/methods match start/stop convention - Also the events are now generated from the named component (obd2ecu) commit 2998d0b0e588964356582425dac0896ee0d8d53d Author: Michael Geddes Date: 2023-03-12 11:28:57 +0800 Add metric+events for obd2ecu on/off - Adds metric m.obd2ecu.on - adds events obd2ecu.start, obd2ecu.stop - Add bd2ecu change-notification virtual methods commit 827602bd60010dde536b437acc77b1f310c1e626 Author: Michael Geddes Date: 2023-03-12 17:38:05 +0800 Web UI - Add config for Valet and Flatbed geofence to the Locations page commit ae53156b329dd9e21f6d9d8b371f3dd6f7a51d9d Author: Michael Geddes Date: 2023-03-12 17:30:16 +0800 Fill in docs for Geofenced locations - flatbed/valet/custom - add valet mode to changelist commit adb312cfdfef7191adc5dd3815d334f8f9e9d821 Author: Michael Balzer Date: 2023-03-12 09:27:09 +0100 Fix building w/o OBD2ECU commit 402350930d4dfc25d4b6ddbf868f9aeeaa0c5bb1 Author: Michael Geddes Date: 2023-03-12 12:03:38 +0800 File Editor - Display ECU Reload button only when ECU is on commit 4a924a1fe018a0ab31a01adc3c09c12434600e96 Author: Michael Balzer Date: 2023-03-11 15:11:37 +0100 Renault Twizy: fix missing break commit b7f928ffe3c5971557fcc645809b322a532789b4 Author: Michael Balzer Date: 2023-03-11 10:41:24 +0100 Renault Twizy: read battery energy available from BMS (thanks to Martin Bitz) New metrics: xrt.b.energy.avail -- Current battery energy available [kWh] (aged) xrt.b.energy.full -- Maximum battery energy capacity [kWh] (aged, needs full charge) commit 06295b0842e95fb828120737901d17197104ba96 Author: Michael Geddes Date: 2023-02-18 10:42:50 +0800 Web I/F - Add button on scripts to reload ECU Mappings commit 6d5d13a98592291d590ae66159861b9fe3889ebd Author: Michael Geddes Date: 2023-02-18 07:09:59 +0800 Ioniq 5 - Read 'Requested Charge Current' value commit 24f0eb077cc62353db6c038390a7b631e2726474 Author: Ludovic LANGE Date: 2023-03-05 21:26:59 +0100 add a missing include `sys/stat.h` include was missing from `main/ovms_command.cpp`, and it provoked a compilation error - interestingly, only shown when `CONFIG_OVMS_COMP_CELLULAR=n` Thanks to @jetpax for the notice ! Reported-by: jetpax commit a4833b03adc89e4a803a451bf32023aa9525c657 Author: Michael Geddes Date: 2023-01-06 22:13:46 +0800 Valet Mode - add default valet mode with simple geofence - Simply allowing 'Valet mode' without hardware support gives door detection anyway.. - This adds the ability to have a Valet mode geofence radius from start location. commit 5114564401dba43b54e8d7cc63a06d158bdce1c2 Author: Ludovic LANGE Date: 2023-01-26 21:46:07 +0100 ESP-IDF v5+ : adding mdns 1.0.8 external dependency Cf https://components.espressif.com/components/espressif/mdns Signed-off-by: Ludovic LANGE commit 81f458e1c4b88946155767ddd4ed8985bbb11e86 Author: Ludovic LANGE Date: 2023-01-28 13:11:41 +0100 ESP-IDF v5+: CAN bus defines CAN Bus needs a pair of includes since ESP-IDF 4+ Signed-off-by: Ludovic LANGE commit c00afba4e3fe39cad53f0cdce9b17de6b0796afd Author: Ludovic LANGE Date: 2023-02-27 21:57:06 +0100 fix for format error Message: ``` format '%ld' expects argument of type 'long int', but argument 4 has type 'int' ``` commit c70b08929f6fd385115444e7b661fbedc4f4d039 Author: Ludovic LANGE Date: 2023-01-28 01:33:21 +0100 ESP-IDF v5+: update WatchDogTimer initialization We introduced the dependency on the (official) configuration item `CONFIG_ESP_TASK_WDT` to decide whether (or not) we want to initialize the WDT. In ESP-IDF v5+, it's not possible any more to (re)initialize and already initialized timer, and if `CONFIG_ESP_TASK_WDT` the WDT would have been initialized already during boot. Note: For some reason, in ESP-IDF v5+, we need to define `CONFIG_ESP_TASK_WDT=n` otherwise it won't work as expected. Signed-off-by: Ludovic LANGE commit 45e4f8076947c8600be6445673ec7ecefd69c96a Author: Michael Balzer Date: 2023-02-26 09:56:59 +0100 VW e-Up: fallback to default for unimplemented vehicle commands to enable custom script handler plugins for these commit 0515a9c8a9a1c6c783fba3fa3337c2de1dc8892d Author: Michael Balzer Date: 2023-02-25 21:42:09 +0100 Vehicle: add support for custom command handlers see: https://docs.openvehicles.com/en/latest/userguide/scripting.html#ovmsvehicle-command-plugins commit 4d64134e0d857e2144d77bf4f251f058ccfbcda8 Author: Michael Balzer Date: 2023-02-25 21:41:35 +0100 Duktape: allow javascript eval() utilities in duktape context, fix float/int result coercion commit 76570685cb9bea71fb7f090e7c388d3971f9405c Author: Ludovic LANGE Date: 2023-01-22 00:21:31 +0100 CMake : workaround for ovms_webserver defines This change is there to have consistency between the ESP-IDF v3 build system, and the ESP-IDF v5 build system. When porting `ovms_webserver` component makefile to CMake we encountered an issue ; we were not able to reproduce this set of defines based on generated files. The workaround is to generate a header file (instead of the defines), and to have an helper shell do the generation. We may revert when we have found a way to make it work with CMake. Signed-off-by: Ludovic LANGE commit 2ac806adafde7bb0249614d68374facdbe711c78 Author: Ludovic LANGE Date: 2023-01-30 23:59:02 +0100 ESP-IDF v5+: hack to ensure that our linker script is used at the right time Our linker script must be loaded after (at least) memory.ld which defines `rtc_slow_seg` memory section. This (non-portable, fragile) hack uses the [function target_linker_script](https://github.com/espressif/esp-idf/blob/886e98a2c1311556eb6be02775d49703d6050222/tools/cmake/utilities.cmake#L135-L140) to ensure that our script will be loaded after `memory.ld` - itself being defined / processed in https://github.com/espressif/esp-idf/blob/886e98a2c1311556eb6be02775d49703d6050222/components/esp_system/ld/ld.cmake which is part of the `esp_system` component. To reference the `esp_system` component we use the fact that `COMPONENT_LIB` variable is computed with the name of the component and mix of underscores and prefix: cf https://github.com/espressif/esp-idf/blob/886e98a2c1311556eb6be02775d49703d6050222/tools/cmake/component.cmake#L176 Signed-off-by: Ludovic LANGE commit d71c0309106d244c0dae96c18df3dce7774ca765 Author: Ludovic LANGE Date: 2023-01-21 23:40:40 +0100 CMake : adding CMakeLists.txt files for many components We introduce the `CMakeLists.txt` files that are necessary for the new build system based on `cmake`. Signed-off-by: Ludovic LANGE commit 0460a6fa4507d706721630ede7962393645f6136 Author: Ludovic LANGE Date: 2023-02-07 00:03:46 +0100 fix missing esp_timer header In ESP-IDF 4+, this will trigger a compile error so we add the header. Signed-off-by: Ludovic LANGE commit f5cb8c8d45b94bb153d6c66dcb39bd451e0990d0 Author: Ludovic LANGE Date: 2023-02-07 00:02:39 +0100 fix uninitialized value warning This is just to please the compiler, as in practice it looks that those variables will not be used without being initialized. Signed-off-by: Ludovic LANGE commit 98916b02c552cebb090fa5a767a49a8b74184c86 Author: Ludovic LANGE Date: 2023-01-28 14:52:55 +0100 ESP-IDF v5+: dependency on ovms_tls.h / MG_ENABLE_SSL Undefining MG_ENABLE_SSL (which we had to do during the setup of the ESP-IDF v5 upgrade) show that some modules would not compile any more. We make them work as well as possible. Signed-off-by: Ludovic LANGE commit d60cae6b952c7d1069c156e6688d0f4a0967f272 Author: Ludovic LANGE Date: 2023-01-28 00:46:06 +0100 ESP-IDF v5+: change in header files Signed-off-by: Ludovic LANGE commit bbe5716b2d11f070150a8efe6c4d65bd4f601fd2 Author: Ludovic LANGE Date: 2023-01-27 23:43:04 +0100 ESP-IDF v5+: changes to uart_config_t Signed-off-by: Ludovic LANGE commit 6d4b011d393631c702e72b7bb35dc5eb383d38a3 Author: Ludovic LANGE Date: 2023-01-24 23:44:03 +0100 ESP-IDF v4+ : remove deprecated mdns functions Starting with ESP-IDF v4.1+, `mdns_handle_system_event` [is deprecated](https://github.com/espressif/esp-idf/blob/349385cb645432b17a4f2148bdd0e863136324d1/components/mdns/include/mdns.h#L365) - this change is part of the new event mechanism. The call is removed, which also removes the necessity to listen on a system event. Signed-off-by: Ludovic LANGE commit 3869033a0e21e47a579fa1129019a0a50eda32f1 Author: Ludovic LANGE Date: 2023-01-28 21:47:38 +0100 ESP-IDF v5+: fix warnings in string formatting following the change of type of int32_t Signed-off-by: Ludovic LANGE commit 3a96f774c5dcea163df48f7c74165a2cb5eef555 Author: Ludovic LANGE Date: 2023-01-28 01:20:25 +0100 ESP-IDF v5+: "TCP/IP Adaptor" compatibility layer finally deprecated, use "ESP-NETIF" as a replacement Signed-off-by: Ludovic LANGE commit c829762c0991a11d8da81ed4f9266047837d3387 Author: Ludovic LANGE Date: 2023-01-23 23:56:54 +0100 ESP-IDF v4+ : introduce "ESP-NETIF" as a replacement for "TCP/IP Adaptor" for ESP-IDF >= 4 (followup) Conditional compilation depending on the ESP-IDF version Signed-off-by: Ludovic LANGE commit 99a3a53226c8cc8853e5cb147356060910b17df5 Author: Ludovic LANGE Date: 2022-11-29 10:00:51 +0100 introduce "ESP-NETIF" as a replacement for "TCP/IP Adaptor" for ESP-IDF >= 4 Conditional compilation depending on the ESP-IDF version. Signed-off-by: Ludovic LANGE commit 9f790d52218744b76667f92baf35b22ad2e541c3 Author: Ludovic LANGE Date: 2023-01-28 14:53:45 +0100 ESP-IDF v5+: fix following the change of type of int32_t Signed-off-by: Ludovic LANGE commit 31d6e3410a226ed8094b27b52b94a0d003574845 Author: Ludovic LANGE Date: 2023-01-27 22:56:38 +0100 ESP-IDF v5+: fix typedef redefinition following the change of type of int32_t Signed-off-by: Ludovic LANGE commit afc37431458f3b81f56ffce8d6201f244747918d Author: Ludovic LANGE Date: 2023-01-26 00:21:59 +0100 ESP-IDF v4+ : replace legacy event loop with esp_event Library Event Loop Signed-off-by: Ludovic LANGE commit 408176416e7110bc3f3a382377f484995d9f4c2d Author: Ludovic LANGE Date: 2023-01-26 00:21:59 +0100 ESP-IDF v4+ : replace legacy event loop with esp_event Library Event Loop Signed-off-by: Ludovic LANGE commit 58c3f51f996a5904650f914b2204d8da6aea8aba Author: Ludovic LANGE Date: 2023-01-24 22:05:34 +0100 cleanup warnings about switch case fallthrough Signed-off-by: Ludovic LANGE commit b38a779ac0fe7363ee60811048718857550aef2b Author: Ludovic LANGE Date: 2023-01-23 21:49:04 +0100 ESP-IDF v4+ : replace INT with int32_t Signed-off-by: Ludovic LANGE commit 59d3834a12fdbe7b1a40055fdfd400f1414f75f5 Author: Ludovic LANGE Date: 2023-01-23 21:46:58 +0100 ESP-IDF v4+ : cannot use this private define Signed-off-by: Ludovic LANGE commit c6f859efa5f32ee3e5960d5c99fa804d0ed90f34 Author: Ludovic LANGE Date: 2023-01-22 21:07:37 +0100 ESP-IDF 4.x : impact of renamed constants Signed-off-by: Ludovic LANGE commit 133c1144e2ca4dc7eabd8b862665a07f45f5265e Author: Tamás Kovács Date: 2023-02-19 20:08:43 +0100 Add DC-DC current commit f9aed382e883b5f5d61f2008280541d6f39951c8 Author: Peter Harry Date: 2023-02-13 17:32:16 +1000 Fix Wwb Dashboard Fixed a missing line in mg_web.cpp. commit cae21b4787ca3217ced972e2bf73488592de413f Author: Jockz0rz Date: 2023-02-11 00:12:29 +0100 test commit 13d17fbb6053e5b787a361c7fd4d436fab9913de Author: Ludovic LANGE Date: 2022-11-29 09:17:34 +0100 replace some constants with their more adapted counterpart `wifi_interface_t` is more or less equivalent to `esp_interface_t` and the values are the same, however in terms of argument type it's more consistent to use `wifi_interface_t` for `esp_wifi_set_bandwidth()` and `esp_wifi_get_mac()` Signed-off-by: Ludovic LANGE commit c880667fbeff58d686f185457bd9bf653fa5a456 Author: Ludovic LANGE Date: 2023-01-23 21:36:54 +0100 ESP-IDF v4+ : fix missing header Signed-off-by: Ludovic LANGE commit b16e1ca95396171ca6693e3843c683ada1bcd73b Author: Ludovic LANGE Date: 2023-01-22 21:08:24 +0100 ESP-IDF 4.x : missing header + function signature Signed-off-by: Ludovic LANGE commit 5c7edd1f99908525efb9ff02674e88419c267418 Author: Ludovic LANGE Date: 2023-01-23 23:33:01 +0100 ESP-IDF v4+ : esp_intr.h is deprecated, replaced by esp_intr_alloc.h (works in 3.3.x) Signed-off-by: Ludovic LANGE commit 74149909060efedf235f3c18c2bdfc2b62038d1c Author: Ludovic LANGE Date: 2023-01-24 22:39:55 +0100 remove warning : '_GNU_SOURCE' redefined Signed-off-by: Ludovic LANGE commit 06548f1ce8e83dc04a9508c02c1f8b6d018b6975 Author: Ludovic LANGE Date: 2023-01-24 23:00:14 +0100 remove warning by replacing rom/queue.h with sys/queue.h Signed-off-by: Ludovic LANGE commit 78625a1c0f8f3d983af6a1fd5b26200a250d0e02 Author: Ludovic LANGE Date: 2023-01-24 23:57:24 +0100 ESP-IDF v4+ : remove deprecated and unused esp_event_loop.h Signed-off-by: Ludovic LANGE commit a24883d930f41c4236dcee86085158a42a779a3d Author: Ludovic LANGE Date: 2023-01-27 22:04:18 +0100 ESP-IDF v5+: static assertion failed: comparison object must be invocable as const Signed-off-by: Ludovic LANGE commit 62bbdf245b066fca0986351b8a9ff53d214af9d8 Author: Ludovic LANGE Date: 2023-01-27 22:07:23 +0100 ESP-IDF v5+: static assertion failed: std::vector must have the same value_type as its allocator Signed-off-by: Ludovic LANGE commit 1206663e8ff566cf3669d283794339acc4726f80 Author: Ludovic LANGE Date: 2023-01-28 00:33:47 +0100 changes to (long deprecated) ADC constants Signed-off-by: Ludovic LANGE commit 2da7668f7e63032777720fd5e98752d7b5049bfd Author: Ludovic LANGE Date: 2023-01-28 12:13:43 +0100 ESP-IDF v5+: change type of TaskHandle_t Signed-off-by: Ludovic LANGE commit 5767fb84cecd71b9504bbf93f88756a19ab117eb Author: Ludovic LANGE Date: 2023-01-28 14:52:27 +0100 ESP-IDF v5+: dependency on ovms_metrics.h Signed-off-by: Ludovic LANGE commit bb1f9d5e4117e51b244d299a110f5d4a6e5e7292 Author: Ludovic LANGE Date: 2023-01-28 14:27:03 +0100 ESP-IDF v5+: dependency on string_writer.h Signed-off-by: Ludovic LANGE commit 2b80bc587b0ca95d6f314ae4ef463f454da18606 Author: Ludovic LANGE Date: 2023-01-28 14:26:54 +0100 ESP-IDF v5+: dependency on ovms_notify.h Signed-off-by: Ludovic LANGE commit 1fe3b171b9ee60d0df4107c03d5c7b6dd91d1658 Author: Ludovic LANGE Date: 2023-01-28 14:26:37 +0100 ESP-IDF v5+: dependency on ovms_webserver.h Signed-off-by: Ludovic LANGE commit ae3bc7fd3e8623d8849462f588e7990b0f18e357 Author: Michael Balzer Date: 2023-02-04 10:32:09 +0100 Cellular: log network mode changes commit 06dc8df17121dc041a0a7b287578b8e4ddf5496e Author: Michael Balzer Date: 2023-02-03 22:00:55 +0100 Cellular: count PPP connects, include in debug status commit 0d8df0517c437b07e7b720d1695527dffd49cf1d Author: Michael Geddes Date: 2023-01-07 17:29:25 +0800 Add Kilocoulombs, MegaJoules, m/S and ft/s to units commit 2b6e1f5d96133f7e3d52384d20c865827d89a3d2 Author: Michael Geddes Date: 2023-02-01 18:59:44 +0800 Metrics - Fix conversion of returned vector metrics commit 30137acb41477db84da026347602402b6a148d95 Author: Michael Geddes Date: 2023-01-31 19:28:53 +0800 Ioniq 5 - Roll version (0.0.4) and comments. commit d9c7ea9d2c556f69f747668a38b3fab55fd054a5 Author: Michael Geddes Date: 2023-01-29 12:53:56 +0800 Ioniq 5 - Add custom metrics to trip display command commit afe92e8b938b97b60f1578a3a2970b6c42b99d3d Author: Michael Geddes Date: 2023-01-14 09:37:57 +0800 Ioniq 5 - Add alert if vehicle is unlocked and off commit b111d07ae62ef688873cfe298d1a8c8a88e1cd3b Author: Michael Geddes Date: 2023-01-29 13:01:49 +0800 Ioniq 5 - Use average battery pack temp for common battery temp commit c876a8a1b773d36f575cf6121b0e8f4f4093f425 Author: Michael Geddes Date: 2023-01-29 12:53:14 +0800 Ioniq 5 - Improve timing of speed while running and add RPM commit 722b968067efcfb5263cde487ad0e35f62f7d63b Author: Michael Geddes Date: 2023-01-21 06:41:44 +0800 Charge Information - Convert to user units commit 39abc10d5c5d109023c577b54e02ee6c945002fd Author: Michael Geddes Date: 2023-01-21 06:40:47 +0800 Metrics - Make sure default is returned to avoid blank labels commit 60a7d865671ce6e3995687b8708476ceaf6139df Author: Michael Geddes Date: 2023-01-15 11:43:55 +0800 Ioniq 5 - Tweak 12V battery monitor and add a stat command commit 88665c0460335711376d95b5724eb4e9e9f30cf9 Author: Michael Geddes Date: 2023-01-12 22:16:39 +0800 Ioniq 5 - Unregister events on destruct. commit 44cb36425291b2a521c61e202b3c414bb3378a51 Author: Michael Geddes Date: 2023-01-09 22:02:21 +0800 Kia Common Range Calc - Check availability of SD card before reading/writing stats - Sink the sd.mount event in case the card wasn't mounted on init. commit 9d8ef15d7c1c8f678c76fc8d08eae6447f65335c Author: Michael Geddes Date: 2023-01-09 21:53:41 +0800 Ioniq 5 - Fix Trip Since Charge display - Was using wrong metric for 'energy use' commit 83ded2674f75a0ccdcc8d5a204001e1405e5468f Author: Michael Geddes Date: 2023-01-07 17:28:38 +0800 Ioniq 5 - Updates to range estimation - Add command to show/reset the last trips recorded for estimation commit ebaaa261fa7b20c3d5ee47a1c3b9c08295940bca Author: Michael Geddes Date: 2022-12-27 15:47:25 +0800 Ioniq 5 - Fix battery capacity configuration commit 1f5595293f4ba44663f202769d03e3d8355795d2 Author: Michael Geddes Date: 2022-12-27 11:07:14 +0800 Ioniq 5 - Fix Charge time display / configuration - The charge time was massively off. Fixed the core values. - Created a version of the charge evaluation that allows for different charge voltages commit 43ca8777bb9d663288a4aea4833eb92bebe89bd8 Author: Peter Harry Date: 2023-01-28 12:07:05 +1000 Update mg_poll_bms.cpp Added some comments commit 328d07a78b7a2127f26d102f6162c4c8f2ba1ef0 Author: Peter Harry Date: 2023-01-28 11:50:58 +1000 Improve Battery Cell reporting Update how battery cell voltages and temperatures are processed so more meaningful data can be displayed. commit f4cbd06de4fce392df9abad573501abbe9c9c7b7 Author: Tamás Kovács Date: 2023-01-27 19:08:11 +0100 Use speed based trip data instead of TripB commit 54094e503652bee893936474bb19103b91d3be68 Author: Michael Balzer Date: 2023-01-27 11:06:52 +0100 CAN/esp32can: fix stop, add manual reset, add stuck bus-off auto reset New commands: can [can1…4] reset -- reset the CAN interface commit 2b6e23e7df92ab025e0e8ad4f211c8a7f90316b6 Author: Tamás Kovács Date: 2023-01-22 07:52:12 +0100 Add value to xmi.e.trip.park commit 07ddbad4efcec231fc8d5e32e189f1969aca4a49 Author: Tamás Kovács Date: 2023-01-22 07:48:59 +0100 Use speed based trip counter from TripB commit d9e0bf44b539b5c510dcc162629dc94a8ef9a532 Author: Tamás Kovács Date: 2023-01-22 07:24:24 +0100 TripOdometer fix commit 17797930b1d1db7ac9e730f2d308cb28daf60a32 Author: Michael Balzer Date: 2023-01-21 22:31:15 +0100 Web UI: add GPS, wifi & network control buttons to status page commit de4ace67a69fcd19902033eedb42c341eb266cd8 Author: Michael Balzer Date: 2023-01-21 17:53:58 +0100 Cellular: add GPS/GNSS state control commands (for power management) New commands: cellular gps [status] -- output current modem GPS/GNSS subsystem status cellular gps start -- start modem GPS/GNSS subsystem cellular gps stop -- stop modem GPS/GNSS subsystem commit 8f49ecab01617414c89b1e3ffa70c79e0115fe95 Author: Michael Balzer Date: 2023-01-18 14:11:02 +0100 Cellular: route URC & NMEA to single MUX channel to reduce UART load commit eb31402e8759242d645c0ad474e9d9703617524b Author: Michael Balzer Date: 2023-01-18 12:38:50 +0100 Cellular: fix TX task checks, add TX fifo flushing (wait) commit dc9aa116ef88dfc03e74062613ee46b509a046fd Author: Michael Balzer Date: 2023-01-18 12:37:18 +0100 Cellular: fix UART driver init & shutdown commit e59e507fd3a8b49bbfc6197b7e836725b13d4dc4 Author: Michael Balzer Date: 2023-01-18 12:01:05 +0100 Build: fix building w/o SDCARD commit 529e2394b76bd57b539569c3770dca7495dd8613 Author: Michael Balzer Date: 2023-01-16 13:49:43 +0100 Webserver: fix MyUnitConfig reference commit 2a67ef849390025716dcf0210b2b9e2cb1c11c04 Author: Michael Geddes Date: 2023-01-16 12:34:56 +0800 Unit Config - Tidy up naming of class and instance - 'User' is redundant in 'MyUserUnit..' commit 5596ab424dc9b437e66a75c5f9609cd41f5b5c43 Author: Michael Geddes Date: 2023-01-16 12:33:44 +0800 Config Update - unlink units.preasure on upgrade always. commit 6d38f61a44a8f6d7cef4335d472e20326b48811d Author: Tamás Kovács Date: 2023-01-15 15:22:40 +0100 - add trip counter from speed for accuracy commit f983045ee6d98cd3733206c0df3507a3d9a413c4 Author: Tamás Kovács Date: 2023-01-15 14:42:03 +0100 fix battery cell voltage commit 41e2a017bc75cb51089a6f62abe5331f9df76d23 Author: Michael Balzer Date: 2023-01-15 11:12:46 +0100 Docs: clarify support for Hyundai Ioniq FL (38 kWh) commit a85cdf47f55b8cd3cf83f20995a73499caf82402 Author: Michael Balzer Date: 2023-01-15 11:09:38 +0100 Kia Niro & Soul: fix web UI input name for battery capacity commit 035a30098076d2ba083d0d117f2af4e556a85e28 Author: Tamás Kovács Date: 2023-01-15 11:05:20 +0100 1.0.13 -Supply new standard metrics 1.0.14 - Persis metrics fix - fix charge metrics if crash during charge sessing commit 0bf85b9593a4f45837e80a8a805ce8e96cc6aafd Author: Tamás Kovács Date: 2023-01-15 09:23:49 +0100 change version to 1.0.12 commit 8eef5cfb512c9a9fb06e3bbd95a3045713327069 Author: Tamás Kovács Date: 2023-01-15 08:55:39 +0100 Vehicle: emit standard events on charge/generator connection type changes New events: vehicle.charge.type -- Vehicle charge connection type has changed (e.g. ccs/type2/…) vehicle.gen.type -- Vehicle generator connection type has changed Mitsubishi i-Miev - Convert divisions to multiplications commit 32aa986f13a6ad9f911bc5ec3710ac7afa888182 Author: Michael Balzer Date: 2023-01-14 11:21:05 +0100 Docs: add hint on 'since' parameter to metrics manual commit 3ad6e5307ea6fec9ca54f4ec2e149c68a3ce325b Author: Michael Balzer Date: 2023-01-14 11:00:41 +0100 Docs: server REST /api/historical: explain new 'since' parameter commit 63447aa500f7697c3ceadb7dd726871aca91ee71 Author: Michael Geddes Date: 2023-01-14 09:50:32 +0800 Units - Add missing efficiency conversions from kmpkwh and mipkwh commit bb938a59f028fe8a0e01f300dd3ac7901d1cdc9f Author: Michael Balzer Date: 2023-01-13 11:52:54 +0100 Docs: add metrics V2 tunneling script example/template commit 73b6f666b70e9df75c466364aa4be8742dd19272 Author: Michael Geddes Date: 2023-01-12 16:58:31 +0800 Unit Prefs - Fix Prefs cache to load on config mounted - Also rename to be in line with it being 'UserUnitConf' rather than 'UserMetrics' commit c9e8ae223731adc0d8f8d8eb8051d19c4b2d8ac1 Author: Michael Geddes Date: 2023-01-12 16:56:50 +0800 Web Client Side Events - fix names to be consistent - now uses msg:units:metrics and msg:units:prefs commit adbf72f7b7cee15a25379c439d2df26738799eb1 Author: Michael Geddes Date: 2023-01-10 22:00:48 +0800 Config - fix upgrade of 'pressure' naming issue commit 5e2e797e1855e3d1aa68dcf988f9ec40fa09c9e2 Author: Michael Geddes Date: 2023-01-10 21:59:52 +0800 Webserver - keep 'prefs' naming consistent. - Follow on from unit.vehicle->unit.prefs rename commit bf0f0b94881662ce520ca0d51e59378eeb65d336 Author: Peter Harry Date: 2023-01-06 11:57:13 +1000 Add Trip Metric Added v_pos_trip metric for MGEV vehicle commit 1515d119c6cc6265005b6f90c352d2fe63704fcf Author: Michael Balzer Date: 2023-01-04 19:00:34 +0100 Hyundai Ioniq vFL: charge phase support (topoff from sufficient SOC) commit 130625a93b9e8b5795fc71ca2096d1f5c02b6dbb Author: Michael Balzer Date: 2023-01-02 14:19:50 +0100 Build: raise RTC calibration cycles Module: add warning about RTC deviations on long sleep periods commit 986716dc0f0a3c88e8091472039573d806102305 Author: Michael Balzer Date: 2023-01-01 21:48:17 +0100 Docs: add average power usage for hardware v3.3 commit fd99000ed2756a6bc0708e250dd8f341f4bb11e9 Author: Michael Balzer Date: 2023-01-01 21:42:46 +0100 Module: support deep sleep schedules New commands: module sleep -- Shutdown all components and enter deep sleep for a time span or until a specific time. commit 19cb68e19161ad61e6174552fcf9241eef74b822 Author: Michael Geddes Date: 2023-01-01 15:17:02 +0800 units/prefs - re-initialise the slot on subscription commit fa4aabeff443b3bf268c7a30bf77a4521d5afb79 Author: Michael Geddes Date: 2023-01-01 14:14:23 +0800 User Metrics config - rename object from 'vehicle' to 'prefs' commit 952a17ae024a5e1806d6d71f98eb3c0862a2824e Author: Michael Balzer Date: 2022-12-31 17:26:20 +0100 VW e-Up: fix charge time prediction for max power crossing curve section commit 0d403c7d42aae2fb65f7d0c9fc56ce0ab77b4c3e Author: Michael Balzer Date: 2022-12-31 17:03:00 +0100 Hyundai Ioniq vFL: charge type detection, charge speed & time estimation New configs: [xhi] ctp.maxpower -- Default charge power limit [kW] for charge time estimations, default 0 = unlimited [xhi] ctp.soclimit -- SOC level [%] for secondary charge time estimation (sufficient SOC), default 80 [xhi] notify.charge.delay.ccs -- Wait time [sec] for DC charge power to ramp up before sending the notification, default 15 [xhi] notify.charge.delay.type2 -- … same for AC charging, default 3 commit ef7f928cceb1d3681f038488bf6d2a7689f83524 Author: Michael Geddes Date: 2022-12-29 14:23:56 +0800 Slider Widget - Fix disabling when loading up with check-box unchecked commit 8cdb10a0d30a06fea74746729148fa8fe40499a2 Author: Douglas Urner <4495780+DouglasUrner@users.noreply.github.com> Date: 2022-12-28 16:15:48 -0800 Add SIM card to items to have. (#801) Included a link to Hologram. commit 882a53657b367dbdc891b99678edaaa70d49b86a Author: Michael Balzer Date: 2022-12-28 23:15:49 +0100 Hyundai Ioniq vFL: fix awake indicator commit 64686b0b3176328afac16df8e494506dfc4bd0a1 Author: Michael Balzer Date: 2022-12-28 15:17:16 +0100 Hyundai Ioniq vFL: awake/driving state detection, range smoothing config, range updates only at SOC steps (0.5%) New configs: [xhi] range.smoothing -- Number of SOC samples, default 10 = ~ 5% SOC New metrics: xhi.e.state -- General/ignition state flags commit 5ff0acd26400d1b4ae93149629e0c5f178874498 Author: Michael Balzer Date: 2022-12-27 10:28:32 +0100 Vehicle: fix user unit consumption average in trip report commit 17273a9014ca858185ecb791d9e8cec0ff2bbcd7 Author: Michael Geddes Date: 2022-12-24 16:09:37 +0800 Docs/changes related to exposing User configure metric to plugins commit 80bbf8ae7229a8269c410ae55179e677f91f8be5 Author: Michael Geddes Date: 2022-12-24 16:08:59 +0800 Metric Groups - Fix spelling of pressure. - requires upgrade just in case. commit 79ffb7ec2f259000416a0e964b76d0b545cd32d7 Author: Michael Geddes Date: 2022-12-23 12:32:41 +0800 User Metrics - Improvements to initial implementation - Don't define functions as node plugins when they aren't. - Use the subscription mechanism rather than a parallel mechanism for turning on units/metrics - Internally use events (via the cache object) to monitor 'vehicle' config changes - Expose user settings for the groups of metrics - Remove unwanted whitespace from messages. commit 9ab81176da0c6cd887bb70aef17cc79ad662b073 Author: Michael Geddes Date: 2022-12-22 16:12:20 +0800 Web Socket - update comments describing use of 'm_last' commit 1811311588f0cdda799f5323d54e0922fcce6340 Author: Michael Geddes Date: 2022-12-24 16:18:48 +0800 metrics js - Remove some functions from NodeJS plugin space commit 75db629829b2164c05d624b6261fb370e4464e54 Author: Michael Geddes Date: 2022-12-13 16:39:31 +0800 Framework - tabs->spaces in source commit c82365b1c55df223b742475e17f84235df582f71 Author: vbarat Date: 2022-12-14 12:09:46 +0100 Fix web pages registration/unregistration for Mitsubishi and Renault Zoe Phase2. commit 6201fbb88bfc48b291388e07088105b2f50c3897 Author: Michael Geddes Date: 2022-12-13 15:42:40 +0800 ovms.js - Fix missing ; commit 3353204ebb147a4e9c6902e3be0e98cda3429851 Author: Michael Geddes Date: 2022-12-13 15:38:10 +0800 Dash Gauge - Fix spelling commit 914a5bb1b8811fbacabde3da1e76856ed27aba2f Author: Michael Balzer Date: 2022-12-11 11:48:42 +0100 History update for Hyundai Ioniq vFL changes commit 64287ad703b82d8985a59ed1afa1ae6eb39f8c58 Author: Michael Geddes Date: 2022-12-11 13:59:02 +0800 Web Display - When a 'metric' element has '.unit' part, then display in user configured units commit 7325b1582cd807c788b5ff10471678b4428b391c Author: Michael Geddes Date: 2022-12-11 13:57:04 +0800 msg:metrics trigger - send only changed metrics when units message received commit b8d50e43c3c5f821f2e1dc32519b921d4547b09f Author: Michael Geddes Date: 2022-12-11 13:53:45 +0800 Metric conversion - Fix conversion sq to dbm in javascript commit 183a8e9b14b0175b64b7774521ff79d06d146d33 Author: Michael Geddes Date: 2022-11-17 16:25:34 +0800 Metrics - Show User units on web i/f and guages. commit be594ea3f93bdddaff5ba045d2fe3b4c60237b50 Author: Michael Geddes Date: 2022-12-06 13:57:16 +0800 Web Socket - Fix send of multiple pages for changed Metrics - was using 'sent count' rather than 'last sent' when finding next page. (this would be the same for 'send-all' which would be the most common reason for multiple pages) commit 896fb93fd8ed8d0a24b89ea91919d9f01a430577 Author: Michael Geddes Date: 2022-12-04 08:00:11 +0800 Web Framework - Add subscribing/Sending units definitions commit e034ed50436b70960ceb39e14fdfad0fbfc9cf93 Author: Michael Geddes Date: 2022-12-06 13:56:32 +0800 Ovms Utils - make json_encode more efficient commit 304dccf2860eb7d002340748b9972830c4ae3d84 Author: Michael Geddes Date: 2022-11-18 13:44:34 +0800 Web Framework - improve speed of encode_html/make_id - Remove strlen() from loop (making it O(n^2)) - reserve space before checking commit 39c175e5e997b983360d45398ab407c907667d1d Author: Michael Balzer Date: 2022-12-09 17:46:38 +0100 Hyundai Ioniq vFL: TPMS, web UI config page, manual update New configs: tyre warning/alert levels [xhi] tpms.pressure.warn -- default 230 [kPa] [xhi] tpms.pressure.alert -- default 220 [kPa] [xhi] tpms.temp.warn -- default 90 [°C] [xhi] tpms.temp.alert -- default 100 [°C] commit 7e1fadb75e8f93509fa872c740267d2ba59a3780 Author: Michael Balzer Date: 2022-12-07 08:08:31 +0100 Hyundai Ioniq vFL: trip metrics & range estimations New configs: [xhi] range.ideal -- ideal new car range [km], default 200 [xhi] range.user -- typical current user range [km], default 200 New metrics: xhi.b.range.user -- actual current user range [km] commit 3a4abd1deaa252068f6343d6b1872da4e0fd35f9 Author: Michael Balzer Date: 2022-12-08 16:58:45 +0100 Metrics: fix setting array metrics from strings (units support) commit 7ec0d34616c2da1bad394d79f178df80ed133b63 Author: vbarat Date: 2022-12-07 17:12:31 +0100 Trace removec commit 99b50a51ddac3b427a96e714c3a146306491819a Author: vbarat Date: 2022-12-07 17:03:13 +0100 VIM queried every 30s commit 0d7563cb0f27adbb6a0142ce8527d691ce8281f3 Author: Michael Geddes Date: 2022-12-07 07:34:32 +0800 Vehicle Stat - Initialise the energy used/received - stat trip was showing unitialised floats commit 4742d2298d5715a9e4f4eea342b7221be5c8dda6 Author: Michael Geddes Date: 2022-12-07 07:25:56 +0800 Vehicle - Fix display of 'default' units in Trip Stat commit d4f612149ec89dc05462941c7d483223057a40e0 Author: vbarat Date: 2022-12-05 14:22:29 +0100 - Fix BMS cell monitor intialization. - Fix management of the CONFIG_OVMS_COMP_WEBSERVER configuration variable. commit 3f6d47733a448a14df25238a2cb2ccf506a53bc3 Author: vbarat Date: 2022-12-05 12:50:47 +0100 Simplify initialization. commit 1f1fcddc036e30df405658e2315b2f3c54928a3b Author: Michael Balzer Date: 2022-12-04 10:43:18 +0100 History update for Mini Cooper SE commit 48c254dbead81111ec07516c78cfa2670c1b7020 Author: vbarat Date: 2022-11-30 18:41:31 +0100 Added missing links about Mini Cooper SE support. commit 75352c2fa7cf546f1deb4c3faea9450a0c1d8748 Author: vbarat Date: 2022-11-30 10:27:26 +0100 Fix mongoose commit 5b0e39bd47eb71f255e6bb2bd36e1cad5f65809d Author: vbarat Date: 2022-11-30 10:20:56 +0100 Custom metrics prefixed with "xms." commit a02f4424bf303c262a5013908e1b1b1c68a37b07 Author: vbarat Date: 2022-11-29 15:54:52 +0100 Prepare for pull request. commit 0d3ab231d4ebee45a6713564a1c2ff11824016b4 Author: vbarat Date: 2022-11-29 15:38:31 +0100 Added probing to battery modules temprature. commit 9f27bf1df18deca7379b91ce7a455a65e6991ba1 Author: vbarat Date: 2022-11-29 14:32:38 +0100 Finally managed to use to poller. commit c8cd0520b4b9929513b69bff1b612c88650adc3d Author: Ludovic LANGE Date: 2022-11-29 13:25:56 +0100 condition `strverscmp` inclusion to the version of ESP-IDF We have a local implementation of `strverscmp` ; however ESP-IDF seems to include it in newlib since version 4.x (I'm not 100% sure but at least in 4.4 it is present) A small test allows to include or not the component include files (which are otherwise defined in ``) Tested on both our local fork of ESP-IDF and release 4.4 See #360 Signed-off-by: Ludovic LANGE commit af76f0fe0a9d0ef0303e36969628a65bcf7f7b55 Author: Michael Balzer Date: 2022-11-29 07:58:51 +0100 Mongoose: update submodule to use https://github.com/openvehicles/mongoose/pull/2 commit 18faeee86465c6b3e11a32855449dd3fe13d6265 Author: vbarat Date: 2022-11-28 13:19:14 +0100 Seems like there is a conflict between automatic poller and manua commit 068c2d140d2c1584b8c569590f0e64cd5f6625ad Author: vbarat Date: 2022-11-28 13:09:39 +0100 Fix temperatures and trace levels. commit 3817e67899fb57d0fe2d171577b883c9d0786e29 Author: vbarat Date: 2022-11-28 12:56:51 +0100 First version allowing to read 96 cell voltages. Attempt to use the regular poller failed (commented out). commit cd373532af00db7c9a4137cb491ffcda1d6fc147 Author: Ludovic LANGE Date: 2022-11-28 01:27:47 +0100 change assignment of sdcard members to appease GCC 8.4.0 GCC 8.4.0 does not accept an assignment with the macros [`SDMMC_HOST_DEFAULT()`](https://github.com/espressif/esp-idf/blob/8153bfe4125e6a608abccf1561fd10285016c90a/components/driver/include/driver/sdmmc_host.h#L30) and [`SDMMC_SLOT_CONFIG_DEFAULT()`](https://github.com/espressif/esp-idf/blob/8153bfe4125e6a608abccf1561fd10285016c90a/components/driver/include/driver/sdmmc_host.h#L92), because the macros are defined as a curly braces list ; it fails with `error: no match for 'operator=' (operand types are 'sdmmc_host_t' and '')` This patch fixes the syntax so that it works with GCC 8.4.0, by prepending the type before the list. GCC 5.2.0 is OK with the fix. See #360 Signed-off-by: Ludovic LANGE commit 8d5b3877106e03f942fcc37b88b100cc8696c814 Author: Ludovic LANGE Date: 2022-11-28 01:18:34 +0100 condition `strverscmp` inclusion to the version of ESP-IDF We have a local implementation of `strverscmp` ; however ESP-IDF seems to include it in newlib since version 4.x (I'm not 100% sure but at least in 4.4 it is present) A small test allows to include or not the component. Tested on both our local fork of ESP-IDF and release 4.4 See #360 Signed-off-by: Ludovic LANGE commit 8efbe237173d4cb7632bd6d1d7ee7de886aadfba Author: Alexander von Gluck IV Date: 2022-11-27 18:11:45 -0600 Bolt EV: Cleanup m_type layout, don't statically be Chevy Ampera-e commit f06e02019b123040eb1eb0e6121cb2f4e5ae394d Author: Michael Geddes Date: 2022-11-26 17:26:06 +0800 string_format: Move format error from runtime to compile time. commit dc6a0b450058cc1cfb68027f7972a4119eedeb77 Author: Michael Balzer Date: 2022-11-26 10:39:17 +0100 Apply compile time printf style format & argument validation This also revealed a few remaining std::strings passed to '%s'. commit f941d5ed63c82a403ca61aa4cb6bcad327da6994 Author: Michael Geddes Date: 2022-11-26 09:02:24 +0800 Utils - Move implementation of string_format to vasprintf commit c46f15acdaf029e6ae7d5fff580f2a34fa1414ed Author: vbarat Date: 2022-11-25 17:09:16 +0100 10 cell voltages only commit 1d015532ccc54667410ef2b296d9b6915a2c58c8 Author: vbarat Date: 2022-11-25 16:59:43 +0100 Cell voltage should work. commit eebec592cba896802505607621c213c74f993661 Author: Ludovic LANGE Date: 2022-11-25 02:39:26 +0100 OvmsHttpClient : case-insensitive comparison of `Content-Length` header HTTP Header fields names are case-insensitive, and while most servers provide those name in the most common `Content-Length` version, some have other variations (all lower case, all upper, etc...). Having a case-insensitive comparison means that we can be compatible with more servers. Signed-off-by: Ludovic LANGE commit 981cf179c30f200fcaf2821ef9a433b8195c1dd0 Author: Michael Geddes Date: 2022-11-24 19:25:29 +0800 Add Completion for units and metrics - Also add completion for units to location commit a2dc15d41e2a872568d96aca8ee780ef65d88cd0 Author: Michael Geddes Date: 2022-11-24 19:18:42 +0800 Location Set - Add default units to setting radius commit 8c66d75fd3b29cdb7bcdc0f94ecb1fc2c777fb74 Author: Ludovic LANGE Date: 2022-11-21 02:07:19 +0100 track, and display, the current file size for opened CAN log files file size is tracked in the `canlog_vfs_conn` class, and is displayed in `GetStats()` for both the `canlog_vfs_conn` class and the `canlog_vfs` class. File size is then available as a result of command: ``` can log status ``` Signed-off-by: Ludovic LANGE commit ab856493f9b220024cde760d23dcf0a1c0c0bbd0 Author: Ludovic LANGE Date: 2022-11-21 02:02:47 +0100 add format_file_size() to ovms_utils, and use it format_file_size() formats a file size in a human-readable way. It's used in ovms_vfs for printing the listing of files, and will be useful for CAN log file size display Signed-off-by: Ludovic LANGE commit f72c21c470ece1c7bb284da07d43859911ed082f Author: vbarat Date: 2022-11-23 17:52:15 +0100 First attempt to read cell voltages. commit 2a0c9d2441d9fd185c8f8dbb03a2d940fa92c41e Author: vbarat Date: 2022-11-23 13:08:42 +0100 Cosmetic changes commit 1d98d7c3d995ef8a5dc8527c7bb9072b7871e775 Author: vbarat Date: 2022-11-23 11:47:02 +0100 Code cleanup, some renamings and indentation. commit 126c7f6f1bb17509eb177990c651d892691814f6 Author: vbarat Date: 2022-11-23 11:24:00 +0100 Code cleanup, some renamings and indentation. commit 7ad950348cdcf16f9d8fae7f23fe13c731128e3c Author: Michael Geddes Date: 2022-11-22 17:20:25 +0800 Setup Wizard - Add/improve metric units configuration. - Distance also sets speed and acceleration and height - Adds Pressure and Temperature. commit 847f40d8e6948f7c04ac93bf50e45ad592311744 Author: Michael Geddes Date: 2022-11-22 14:05:07 +0800 Location - Set/display radius using user-units as default - allow specifying alternate units. - explicitly parrot the actual radius set. commit e4fb8cb58fe147f548fc2971041ab545ffc0bd8d Author: Michael Geddes Date: 2022-11-22 14:02:52 +0800 Units - Upgrade 'units.distance' value to apply to other distance related units commit 19c3aaab4aedde0bb679e1b6285edbbe4af14225 Author: vbarat Date: 2022-11-22 13:20:54 +0100 Mini Cooper SE vehicle reindented. commit f8cf3be317793c4097d2a75e35c6c30a0ae4fa13 Author: vbarat Date: 2022-11-22 12:20:38 +0100 Mini Cooper SE vehicle reindented. commit c0a8b10b72293189998a476eb91934c7966ac02d Author: vbarat Date: 2022-11-22 11:26:04 +0100 BMS monitor activated for Mini Cooper SE. commit f88aace08dab3db453a4c84df6efa0e8a12f3418 Author: vbarat Date: 2022-11-22 11:24:55 +0100 Fix Renault Zoe ph commit 0c961ee9214d8f3abc091f929708d1039cfcd26f Author: Michael Geddes Date: 2022-11-22 14:00:23 +0800 Ovms Utils - Add string_format (std::string safe sprintf) commit 12a87c956b230f9750b128005e5c6c5fd06edeff Author: Ludovic LANGE Date: 2022-11-22 00:39:49 +0100 History update Signed-off-by: Ludovic LANGE commit f43cc6be5018e41c1d2e103b4117ab44bfbebbb2 Author: Ludovic LANGE Date: 2022-11-22 00:34:13 +0100 fix an unrelated typo Signed-off-by: Ludovic LANGE commit 49e8e8594fae676b7d6d3eda2b2559b70c6769a5 Author: Ludovic LANGE Date: 2022-11-22 00:33:36 +0100 add documentation for metrics and events logging in CAN log Signed-off-by: Ludovic LANGE commit 47efed4e122f172c8bdf90385f1d393ffea2b326 Author: Ludovic LANGE Date: 2022-11-20 02:01:45 +0100 adds (configurable) metrics to can logs A new configuration item `can log.metrics_filters` allows to choose which metrics will be sent to the can logs. The format is a comma-separated list of metrics filters, possibly containing wildcards (`*`). Any filter starting with `*` is an `endsWith()` comparison. A filter ending with `*` is a `startsWith()` comparison. A filter without any wildcard is a `==` comparison. (A wildcard in any other position in the filter is invalid) The default configurations is NOT to log any metric. The metrics are sent to the can log subsystem as events. When using the CRTD format for example, those will appear as `1CEV` lines. The metrics are sent as a JSON object prefixed with `metric: `, having the following fields: * `name` : the name of the metric * `value`: the value of the metric in the default unit * `unit`: the default unit of the metric Example: ``` metric: { "name": "v.p.gpstime", "value": 1668730982, "unit": "Sec" } ``` Example in a CRTD file: ``` 1668730982.038759 1CEV Event metric: { "name": "v.p.gpstime", "value": 1668730982, "unit": "Sec" } ``` A possible configuration to log all GNSS-related metrics: ``` config set can log.metrics_filters "v.p.gps*, v.p.latitude, v.p.longitude, v.p.altitude, v.p.direction, v.p.satcount" ``` Signed-off-by: Ludovic LANGE commit 37c2228873dba3f59bc91de58ea3d914296ae0b2 Author: Ludovic LANGE Date: 2022-11-20 15:08:57 +0100 add support for a new type of CAN log message : CMT (Metric Data) A new type of CAN log message is defined : metric data (in the same spirit as event data), which is a comment record type. When using the CRTD format for example, those will appear as `1CMT` lines. CRTD format version number increased to 3.1 Signed-off-by: Ludovic LANGE commit 647165748cc16f34b0bdb80528a90d02fc3e00d3 Author: Ludovic LANGE Date: 2022-11-20 01:53:41 +0100 enables configuration of events that will be logged to can logs A new configuration item `can log.events_filters` allows to choose which events will be sent to the can logs. The format is a comma-separated list of events filters, possibly containing wildcards (`*`). Any filter starting with `*` is an `endsWith()` comparison. A filter ending with `*` is a `startsWith()` comparison. A filter without any wildcard is a `==` comparison. (A wildcard in any other position in the filter is invalid) To maintain compatibility, the default value is `x*,vehicle*`, which is going to allow only the events starting with `x` or with `vehicle`. The default value is equivalent to entering the following command: ``` config set can log.events_filters "x*,vehicle*" ``` Signed-off-by: Ludovic LANGE commit c5cdbb8ca30e25bd6b34aa5d793c5843cd8d83b2 Author: vbarat Date: 2022-11-21 16:36:27 +0100 First version with Mini Cooper SE support building commit fdb2f9679924f4c8e98255a71db64d20b1fc858f Author: vbarat Date: 2022-11-21 16:05:51 +0100 Adding Mini Cooper SE vehicle commit 0f3b9ad1fc36d98951172bc706b8b7080b683707 Author: Ludovic LANGE Date: 2022-11-20 01:50:14 +0100 adding helper functions for trimming a `std::string` Thanks to https://stackoverflow.com/a/217605 for the help. Signed-off-by: Ludovic LANGE commit 21ebb723a39f689edb89ad562183f2c6177bd4c4 Author: Michael Geddes Date: 2022-11-19 08:07:55 +0800 Web Config - Fix formatting style commit da6e0045bd3a55f27986048b28f3cd9f41fbff6a Author: Ludovic LANGE Date: 2022-11-18 21:34:34 +0100 small change to the way the metrics listener are registered (use std::string instead of const char * for second parameter) For consistency with `OvmsEvents::RegisterEvent`, the second parameter to `OvmsMetrics::RegisterListener` is converted to `std::string`. Signed-off-by: Ludovic LANGE commit 40b0fa2b718b49391848d7dd770a52850d27d3ac Author: Ludovic LANGE Date: 2022-11-18 00:57:14 +0100 small change to the way the metrics listener are registered (use std::string instead of const char * for first parameter) Previously the metrics listeners were registered by storing the `caller` parameter as a `const char *`. This made mistakes possible when we would register and deregister with the same string but not the same memory address. This patch changes the `caller` parameter type to `std::string` which will prevent this kind of mistakes. Signed-off-by: Ludovic LANGE commit 3e9f129d3501d50bf7597a0168d0b07343e0ea4a Author: Michael Geddes Date: 2022-11-18 14:29:46 +0800 changes.txt - Add user configurable modules commit 5ab4410a874248e966c80f2620df2773aff23665 Author: Michael Geddes Date: 2022-11-16 13:32:41 +0800 TPMS - Use user units in shell command. commit eb0e0dabfa47eb6b82d796486d746d4845037333 Author: Michael Geddes Date: 2022-11-16 10:55:09 +0800 Vehicle - Use User Metrics in shell commands commit 0b064a08b98d001300171795464f77ac68914eb2 Author: Michael Geddes Date: 2022-11-13 20:21:41 +0800 Metrics - Add Permille and 'Ratio' group commit 333a4aaa0390c6ba81b4e3ab885551df4c0b36c9 Author: Michael Geddes Date: 2022-11-13 16:47:58 +0800 Metrics - Add configurable 'User' metric unit. commit 61ee145375034bdc17ba7acacb33f9aebbd2bc79 Author: Michael Geddes Date: 2022-11-13 16:35:00 +0800 Metrics Units - Add 'Bar' unit and fix Pressure conversion - In re-doing the Pressure conversions, it was discoved PSI->Pa was wrong. commit 307a3fa5b4c169712830dda3377af89e9ee7dc22 Author: Michael Geddes Date: 2022-11-16 09:27:50 +0800 Metric Groups - Fix 'imperial' for kwhp100km commit 406e2250ade76d3577609850575d59b69df6487e Author: Michael Geddes Date: 2022-11-18 06:58:00 +0800 Ioniq 5 - Version 0.0.3 commit 5e9736d564d019d31a6d86f81499c882e53a2df2 Author: Michael Geddes Date: 2022-11-16 09:26:25 +0800 Ioniq 5 - Fix case in legacy Get Feature commit 807b45a6cd9625e4b3364bbdc053ae84b5a12729 Author: Michael Geddes Date: 2022-11-13 20:31:15 +0800 Ioniq 5 - Increase top voltage for dashboard commit f2b33ac587ba25bf05d2ca501e21662177a29565 Author: Michael Balzer Date: 2022-11-17 19:20:46 +0100 Vehicle: emit standard events on charge/generator connection type changes New events: vehicle.charge.type -- Vehicle charge connection type has changed (e.g. ccs/type2/…) vehicle.gen.type -- Vehicle generator connection type has changed commit 7f3700c53ec615bb22fd8e9a08fa23d7f9ee42b9 Author: Michael Geddes Date: 2022-11-06 17:35:46 +0800 Ioniq 5 - Move known values to _Full decode commit 4ebe624692c27db562796f099b43bab72fcb1e98 Author: Ludovic LANGE Date: 2022-11-16 22:26:15 +0100 add a free() that seems to be missing if the message has not been able to be sent to the queue, we need to free() the msg.text memory that we just allocated with strdup() (When the message is successfully sent to the queue, then the free() will occur when the message is retrieved.) Signed-off-by: Ludovic LANGE commit e5de99d70b206a81b8036aaa79905f25603d57be Author: Michael Balzer Date: 2022-11-14 20:11:36 +0100 History update commit c98c60c5240136902571d61d9bce14674c32710f Author: Michael Geddes Date: 2022-11-14 16:52:02 +0800 Ovms Metric - fix whitespace commit 7da7501f588a8cd75f0d3c145ced328cbb857416 Author: Michael Geddes Date: 2022-11-14 16:51:22 +0800 Unitcode metrics - Improve scripting documents commit 9a9a7e84f9a6c25cc0f33ca2903963f5169ab164 Author: Michael Geddes Date: 2022-11-13 16:35:00 +0800 Metrics Unit Groups - Fix Pressure spelling / rename Signal Group commit f1f3dcdddcded3c82d37a49c5968700bc6756b1e Author: Ludovic LANGE Date: 2022-11-12 15:18:06 +0100 normalize path before analyzing it Using `realpath()` we can ensure that the path is expressed in its canonical form before analyzing it. Signed-off-by: Ludovic LANGE commit 519ea8391073c459210ba14a64372aa5c7a81af8 Author: Ludovic LANGE Date: 2022-11-12 15:19:33 +0100 backport realpath() from esp-idf 4.4 realpath() has been introduced in esp-idf 4.4 and is useful to cleanup a path and check its existence. Signed-off-by: Ludovic LANGE commit 8f9a1491007f46d5732a903d19b68b1cb47d5eb2 Author: billatq <8d8k@anmt.net> Date: 2022-11-12 16:53:03 -0500 Update Fiat 500e documentation. commit 804983fab8aba02dda4441bb27020812c849d82b Author: Ludovic LANGE Date: 2022-11-11 17:17:24 +0100 rewrite `vfs ls` by sharing a common implementation with `vfs rls` Signed-off-by: Ludovic LANGE commit beadcd17e3ed8f986ac88761bf66d7ff411df91b Author: Ludovic LANGE Date: 2022-11-11 16:28:49 +0100 add `vfs rls` command to recursively list a path this implementation uses recursion but should be easy on the stack by limiting the number of big local variables. If wanted, `vfs ls` can be rewriten with this implementation. Signed-off-by: Ludovic LANGE commit 21424b10920b25580d4f724bb9aed7695a6e7a20 Author: Michael Geddes Date: 2022-11-12 08:16:55 +0800 Metrics - Add 'Metric' and 'Imperial' conversion UnitCodes - Converts metric to the metric/imperial equivalent commit 2aef93496dc6d434080969d4b651c75a7ad73afb Author: Michael Geddes Date: 2022-11-10 06:40:36 +0800 Duktape - Add OvmsMetrics.HasValue commit ed3bee1c9a228446df8ad15ccdfd64316ecdbb3b Author: Michael Geddes Date: 2022-11-06 09:42:37 +0800 Duktape - Extend functions to get metrics in alternate units - OvmsMetric.ValueUnit and OvmsMetric.AsFloatUnit commit 2a2c2174a2a12d199f316f1bd99af82012ba5022 Author: Michael Geddes Date: 2022-11-06 09:41:19 +0800 Shell - Support command to get metric with alternate units - Adds metrics get and metrics units commands. - Insure that the unit description printed is the one converted to. - Puts all the data into a lookup table for metrics. commit cf46cf4707cd8ca253648238c531792bde05b0cf Author: Michael Geddes Date: 2022-11-10 06:43:59 +0800 Metrics - Add acceleration unit FeetPSS Adds the imperial equivalent to Metres Per S^2 commit c6babc0288da1272248f11038c3b8d84410155eb Author: Michael Geddes Date: 2022-11-12 07:50:33 +0800 Niro/Soul - Update docs and release notes for power consumption metrics commit 561a9d22d9d079750bd5ba8bea2c4d882db77afa Author: Michael Geddes Date: 2022-11-11 22:05:49 +0800 Ioniq 5 Version - Fix compile commit b915f11f0211fb08ca1e99e55d26f8840e03f843 Author: Michael Geddes Date: 2022-11-11 06:23:33 +0800 Ioniq 5 - Update module version 0.0.2 commit ac9c55979e693e230bd07bedc3b6517f10a531e3 Author: Michael Geddes Date: 2022-11-05 11:22:51 +0800 Ioniq5/Kia* - Use new power consumption metrics. - Modify old power metrics that don't follow rules commit adfefa19621a54dc41ddbd7f231241bafd9fbd99 Author: Michael Geddes Date: 2022-11-11 06:23:33 +0800 Metrics - Fix capitalisation of 'KPkWh' commit 4b0d826970913e12ada060ba63dddbbc0369c5e8 Author: Michael Geddes Date: 2022-11-05 11:22:31 +0800 Ioniq 5 - Make custom metric naming more consistent commit 99af6f406f00deeaa1001eb1a936e5d46abef40f Author: Michael Geddes Date: 2022-11-03 17:24:19 +0800 Ioniq 5 - Load battery capacity from cell count commit 3ccccd4305d702069e75737ff754103488b89455 Author: Michael Geddes Date: 2022-11-10 06:32:14 +0800 Metrics - Fix names for new consumption metrics commit bfc8031bd7aaaf0438097fdd624884a94679692b Author: Michael Geddes Date: 2022-11-10 06:19:38 +0800 Metrics - Use pmi_to_pkm alias for clarity in conversion WattHoursPM to kwHP100K was using km_to_mi commit e1d383d245aceca29fb5e30421b7fe003bf42b96 Author: Michael Geddes Date: 2022-11-10 06:16:20 +0800 Metrics - Add space round ternary ?: operators commit cc821a349ae333c330227bb169c753c081d4b60e Author: Michael Geddes Date: 2022-11-10 06:12:34 +0800 Metrics - Fix names for new consumption metrics (lower case h for hours) commit d171ac12dbb6d4a57ff71aaa9f88aab5da984514 Author: Ludovic LANGE Date: 2022-10-22 17:35:00 +0200 add more information on the wifi scanning mode - and CLI instructions commit 1633120c6aedd63c061850686b675daec153bf70 Author: Michael Geddes Date: 2022-11-05 11:18:03 +0800 Metrics - Add commonly used power consumption units - Adds kWh/100km, km/kWh, and miles/kwh commit 4343d49b8bef2b7a665f4155a7d747cd247c5fb8 Author: Michael Balzer Date: 2022-11-05 11:00:07 +0100 VW e-Up: fix command crashes when T26 bus unavailable commit ab9b917d2152a9942bb5b3fec0ca89d13b551804 Author: Michael Geddes Date: 2022-11-06 08:04:42 +0800 Metric Conversion - Fix Metres -> Feet commit 796a2c966453e26a93fc84bd15be9437aafc3e4a Author: Michael Geddes Date: 2022-11-05 11:16:17 +0800 Metrics - Improve accuracy/consistancy km <--> mi conversion - Use functions for int and float conversions that have better precision. commit dd7c63f306ed69c9357a393333a9b8a8d2ec7194 Author: Ludovic LANGE Date: 2022-11-02 22:45:57 +0100 dbc : fix a regression on sign extension Fix a small regression accidentely introduced in ecec210 commit 878fa8cba50cd29b54238b2861bc964060d60e42 Author: Michael Geddes Date: 2022-11-02 16:49:39 +0800 Implement Vehicle - Hyundai Ioniq 5 - Initially Copied from Kia(/Kona) commit 73db0551dc145408c3e50e4894c589d04c17436d Author: Michael Geddes Date: 2022-10-23 18:39:27 +0800 Vehicle - Add consts for OBD Broadcast commit 4fa22d50098205bc7ecc9f2861898740fb5471e5 Author: Michael Geddes Date: 2022-11-02 06:56:31 +0800 BMS - Tidy up of bms status/temp/volt command for release commit 9335d0e95ff069078f7f61808fca125355750fbf Author: Michael Balzer Date: 2022-11-01 16:48:28 +0100 VW e-Up/T26: fix odometer processing commit 5623eee351c1355c9f9d432dc0b75d5c8c2d7ce8 Author: Michael Geddes Date: 2022-10-23 14:23:43 +0800 Ovms Logs - Add macros for hex-dumping buffers commit abc1560235ac3bf1434117dc3d9f88bf6faa0103 Author: Michael Geddes Date: 2022-11-01 17:42:41 +0800 BMS - Add separate temp/volt commands commit daa4eb24c27e12f0000a0bbbcacb73f60f605a47 Author: Michael Geddes Date: 2022-10-30 19:06:09 +0800 BMS - Tidy Status display to allow for Temp/Voltage missing - Also makes sure there are no more than 5 columns of temp+voltages commit d40f5d582ed49ba381345d540bdd96a74558b542 Author: Michael Geddes Date: 2022-11-01 19:05:42 +0800 BMS - Add Function to resize BMS Temperatures commit 0a64d47c720b9008ccc8c47711d97b3221866eaa Author: Michael Geddes Date: 2022-11-01 19:04:32 +0800 BMS - Fix CheckChangeCellArrangementVoltage commit 9fa12cbe5034e922798c73d0672f32f6f2f3cdce Author: Michael Geddes Date: 2022-10-31 09:59:32 +0800 Vehicle - Method to change voltage cell arrangement, preserving existing data commit 6ef146d3d2aed5d7dd0734c6da83f5c8b29dffa8 Author: Michael Balzer Date: 2022-10-31 20:24:24 +0100 Boot/crash debugging: capture stack overflow & current tasks, optimize task watchdog data capturing Test framework: add stack overflow test command commit 6ed0daac3707d4a56d9bfff4f87d534c66c70a0d Author: Michael Geddes Date: 2022-10-30 17:24:23 +0800 Vehicle - Use Enum for Bat/Temp status commit 295ce251397e5b9f154646a7b37f78a872dd1931 Author: Dimitrie78 Date: 2022-10-30 10:22:39 +0100 SmartED: CommandStats string fix commit 1dc6f5f16978c14ca5e8584f2f33ed6987dfa7b4 Author: Michael Balzer Date: 2022-10-29 11:31:47 +0200 README: include Zoe Ph2 commit 3e5ac7747b03603661a51eb791386e976bcd2b32 Author: Michael Balzer Date: 2022-10-29 11:12:28 +0200 Task stack size adjustments addressing issue #741 Note: the MDNS stack size reduction needs https://github.com/openvehicles/esp-idf/commit/6e214dc33550d92b71b6ba226d0e2c431aac1aad commit 92387875d0954c3d6d38d1d12ce12b6d59200cb0 Author: Michael Balzer Date: 2022-10-29 11:04:45 +0200 Config restore: shutdown SSH RSAKeyGen as necessary, fixes issue #702 commit 28b1a7b67c2ddbb513e1dfb68e46e280da349cf3 Author: Michael Balzer Date: 2022-10-29 09:45:46 +0200 Toyota RAV4EV: include in default build commit f0d721490bb31783095a4e749e9547ccd4ae7f9a Author: Michael Balzer Date: 2022-10-29 09:44:03 +0200 Duktape: mark DuktapeConsoleCommand TODO, silence warning commit 29f9230bcc68337cee6687c901b4ce141643f099 Author: Michael Balzer Date: 2022-10-29 09:42:04 +0200 DBC: silence warning about unused yy_flex_strncpy() commit 541298334457680a05a3921e530dfd577002192d Author: Michael Balzer Date: 2022-10-29 09:40:04 +0200 Zoe Ph2: include in standard build, fix tag warning commit 7c88063415cb72af4e2b9e35aa9755829d4b222c Author: Michael Geddes Date: 2022-10-25 09:40:24 +0800 Bit/Byte Utils - Fixes and improvements - Factor the integer type in the template - Add missing sign-extension in get_int_bytes_be - Add extract of sign/unsigned sub-sections from uint values - Add Run-time specified versions of bitwise operations commit ecec2108e324b964764eec2d1b053d23f8f0ff81 Author: Michael Geddes Date: 2022-10-22 07:26:13 +0800 Vehicle - Add buffer handling tools to ovms utils - Slight improvement / extension to sign_extend commit 8d39f1a4907166f1dc29de763048ee822580595b Author: Michael Balzer Date: 2022-10-23 20:23:56 +0200 Server V2 & V3: fix race condition on stopping commit e65e294872f1aa8abc6e53a2cf636345b734e702 Author: Michael Balzer Date: 2022-10-23 16:21:06 +0200 Boot: minor calculation optimization on 12V check commit 133b93d38a7bdd7ba45e3885dfb4270d95fdcf3f Author: Ludovic LANGE Date: 2022-10-11 14:31:14 +0200 fix negative integer DBC numbers having wrong values When non-32-bits negative numbers were processed by the DBC processor, there was an issue where the resulting metric values were incorrect. As an example: A 16-bit signed value coming from the can bus as 0xFFF7(-9) is being multiplied by a factor of -1. When handled by the DBC processor, the incoming number is stored as 0x0000FFF7 ; which is not -9, but 65527. After multiplication, it comes as 0xFFFF0009(-65527). (While those should be: 0xFFFFFFF7(-9) and 0x00000009(9)) The root cause is that the sign of the non-32-bit number is not extended to the left, thus making it a different number. The fix is to sign-extend the number to the left (it should work from 2-bit numbers to 32-bit numbers) when we're dealing with signed numbers. Co-Authored-By: Michael Geddes Signed-off-by: Ludovic LANGE commit 57dbf5e294aafb7dba0f33ce387efde0f3b8ae64 Author: Craig Leres Date: 2022-10-18 17:46:33 -0700 Chevrolet C6 Corvette: Simplify "is running" logic, minor whitespace cleanup commit 736c5318acd44beb1d2cf5638178fd6ae88a8c02 Author: Ludovic LANGE Date: 2022-10-13 20:47:55 +0200 document deprecation of scp protocol in scp command commit 022b2331b81f328752b5052b33feea77e0dfe64a Author: Douglas Urner <4495780+DouglasUrner@users.noreply.github.com> Date: 2022-10-13 01:39:36 -0700 Update index.rst Fix small typo. commit 00b15362f609d060d3f3630aced616a94d76f20f Author: Ludovic LANGE Date: 2022-10-10 23:05:56 +0200 small addition to time configuration commit d722d6c1f444a7321ebd17ded57a41676cfe73a7 Author: Ludovic LANGE Date: 2022-10-10 23:05:25 +0200 warn about limits in SD card configuration commit 7892f05b2c0f79df1d5d08d06c850fdb70700fba Author: Ludovic LANGE Date: 2022-10-10 23:04:53 +0200 show research/wip modules in index commit 12779fa816f6a42d005ec33ab00354810b85ce68 Author: Ludovic LANGE Date: 2022-10-05 21:20:06 +0200 fix small typos/re-formatting in documentation commit 9eb7153cbf765200839854f5666f6bb337662086 Author: Michael Geddes Date: 2022-10-09 17:10:51 +0800 Vehicle - Fix RestartCellTemperatures to resize the correct vector commit 4e3339065669127d3243d6a57192ca1c4d8cd7d3 Author: Craig Leres Date: 2022-10-08 18:10:59 -0700 Add back missing PollSetState() call. commit 678099cc09de0374044d0f9a319bc9a64d5e21a7 Author: Craig Leres Date: 2022-10-08 13:09:01 -0700 2nd gen Cadillac CTS: Leverage spontaneous PIDs to avoid polling when the car is off. We only use two poll states, remove unused polltimes from the poll_pid_t list. Minor whitespace. commit 46b144e4f109039db55f0d3a9c558236e3bc6925 Author: Craig Leres Date: 2022-10-06 20:54:07 -0700 Chevrolet C6 Corvette: Leverage spontaneous PIDs to avoid polling when the car is off. Minor whitespace. commit aa7cdb1ef66680730dbe42f633927594486523f1 Author: Michael Balzer Date: 2022-10-03 16:16:56 +0200 History update commit c8440c93b81bc17581e0f6ce4eb72da6bb7c47e8 Author: Carsten Schmiemann Date: 2022-10-03 13:06:07 +0200 Add renault zoe phase 2 obd vehicle module commit e2cb4b77b833635967c66710061567c62f87eeaf Author: Michael Geddes Date: 2022-10-02 15:54:11 +0800 Fix issue with use of char * after object deallocated - Uses Metrics ->IsDefined() rather than checking for "-" commit 854b54fc6f19554892a4fda61539cb2468173b88 Author: Michael Balzer Date: 2022-10-02 10:05:27 +0200 Cellular: reduce UART queue overflows by distributing status poll commit 64597b0caa959c99c80de613429c0295dda2a7a9 Author: Ludovic LANGE Date: 2022-09-30 21:24:32 +0200 rename `lawricel` format to `lawicel` (#728) Typo - this format name (`lawicel`, a.k.a. `slcan` in the Linux Kernel) comes from the LAWICEL AB company and its product : http://www.lawicel.com/can232/can232.pdf Signed-off-by: Ludovic LANGE commit 2cfb86d9fe4e2c78e47dae442439ee8eae0b4e1a Author: Ludovic LANGE Date: 2022-09-30 21:17:14 +0200 fix `cs11` (canswitch) tag, and reference this format in the documentation (#728) * the TAG was wrong for this format and has been fixed * this format (`cs11`) is now metionned in [the documentation](https://docs.openvehicles.com/en/stable/crtd/can_logging.html#logging-to-sd-card) Signed-off-by: Ludovic LANGE commit 8865d1d3405d995f82fafd5882db08e43b3b35c4 Author: vbarat Date: 2022-09-23 10:09:52 +0200 Improvements of the TCP client CAN logger fix by using a semaphore instead of a wait loop. Code clenup. commit b2427f1da18ceb1380719e49106fb4e5fb8bda71 Author: vbarat Date: 2022-09-21 15:21:43 +0200 Fix the TCP client CAN logger so that it waits for the state of the connection to be known before returning. commit d00de6c03c70ed43f437039a9b7626879e914a70 Author: Mark Webb-Johnson Date: 2022-09-02 14:36:59 +0800 Support PANDA can logging format commit 431ece18580d7765c35f881fc34a4fc0cdc18e2e Author: Mark Webb-Johnson Date: 2022-09-02 13:47:30 +0800 Add can log udpserver feature commit 7eb1d103ee19beed4f85d380a7bd216fedab65f4 Author: Alexander von Gluck IV Date: 2022-07-25 07:43:03 -0500 Bolt EV: Better status reporting of DCFC sessions; fixes #705 commit 7642e7f1e15464d4acbea1e8f5485c11bc6ea9a7 Author: David Teirney Date: 2022-07-03 20:48:06 +1200 feat: remove out-of-date files for the ABRP plugin since content now maintained and versioned in the Iternio repository commit b36a378a48387ee436fadf55016490d7b395fd3e Author: David Teirney Date: 2022-07-03 20:25:37 +1200 feat: update the docs for the ABRP plugin to refer to the official repository instead which now contains version 2.0 of the plugin. The current content was already a few versions out-of-date