commit e145cf63d1c3888501f3c613fd35348dece33695 Author: drc38 Date: Tue Sep 1 07:19:04 2020 +1200 NL: reserve custom BMS monitor for future use commit b969266c424104cdc4bf65303a5751eec1dd4d4e Author: drc38 Date: Tue Sep 1 06:53:28 2020 +1200 NL: add obdrequest shell command, poll shunt state and tidy up incoming poller commit 3e5945ec8f72a18515defec8799b4b4231990484 Author: Michael Balzer Date: Mon Aug 31 19:16:01 2020 +0200 Poller: multi bus code polish commit cccd72a1d646edcaf91284d7efbdc34088d6e77a Author: drc38 Date: Sun Aug 30 21:31:44 2020 +1200 Revert "NL: updates relating to poller-rework and poll_pid_t" This reverts commit d21cc1656dff6b77d2dba3a491de7eca752f065a. commit 5a788fd5e7c084c243d636dce6ab5f7310c1754c Author: drc38 Date: Sun Aug 30 21:31:36 2020 +1200 NL: actual poller-rework and poll_pid_t updates commit d5e0ccf698e7fc33987152cffb620a78e0e3d237 Author: drc38 Date: Sun Aug 30 21:29:09 2020 +1200 NL: updates relating to poller-rework and poll_pid_t commit ca6fe9845478422257b906ef55d1cbf019721e1e Author: drc38 Date: Sun Aug 30 21:19:18 2020 +1200 vehicles (ex NL): update poll_pid_list to remove compiler warning commit cff563dece64404c8c1860d90fa12b9c7e038be6 Author: drc38 Date: Sat Aug 29 22:13:29 2020 +1200 Revert "Revert "wifi: fix switch back from static ip by re-enabling dhcp"" This reverts commit 19a10124f9886e68a68bd8dad5c2328e38b1e089. commit c920364ec3bb129de9ab09e00f75bce056ec1cb8 Author: drc38 Date: Sat Aug 29 21:42:32 2020 +1200 vehicle: update debug, add back whitespace commit d2e8f951bcf77655c0e4898a0a7c6ddf6f87b5ac Author: drc38 Date: Sat Aug 29 20:51:47 2020 +1200 Revert "NL: add obdrequest command by canbus and improve polling" This reverts commit e119db0e21f62611fef91662a8a9f2f28ca44227. commit 2e5f47b7cb2f6e0c83f7bcd7562ed0df58da0c6b Author: drc38 Date: Sat Aug 29 20:49:20 2020 +1200 Revert "NL: set RespSepTime to 0, add poll once function" This reverts commit 99207ca5d9ad67b16c25302f9361fa5d2627b7a2. commit ce21a699a7556369c0b58946a3f79f91f8a83a3f Author: drc38 Date: Sat Aug 29 20:46:19 2020 +1200 Revert "NL: tidy up code no longer required" This reverts commit 76e681ee4bc2d27bee6136838f50fcac4c871e5f. commit 0f255ed1527e59d006a1bd56dc3e05d9461628f3 Author: drc38 Date: Sat Aug 29 20:39:32 2020 +1200 vehicle: improve code order/logic commit 13d3862641c23b00690622e43a428202c164adac Author: drc38 Date: Sat Aug 29 08:37:08 2020 +1200 NL: tidy up code no longer required commit 10b9f731de982b742666683ab2956f08a7085484 Author: drc38 Date: Sat Aug 29 08:29:09 2020 +1200 vehicle: add optional can bus specifier for pid polling commit 25bf89c4cd50a21e05e3c9210e27a76d406567f6 Author: drc38 Date: Sat Aug 29 08:28:44 2020 +1200 Revert "wifi: fix switch back from static ip by re-enabling dhcp" This reverts commit 000fc55dc1e4e158ed5c899887ca6adf56928ea1. commit 602992a3a704e600e25d230af8ddcdba738f1ef4 Author: drc38 Date: Fri Aug 28 19:22:56 2020 +1200 NL: set RespSepTime to 0, add poll once function commit 7305b92071071e52fd080a9c4249d61bf1b6d011 Author: drc38 Date: Wed Aug 26 23:00:29 2020 +1200 NL: add obdrequest command by canbus and improve polling commit dbeb0194ae2c6bbeb7f274a800045fb0aeed9d41 Author: Michael Balzer Date: Mon Aug 31 18:50:31 2020 +0200 User history update commit d2c2b1edd696f9c94446a332ef4efff4e29b8359 Author: Michael Balzer Date: Mon Aug 31 18:49:03 2020 +0200 Notify: add explicit channel exclusion config syntax config set notify <…> <…> options are now: a) explicit inclusion: e.g. 'ovmsv2,ovmsv3' (only enable these) b) explicit exclusion: e.g. '*,-ovmsv2,-ovmsv3' (only disable these) '-' to disable all, empty/'*' to enable all commit 07f25e3578e669ec0be3a12dd826c01dec009264 Author: Michael Balzer Date: Mon Aug 31 10:16:52 2020 +0200 Events/Scripting: fix event decoupling (re 6b709a0cb399d1a7c3866f68d7f9dbf92f9246c8) (re https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/418) commit ab079cdb4a8165eb15ec4757a4dffa754599ce3f Author: Dimitrie78 Date: Sun Aug 30 20:08:23 2020 +0200 SmartED: add missing obd_rxwait commit b7bb27758beb46016622bcda66822e331323cf09 Author: Dimitrie78 Date: Sun Aug 30 15:48:43 2020 +0200 SmartED: add PollError handling and fix cabintemp commit 6bdbd3f3b41ecfdb1dbfbe464a0de7f361f71f11 Author: Dimitrie78 Date: Sun Aug 30 14:59:28 2020 +0200 SmartED: remove valet alerts and fix ingition when soc < 20% commit 6b709a0cb399d1a7c3866f68d7f9dbf92f9246c8 Author: Michael Balzer Date: Sat Aug 29 15:51:20 2020 +0200 Events/Scripting: decouple events task from Duktape execution; - let Duktape process events asynchronously - let Duktape do per minute garbage collection asynchronously - raise Duktape queue 20 → 40 for events backlog Should solve https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/418 …and potentially the spurious event starvation crashes. commit 6ecbe748390a2d4de7fe8d78cfa5c5fda253b920 Author: Michael Balzer Date: Sat Aug 29 15:47:14 2020 +0200 WolfSSH: raise RSAKeyGen stack size, use standard logging commit f5c89d686f08629b68763982226d687259bc059e Author: Michael Balzer Date: Sat Aug 29 10:29:18 2020 +0200 WolfSSL: fix RSAKeyGen task triggering WDT see https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/418 commit 861aa9a589be063d99e1c92817bdcfd1b4926e15 Author: Michael Balzer Date: Sat Aug 29 08:29:21 2020 +0200 Poller: minor log optimization commit 0df6490b6c701bec26e4bb260adfab7e911fc137 Author: Dimitrie78 Date: Fri Aug 28 20:04:33 2020 +0200 SmartED: update canPolling for PollerReceive fix commit 4853653ee245520a59a6633e3396bab2e158b6f9 Author: Michael Balzer Date: Fri Aug 28 18:52:09 2020 +0200 OBD/UDS Poller: support NRC code 0x78 "ResponsePending" commit 000fc55dc1e4e158ed5c899887ca6adf56928ea1 Author: drc38 Date: Fri Aug 28 20:00:44 2020 +1200 wifi: fix switch back from static ip by re-enabling dhcp commit 63e1d102ea6d0f84f368c6eaffb689c2e3b22b88 Author: Michael Balzer Date: Thu Aug 27 21:22:10 2020 +0200 Twizy: add OBD/UDS error response handling commit 0b306ad4f5e7a1eb63a471a11ec7f1a6d69d8647 Author: Michael Balzer Date: Thu Aug 27 21:21:08 2020 +0200 OBD/UDS Poller Receiver Rework: - Fix race condition between CAN RX and PollerReceive - Separation of ISO-TP & OBD/UDS layer meta data analysis - Fix incomplete meta data validation - Allow single/multi frame responses on all service types - Validate multi frame response sequences - Fix single frame payload lengths - Fix type 0x22 first frame payload offset & overall length - Add negative response code handling → IncomingPollError() - Add response frame timing control → PollSetResponseSeparationTime() commit 421c4b4982f722b3d727df6b8aced1f6f0614782 Author: Mark Webb-Johnson Date: Tue Aug 25 14:44:39 2020 +0800 Add SKU for 9730443 OVMS Data Cable for Later Tesla Model S/X commit 89029f7f40db8049e5306129d9f6adec81bdf65b Author: Michael Balzer Date: Sun Aug 23 14:34:29 2020 +0200 Fast polling: fix poll sending loop, clarify throttling variables commit cb7eb8d703eb0d3212e2593b221f9954ed3cd45c Author: Michael Balzer Date: Sat Aug 22 12:10:03 2020 +0200 Nissan Leaf: fix building with poller rework commit 70519f084a9e278bae886138e066cb8a9a1156f2 Author: SokoFromNZ Date: Sat Aug 22 10:52:35 2020 +0200 Remember ticker loop start in instance var commit 7aabedccda53780de6a98ce0830ceb684d64d0cf Author: SokoFromNZ Date: Sat Aug 22 09:30:16 2020 +0200 Only one loop when throttle set to 0 commit 8a3453fd5e07c017c06cd1e940b0917c69d8e286 Author: SokoFromNZ Date: Sat Aug 22 08:23:13 2020 +0200 Mutex correction commit cbbe1a9f44b601c08cabf9ed8e4059701a5edb7f Author: SokoFromNZ Date: Sat Aug 22 08:20:59 2020 +0200 Corrections for special cases commit b7aec222da06faf6ec76599f37808fece934f89c Author: SokoFromNZ Date: Fri Aug 21 16:35:40 2020 +0200 PollerSend() recursion/loop optimizaton commit 09d65c61cacb91dd399b12a82f5084e8cd1169af Author: SokoFromNZ Date: Fri Aug 21 13:15:15 2020 +0200 Revert "added PollSetBusDirty method" This reverts commit f2f4a48db52b6429ef0d150813738a4d7e29de19. commit f2f4a48db52b6429ef0d150813738a4d7e29de19 Author: SokoFromNZ Date: Thu Aug 20 10:27:00 2020 +0200 added PollSetBusDirty method commit 0ddc20518965d7feed97a4b7d85bde780c5a0e84 Author: SokoFromNZ Date: Thu Aug 20 10:22:50 2020 +0200 cleaner set of m_poll_ml_remain and m_poll_wait commit 4ee53075abd03b2a99b0cc88c22b9943c9841d65 Author: SokoFromNZ Date: Wed Aug 19 16:16:49 2020 +0200 Logs and better behaviour in some use cases commit 41ac2f1b04fccfef296e4369ebd4bc04e033521a Author: drc38 Date: Wed Aug 19 22:03:53 2020 +1200 NL: implement use of can write parameter to allow/block TX writes commit c87786a2d3e630e32f34605dce16c6664a183282 Author: SokoFromNZ Date: Wed Aug 19 02:16:04 2020 +0200 New wait mechanism for single polls and bytes remaining commit 2afa80b3a2b910f7c6ec2dacfa1d309da23a2d81 Author: SokoFromNZ Date: Tue Aug 18 23:17:40 2020 +0200 Mutex und concurrency correction commit 2758319ae224dd2632bb462b2eee21ded7760c69 Author: SokoFromNZ Date: Mon Aug 17 20:07:23 2020 +0200 Corrected merge of https://github.com/Dimitrie78/Open-Vehicle-Monitoring-System-3/commit/a862715ecca06554018ce23aad3533b112a2ffb6 commit db98f06cae739f0c498e84d0b7592533b82fd875 Author: SokoFromNZ Date: Mon Aug 17 10:53:41 2020 +0200 Better controlability and concurrency addressed commit ad58f3acea87639e309614359d29657f78ae5607 Author: SokoFromNZ Date: Mon Aug 17 10:05:18 2020 +0200 Merged PollerReceiveFix https://github.com/Dimitrie78/Open-Vehicle-Monitoring-System-3/commit/a862715ecca06554018ce23aad3533b112a2ffb6 commit 32db78581959c8a45ea00bd5d36f32c9286cabc6 Author: drc38 Date: Sun Aug 16 18:52:48 2020 +1200 NL: switch bus prior to polling, fix chademo charge metrics + other minor improvements commit fc44fb471b2290fa2441ea4d71c432d0749fd8b0 Author: SokoFromNZ Date: Thu Aug 13 12:15:42 2020 +0200 Faster Poller option when needed commit 390b475943aa9f481f4c281b3c46b5ead8fe5657 Author: Michael Balzer Date: Wed Aug 12 08:18:37 2020 +0200 Wifi: fix scan command output for none found commit a2718c577dfc753c3e0b266996d910bfa1244fcc Author: Mark Webb-Johnson Date: Tue Aug 11 08:03:09 2020 +0800 Support Devel PCP status, for simcom development commit b5d97330f37c8211bba0629680f70b083d6daa26 Author: Mark Webb-Johnson Date: Tue Aug 11 08:02:45 2020 +0800 Add a "devel" power mode to put PCPs into development status commit 6c884ce6a6f0829e392b15bf61553503c41dc6f7 Author: Michael Balzer Date: Sun Aug 9 13:05:37 2020 +0200 CAN: fix TX callback processing priority commit e099602c73f935cb5b6e54e07b0c1d48941b81f8 Author: drc38 Date: Sun Aug 9 08:55:56 2020 +1200 NL: set charge state last to avoid missing info commit 870a83c911b756b030f712270f1d68d4c83eaf4f Author: Michael Balzer Date: Sat Aug 8 16:02:33 2020 +0200 Plugin update: Twizy eDriver BMS monitor: added cell balancing time totals + SOC & voltage use/charge range commit bb35be39fe9f36c9e1f70252856526f9360337db Author: Michael Balzer Date: Sat Aug 8 15:21:42 2020 +0200 Twizy: add eDriver/Virtual BMS data to RT-BAT-C & RT-BAT-P logs RT-BAT-P: + ,,,, RT-BAT-C: + ,,, … been_balancing = cell has been balancing since last log record … balancetime = count of 0x700 frames with balancing active commit 8898a91fb749f880f0acd3f449b1cafc2c7e8c2e Author: drc38 Date: Sat Aug 8 22:43:47 2020 +1200 NL: improve charge current/limit precision commit 641528f778491ebe0cfe741d356ba2617fe64d7f Author: drc38 Date: Sat Aug 8 18:20:37 2020 +1200 NL: consolidate charger code, add logic for gen1/2 differences, custom notify delay commit a8a547a50085118d22690637f77585bca16bf65d Author: Michael Balzer Date: Fri Aug 7 19:19:43 2020 +0200 Wifi: static IP finish, web UI exclusion (todo) commit 111bf1ca09bb860091d41565f983c147e5227ddb Author: Tamas Kovacs Date: Tue Aug 4 18:13:41 2020 +0200 Calculate trip distance from TripB, more accurate than odometer 100m vs 1000m commit ace75984be14d678ad331275bd0ed12f5c07e956 Author: drc38 Date: Tue Aug 4 22:28:22 2020 +1200 NL: add charge mode for App commit f1885f751e87e2d4c0962e49e36bc07c81430cf6 Author: drc38 Date: Tue Aug 4 21:02:07 2020 +1200 wifi ip static or dhcp command structure commit 005735044c0de451aa56c504af9edc099f514de2 Author: Mark Webb-Johnson Date: Tue Aug 4 16:14:47 2020 +0800 changes.txt for 3.2.014 commit cb7a667b27cb91276e7db4c7bb83174606ee847d Author: drc38 Date: Tue Aug 4 17:42:28 2020 +1200 Revert "Update .gitmodules" This reverts commit 0dbe47b9f382f61282ec8bed342c9b5021301f4a. commit 5e67d0e39b0b8fa48b892b9245817576527780ff Author: Mark Webb-Johnson Date: Tue Aug 4 13:42:03 2020 +0800 git ignore .vscode for Visual Studio commit d96b1e458d8c87ea4da59f15343620f78ece2b62 Author: Mark Webb-Johnson Date: Tue Aug 4 08:39:44 2020 +0800 Tesla Roadster documentation update on X437 connector commit dab14f7964c84a5094bf886bcc0ca93887b3a2b5 Author: Michael Balzer Date: Mon Aug 3 10:19:58 2020 +0200 Docs: add USB port fragility warning commit b5a8abef1a045ac2c2a2634bac50f79f5e986b9d Author: drc38 Date: Sun Aug 2 21:46:50 2020 +1200 Incorporate into one command commit 0dbe47b9f382f61282ec8bed342c9b5021301f4a Author: drc38 Date: Sun Aug 2 14:10:05 2020 +1200 Update .gitmodules commit c7a5eef2f81b0d28493b3f0f73eef1830f0da48e Author: Michael Balzer Date: Sat Aug 1 12:47:05 2020 +0200 Scripting: fix command script output, suppress prompt printing commit 644651b72ac9cd44528a988bc7292b2d15aff457 Author: drc38 Date: Sat Aug 1 21:55:26 2020 +1200 NL: stop polling while driving for safety, change awake logic commit db6a877a1e0f2f996fb746be8654983ab881d97d Author: Michael Balzer Date: Fri Jul 31 23:00:47 2020 +0200 Twizy 1.8.0: add eDriver BMS charge level & stop control commit f21895d60507581141859a14efe0a0c2620f64fe Author: Michael Balzer Date: Thu Jul 30 23:32:54 2020 +0200 Webserver: fix race condition on immediate connection loss commit cc2f6420a3c984486cd8973a84b1d6993f14dd75 Author: drc38 Date: Thu Jul 30 07:07:32 2020 +1200 NL: Improve polling, add wakeup for use with App commit 88c6dca09fd2f81aa832558ba85df7ea314eac16 Author: drc38 Date: Tue Jul 28 18:12:21 2020 +1200 params reinstated, dns set via param, extra checks commit 059d0cae58f31df3f97f0c5890b88e9d5eb9ab3e Author: Michael Balzer Date: Sat Jul 25 12:46:18 2020 +0200 Docs: minor fixes & additions commit c141a02237ff1bac1e7edbddc640a35d4d27412f Author: Michael Balzer Date: Fri Jul 24 17:51:39 2020 +0200 OvmsMutex: fix deleting taken mutexes commit 5f524b2abeacb6861bfe31b2cfa30d504bfa87ae Author: Michael Balzer Date: Fri Jul 24 15:00:59 2020 +0200 Events: explicitly detect and log event queue rx timeouts, ensure m_current_event availability (for crash/twdt debugging) until event processing has been completed commit 90cdafaeb0f1429dc81d7b62748330f27beac8ee Author: Michael Balzer Date: Fri Jul 24 14:56:33 2020 +0200 Netmanager: fix potential busy loop, detect mutex priority issues commit d4422f86a3b5ef74239477283ce2f951ad8e7578 Author: Michael Balzer Date: Fri Jul 24 14:51:41 2020 +0200 Module: add base priority & mutex hold count to "module tasks" (for debugging mutex priority inheritance issues) Note: depends on esp-idf commit 95e43fc2c4360f8126a0985bf037a293bebe3767 commit 13a6c4c88aa6e961c335a3fe6ffd37376c3944c9 Author: drc38 Date: Fri Jul 24 23:43:44 2020 +1200 bind to ssid.ovms.staticip commit c67a9656c25ff40a6ecfc7711e26d8d76f65e104 Author: drc38 Date: Fri Jul 24 19:27:31 2020 +1200 fix "code check" This fixes conflicts in commit 06fb87155f462f1903c68e49ca22d09c6fb1288f. commit 06fb87155f462f1903c68e49ca22d09c6fb1288f Author: drc38 Date: Thu Jul 23 22:55:08 2020 +1200 code check commit dfd5b576263ba0bcf66297c43b3d10778c6ee0e5 Author: drc38 Date: Thu Jul 23 22:44:49 2020 +1200 Additional vehicle state fixes commit 31d40051901de6f50fc2f9bace4424d1d6cb79f1 Author: drc38 Date: Thu Jul 23 22:43:04 2020 +1200 Revert "Revert "additional fixes for Gen2 vehicle state"" This reverts commit 3404901078ed71cac791d9e14b5120bfdcae2cc6. commit 3404901078ed71cac791d9e14b5120bfdcae2cc6 Author: drc38 Date: Thu Jul 23 22:41:35 2020 +1200 Revert "additional fixes for Gen2 vehicle state" This reverts commit 0fc10ecbedfc1f43bb61b37b257940847bf91f5b. commit 0fc10ecbedfc1f43bb61b37b257940847bf91f5b Author: drc38 Date: Thu Jul 23 22:39:07 2020 +1200 additional fixes for Gen2 vehicle state commit 4fa27f0ecb86a31ca0327be075dc91c196c5cfd9 Author: Mark Webb-Johnson Date: Thu Jul 23 16:05:41 2020 +0800 SKU for K-line option board commit c9859db5692df5f925981e2a400ea3694d5bd186 Author: Michael Balzer Date: Tue Jul 21 20:05:39 2020 +0200 New Twizy plugin: eDriver BMS monitor commit a40ab02badbe911cad2b9b5b7129f3f561fd5221 Author: Michael Balzer Date: Tue Jul 21 19:37:32 2020 +0200 Twizy: raise custom BMS temperature alert threshold to 85 °C commit 3d5f594fb553488baecf158c597ede2915b7b4c4 Author: Michael Balzer Date: Tue Jul 21 19:34:05 2020 +0200 Events: close (flush) log file before queue overflow abort() commit af256f5c497cb66563e94c6ef6c20f921c97a0b5 Author: Michael Balzer Date: Tue Jul 21 19:32:28 2020 +0200 Web UI: correct & clarify webserver configuration commit f2269256b85163a725197e4fb472e9d18c930530 Author: Glyn Hudson Date: Tue Jul 21 12:24:03 2020 +0100 docs: update note AZE0 HVAC commit 2a7426e858c493000680de5dc6b8d35a616d89de Author: drc38 Date: Tue Jul 21 21:30:10 2020 +1200 wifi enhancement #386 commit f2a13fc226294240d886bf82b544313b641cb5de Author: Mark Webb-Johnson Date: Mon Jul 20 08:12:47 2020 +0800 K-Line documentation to clarify GEP wiring is on boards dated July 2018 or later commit c431a0f6c56d78fddd5e0c7e175b143284ffa360 Author: Michael Balzer Date: Sun Jul 19 12:11:55 2020 +0200 Twizy: send custom BMS alerts on errors & high temperatures commit 6097aa629e82b27e587fc9210f296d6b347d4fe9 Author: Michael Balzer Date: Sun Jul 19 12:10:14 2020 +0200 Web UI: fix charset errors on CSS assets commit 47944d3d81e3992800fb310ca657caa022a723e3 Author: drc38 Date: Sun Jul 19 20:33:15 2020 +1200 revert mcp2515 to master commit a1d82c462ccf99196907e56666b3d1cf76ab50c3 Author: drc38 Date: Sun Jul 19 20:16:48 2020 +1200 further tweaks to 0x390 section commit 599b097535b8e6b8d6fbce0d5bcf819eedb181bf Author: Michael Balzer Date: Sat Jul 18 15:13:42 2020 +0200 Twizy: fix stat command estimated range output commit fc79b92fc16fb91058c5998d91577552b652c087 Author: Michael Balzer Date: Sat Jul 18 11:29:35 2020 +0200 Renault Twizy: support VirtualBMS & eDriver BMS (3 cell temperature sensors) New metrics: xrt.bms.type -- 0=VirtualBMS, 1=eDriver, 7=Standard xrt.bms.state1 -- BMS specific main state xrt.bms.state2 -- BMS specific aux state xrt.bms.error -- BMS specific error status xrt.bms.temp -- internal BMS temperature xrt.bms.balancing -- Cell balancing status commit 7c8b6ef8cde36daf84243b60daa6e9d5e87f1103 Author: Michael Balzer Date: Sat Jul 18 11:21:08 2020 +0200 Vehicle/BMS: fully reset metrics on layout changes, support non-aligned voltage/temperature sensor layouts commit b4d3de3f648a5e20f1b87b85ffb5f568a90845e8 Author: Michael Balzer Date: Sat Jul 18 09:24:29 2020 +0200 Boot: also capture EventScript event processing commit b0c3688673eda8ffb2e01f1f43aeca366b0e610b Author: drc38 Date: Fri Jul 17 22:46:51 2020 +1200 Leaf AZE0 fixes commit c241a8210013575ac24bb8c0b0cbba3024e11ecc Author: Craig Leres Date: Thu Jul 16 22:57:53 2020 -0700 Only check for persistent metrics corruption on warm boot commit b846b18a530a49b5978f362ec67bfa254cfcb752 Author: Michael Balzer Date: Thu Jul 16 10:41:34 2020 +0200 Build: changes for esp-idf release/v3.3 merge Note: depends on esp-idf update to… https://github.com/openvehicles/esp-idf/commit/0137aef47105ec2b2e9a88aaf04477476aad084c commit 7bfc34debf8e5fab6f060caf8eb2512715fe736d Author: Michael Balzer Date: Thu Jul 16 10:16:37 2020 +0200 Build: change for toolchain version crosstool-ng-1.22.0-96-g2852398 commit 0167266b78ec8755b4706a1a729a2e58c10ee6ea Author: Mark Webb-Johnson Date: Wed Jul 15 14:56:23 2020 +0800 Move duktape command exec from scripts->command module, and prepare for command register commit 27b71049c6cdbf22f9ea8b8f9acdd733e4c1a546 Author: Mark Webb-Johnson Date: Wed Jul 15 10:05:13 2020 +0800 Provide FindCommandFullName function commit 6d46c2cc06555dbac3aed855cc12dc642ee0926b Author: Craig Leres Date: Tue Jul 14 15:36:18 2020 -0700 Expose Network Registration state via a new metric (m.net.mdm.netreg) commit 36cd27c46269e09b4a6336653fa5b94f3d0529bc Author: Michael Balzer Date: Tue Jul 14 20:00:49 2020 +0200 Core: fix task watchdog availability for events component, avoid misleading watchdog trigger by duktape task from stuck events commit 65c11dc07b80da0902fe38805262cfa83418a2d9 Author: Michael Balzer Date: Tue Jul 14 19:59:01 2020 +0200 Module: new command: "module trigger twdt" -- test task watchdog commit 2c267d1857412ad6d888ad4780282035237c04ec Author: Michael Balzer Date: Tue Jul 14 19:57:28 2020 +0200 Events: trigger abort() on loss of important (non-ticker) events due to event queue overflow commit 739dba67a19141f7328fbe8d800a42471a5940a1 Author: Michael Balzer Date: Tue Jul 14 19:52:34 2020 +0200 Boot: add event and task watchdog crash debug info Note: depends on… https://github.com/openvehicles/esp-idf/commit/7ca3bc1e4868608c26d086587511c33aec050b3b (adding esp_task_wdt_get_trigger_tasknames()) commit d365a6a7619899fe1d23b94c0561385606baf6d9 Author: Mark Webb-Johnson Date: Tue Jul 14 08:36:42 2020 +0800 Minor formatting changes to documentation commit de8b636bd1982edc7cbad094ae348cd86ac97897 Author: Michael Balzer Date: Mon Jul 13 23:20:25 2020 +0200 Events: prioritize event handler task above default level commit f10ed3809dd434b9987ab512e193cc81a1b395fb Author: Mark Webb-Johnson Date: Mon Jul 13 16:00:09 2020 +0800 Add TPMS component documentation commit 024476982325a29905429c1fd3309fc9e3237422 Author: Mark Webb-Johnson Date: Mon Jul 13 15:45:36 2020 +0800 User guide updates for TPMS commit 0db98ef8126a8418a18d87871c322f57ce25265e Author: Craig Leres Date: Sun Jul 12 21:30:25 2020 -0700 Add -S to metrics list that display defined metrics as "metrics set ..." commands. Combined with -p this is handy for pmetrics dev work. Add a persistent metrics shutdown check. If any problems are found the entire pmetrics struct is reinitialized from in memory values. Remove OvmsMetric::IsPersist() and use the public m_persist member instead. Simplify log formatting in OvmsMetricFloat::OvmsMetricFloat(). commit c11c4cb4f265353ee887b242489071f35aadf33e Author: Mark Webb-Johnson Date: Mon Jul 13 09:26:01 2020 +0800 More electric cable documentation commit 20727b603e1abdfc7ac6bbbcf45ec47911e487fb Author: Michael Balzer Date: Sun Jul 12 11:00:43 2020 +0200 Wifi: fix scanning with wifi off, fix binding to specific bssid commit b2f264de12e8a216199f373206254fb57761dc31 Author: Michael Balzer Date: Fri Jul 10 22:37:21 2020 +0200 Wifi: fix potential event sequence bug (sta.start → connect) commit 0b18a0e60dc938e54e4d27e779ccd34eafe8a0b7 Author: Tamas Kovacs Date: Fri Jul 10 20:42:54 2020 +0200 Fix soc < 0 OBC Polling preparation commit 5d1f124060326b92f35887878b4d49c8012542dc Author: Michael Balzer Date: Fri Jul 10 13:16:36 2020 +0200 Wifi: scanning apclient mode, network selection dialog in wizard & wifi config, scan support in all modes, fixed network selection by signal strength (possibly also fixes issue #387) New/updated commands: wifi scan -- can now be issued in any mode wifi scan -j -- output scan result as JSON object (for web UI) wifi reconnect -- request a client reconnect cycle wifi mode apclient -- now accepts empty stassid & optional stabssid commit 53f7cceeb367a7463d77ac39b6c5174704f8c5eb Author: Mike Stuart Date: Thu Jul 9 10:36:34 2020 +0100 bump version and changelog info commit 6dee1d7c8855b0e7e572b45cfdc4c6ededa1a9b7 Author: Mike Stuart Date: Thu Jul 9 09:50:32 2020 +0100 removed my pointless setConfigEntry method commit dda17abe9359d2487767cb26f373aa49207818dc Author: Mike Stuart Date: Thu Jul 9 08:57:06 2020 +0100 Restore original default values commit 8ff70efaa8f419b0132e59adc52300da2c593641 Author: Mike Stuart Date: Wed Jul 8 21:06:13 2020 +0100 Bug fix for altitude, new config functions commit b8088aa919223c8f43d9a58409c83c81bd0741f5 Author: Mark Webb-Johnson Date: Wed Jul 8 15:53:32 2020 +0800 Revise documentation to reflect issues with Hologram SIMs in China commit ee4e6e048b2871be8c8df93b064a364258e110bb Author: Mark Webb-Johnson Date: Wed Jul 8 09:15:02 2020 +0800 Documentation on electrical connections for Tesdla X437A commit cd9ca416385584fc634f0367fe37fbcdd910f2e9 Author: Mike Stuart Date: Tue Jul 7 19:33:49 2020 +0100 Initial updates commit 9316932bdb46be85077b786e8b491d0a702106dc Author: Mark Webb-Johnson Date: Tue Jul 7 16:43:59 2020 +0800 Electrical pinouts and cables commit a5e960533b8ecddbf81b9a04598d3fa37e66b375 Author: Mark Webb-Johnson Date: Sun Jul 5 21:36:18 2020 +0800 Tesla ModeL S: Fully support tpms read and write (including UDS security access) commit 4885d659e28a23482775a3c4e32f204a5ca9027a Author: Mark Webb-Johnson Date: Sat Jul 4 22:25:57 2020 +0800 Tesla ModeL S: Support tpms read and write. Note that write needs a UDS diagnostic session (with security access) to be manually established first - still working on resolving this. commit 13f7fdfd285d4f6b9d0b1f9e49a6b31fe767789b Author: Mark Webb-Johnson Date: Sat Jul 4 22:25:05 2020 +0800 Tesla Roadster: Validate tpms tyre sets to be written are 4 tyre IDS commit 5b0daab8c1483b792c478738365233e303b65b78 Author: Mark Webb-Johnson Date: Sat Jul 4 22:24:28 2020 +0800 tpms: small spelling error correction commit f37571a6122d30b12bebd791d17712c70888878d Author: Tamas Kovacs Date: Sun Jun 28 09:23:53 2020 +0200 Remove some comment commit c249d687cf1891f64ee630020a6ea13e54b74962 Author: Tamas Kovacs Date: Sun Jun 28 09:18:36 2020 +0200 Use polling for - cabin and external temperature (beta) - meter Trip A/B value - cac and some sharge value replace V1.06 version commit 18fb8426f7bd007f96c47462bf5d44a8f0b4d64c Author: Craig Leres Date: Mon Jun 15 08:07:32 2020 -0700 Round #2 of non-invasive changes, this time towards esp-idf v4.1 Here is another set of changes, this time using esp-idf v4.1-beta2 and version esp-2019r2 of the toolchain as specified in the docs: https://docs.espressif.com/projects/esp-idf/en/v4.1-beta2/get-started/linux-setup-scratch.html As Michael has noted, gcc8 reports a lot of potential issues! To make reviewing easier I'm going to batch these by type. The focus this time: switch statement fall through issues (along with a few simple, obvious fixes). There are a number of switch statements with cases that fall through by design: components/console/argtable3/argtable3.c components/esp32wifi/src/esp32wifi.cpp components/simcom/src/gsmmux.cpp components/vehicle_renaulttwizy/src/vehicle_renaulttwizy.cpp For these, add /* fall through */ to C modules and [[fallthrough]] to C++ modules (but wrap with an ifdef since this wasn't added until gcc7): +#if __GNUC__ >= 7 + [[fallthrough]]; +#endif There were some breaks missing in both versions of UnitConvert() in main/ovms_metrics.cpp. These are likely only being called with reasonable values so this probably wasn't causing any issues. GsmMuxChannel::ProcessFrame() in components/simcom/src/gsmmux.cpp has a switch fall through; I'm not sure if it's a bug so I added a [[fallthrough]] (There are lots of missing fall throughs in the wolfssh code but I assume we'll upgrade to a more recent version which seems to have fixed these; I ignored these for now.) The obvious fixes: The rcsid in components/console/argtable3/argtable3.c is flagged as unused; mark with __attribute__ ((unused)). There are places where gcc8 complains about whitespace: components/strverscmp/src/strverscmp.c components/vehicle_mitsubishi/src/vehicle_mitsubishi.cpp components/wolfssl/wolfcrypt/src/rsa.c I changed the indent level or otherwise reformatted in these modules to quiet the warnings. The new idf wants to see quotes around a default string (main/Kconfig): config OVMS_VERSION_TAG string "A tag to describe the current build version" - default main + default "main" depends on OVMS The new idf complained about the default value for ESP_CAN_SPEED not being defined (components/esp32can/Kconfig): choice ESP_CAN_SPEED prompt "Select the ESP_CAN_SPEED used for the ESP CAN Driver" - default CONFIG_CAN_SPEED_125KBPS + default CAN_SPEED_125KBPS depends on ESPCAN help As long as we're here add CONFIG_OVMS_COMP_TPMS to support/sdkconfig.default.hw31 commit df4e11a9e0b6b2080847c8661fc02651f81dbba2 Author: Mark Webb-Johnson Date: Mon Jun 22 13:47:36 2020 +0800 Document harmonised codes for fasttech and shipping commit ef17ec7ed5c1837a528b22e1dd3e9bcc3ffa1f59 Author: Mark Webb-Johnson Date: Thu Jun 18 21:07:27 2020 +0800 Fix log headers for crtd format to vfs (init ordering) commit 6d9879b1efc4f15463283371d681f0fb3405afb8 Author: Mark Webb-Johnson Date: Tue Jun 16 13:51:38 2020 +0800 Handle race conditions on "can log stop" commit ce3be4725a8fee649266353fe4143e807b6e341d Author: Michael Balzer Date: Sun Jun 14 14:41:34 2020 +0200 Boot: validate RTC RAM consistency, add "boot clear" command commit 3a5d329abd8364d0d1a68c721ffcee06ad8cce0d Author: Mark Webb-Johnson Date: Sun Jun 14 13:54:35 2020 +0800 TeslaModelS: Add TPMS pressure for Baolong system (up to mid 2014) commit b316041975f84e7831fd0835b25ea0ea1e5a3b27 Author: Craig Leres Date: Sat Jun 13 17:44:09 2020 -0700 Track and report the reason persistent metrics were reset commit 790ea8a24aed5288a895d41acc86645a0c955b79 Author: Dimitrie78 Date: Sat Jun 13 16:39:38 2020 +0200 SmartED: change 12v charging detection commit a541fc5efafda40467a644f030ae921e9d326a52 Author: Michael Balzer Date: Sat Jun 13 15:05:34 2020 +0200 Metrics: add estimated & ideal range to persistent metrics set commit ff2e588742748b2902ad95219ec87bed19ca4c16 Author: Michael Balzer Date: Sat Jun 13 14:52:21 2020 +0200 Logging/Web/SSH: solve issue #375 (log message feedback loops): use ESP_EARLY logging for protocol level debug logs commit 5b2d605810b210a61f358738d48bc8e31023c614 Author: Michael Balzer Date: Sat Jun 13 14:43:56 2020 +0200 Pushover: silence logging if not enabled commit eee15c3c97a05a4eae095f947c6483364621fd6f Author: Michael Balzer Date: Sat Jun 13 14:43:56 2020 +0200 Pushover: silence logging if not enabled commit 7c18812f2e27a6059a770997e810e6d00802e6a8 Author: Craig Leres Date: Tue Jun 9 13:41:18 2020 -0700 Reduce RTC persistent metrics reads of slow RAM Use the m_value field to cache it as suggested by Michael (This actually cleans things up compared to pre-persistent metrics) commit 3ec5d399067fde43cd84db6141455c11856187d0 Author: Tamas Kovacs Date: Mon Jun 8 21:18:15 2020 +0200 Some update commit 6f1769988cf47e68a129391495902a3bb6cf3f5e Author: Craig Leres Date: Sun Jun 7 14:11:21 2020 -0700 Persistent metrics improvements Make some more metrics persistent as per Michael: v.b.energy.used, v.b.energy.recd, v.c.temp, v.i.temp Add v.e.cabintemp while we're at it Check that persistent metric name fits in the field Add -p to metrics_list() to limit output to just persistent metrics and improve argument handling (e.g. "metrics list -vp v.p" works) invalidate pmetrics by zero'ing magic instead of size ("metrics persist -r") no need to increment pmetrics version since we changed the size update changes.txt and add minimal documentation to the user guide commit b268b11bd08d3b898d90c4d2269a91b3cf850dcb Author: Michael Balzer Date: Sun Jun 7 10:06:08 2020 +0200 Twizy: init internal state from persistent metrics commit 7548af5030596bd3a408340d6329b138408461b1 Author: Craig Leres Date: Sat Jun 6 10:27:31 2020 -0700 Make some metrics persistent across warm reboots Use the RTC_NOINIT_ATTR attribute to put some metrics in RTC slow memory These persist across crashes, firmware updates, and warm reboots and are zero'ed on cold reboots This is only implemented for OvmsMetricFloat Unrelated fix: puts() -> writer->puts() in metrics_list() commit 64bf590d7af481fc6e7bdbfdc80d79168c14213d Author: Mark Webb-Johnson Date: Fri Jun 5 13:37:22 2020 +0800 Push subscription when netpass contains a comma #12 commit 63b78bb039df78d2a025ddfa313a3bab411fc38d Author: jaunius@gmx.com Date: Thu Jun 4 12:28:56 2020 +0300 one more try to revert changes commit a87fe3a785f4eba0897dae9ad852846ce6fa70ce Author: jaunius@gmx.com Date: Thu Jun 4 12:24:18 2020 +0300 fixed typo while copying commit 2a0ed7455c21d7b92677e2974af0a0965d878be7 Author: jaunius@gmx.com Date: Thu Jun 4 12:19:38 2020 +0300 really removed unintentional changes commit 8cc76beee5bf5bb12dab3ac5cc0b5fe9eee49915 Author: mjkapkan <38353835+mjkapkan@users.noreply.github.com> Date: Thu Jun 4 11:55:28 2020 +0300 Removed unintentional changes commit adb27b124a7940190a0d49700e5d83320af8fd24 Author: jaunius@gmx.com Date: Wed Jun 3 00:04:28 2020 +0300 tidying up + more comments commit 75e3f55240f62d3f6fafdfc79727ac5c111f13d3 Author: jaunius@gmx.com Date: Tue Mar 3 21:07:39 2020 +0200 Final Cleanup and Fixes commit e11ba8a01e571895b89826fbeab8214343ccd1a6 Author: jaunius@gmx.com Date: Sun Mar 1 22:21:39 2020 +0200 Finalized heating metric, tidy-up of CC code part, removed unusefull dev values commit f32113b3338c3d922037e81f07fb17a969722c14 Author: jaunius@gmx.com Date: Tue Feb 18 02:07:21 2020 +0200 enhanced cooling metric and added beta testing metrics commit c6a4af6f0dfdaea88e90ae12b8ef6882ec3f4d2f Author: jaunius@gmx.com Date: Fri Feb 14 22:45:10 2020 +0200 bugfix for model year check before setting climate control metrics commit 6f773a71ac8298b98572ffbe331c5ec1f1785396 Author: jaunius@gmx.com Date: Fri Feb 14 00:27:47 2020 +0200 Moved generic CC metrics to v.e.cabin, added fan limit var, merged vent & intake submetrics commit 86a9a84c5da1ee3ec3e34b8de0d9417ea901086d Author: Michael Balzer Date: Tue Jan 7 19:29:27 2020 +0100 New plugin: AuxBatMon: 12V Battery History Chart commit 37d591335eac65ba346ff2337b2d6162741cf309 Author: Michael Balzer Date: Tue Jan 7 19:05:57 2020 +0100 Duktape: fix float precision errors in OvmsMetrics.AsFloat() (avoids e.g. 11.08 becoming 11.079999923706055) commit e37ef95bdebd629146ce7e1922fdc11408bd1278 Author: Michael Balzer Date: Tue Jan 7 13:13:33 2020 +0100 Plugins: added retools web plugin commit 06976bcb65a25089d843cefc393b715613fb226c Author: Michael Balzer Date: Tue Jan 7 13:12:20 2020 +0100 Web framework: added legend & tooltip default night styles for Highcharts commit fb9bd48b1bfc8d7cbe4d49ec1761de58551873e8 Author: Michael Balzer Date: Tue Jan 7 13:11:32 2020 +0100 Web UI: minor editor handling optimization commit 8fa95dba41f3c621b864449bb61ee8aea4746277 Author: Michael Balzer Date: Tue Dec 31 15:00:58 2019 +0100 Plugin directory added commit 93f13e1cbc6898f04038fd720c12eda4be2c6136 Author: Michael Balzer Date: Sat Dec 28 22:57:33 2019 +0100 Web shell: HTML encode log messages commit 66e8d65f1a09e345c30f44b18631f4d9ea535692 Author: jaunius@gmx.com Date: Thu Nov 7 22:06:59 2019 +0200 Removed beta metrics commit 5805321d0b6a2d05ba83251ee180f8164ff7e3d3 Author: mjkapkan <38353835+mjkapkan@users.noreply.github.com> Date: Tue Nov 5 10:05:19 2019 +0100 Typo fix commit cc8c8b72342d1da3be797a36652be7f6b4469a60 Author: mjkapkan <38353835+mjkapkan@users.noreply.github.com> Date: Mon Nov 4 10:54:11 2019 +0100 Added support details commit 2ba7a9cbc24bc10083bba39573ed654b16f3be47 Author: mjkapkan <38353835+mjkapkan@users.noreply.github.com> Date: Mon Nov 4 10:53:39 2019 +0100 Update index.rst commit 030bf147dbcaaa61e596ca498c7873559b8920ee Author: mjkapkan <38353835+mjkapkan@users.noreply.github.com> Date: Mon Nov 4 10:47:52 2019 +0100 Added more info to hvac metric footnote commit b26c2d05c8f7af23012739cb701d5259aab5292d Author: mjkapkan <38353835+mjkapkan@users.noreply.github.com> Date: Mon Nov 4 10:44:57 2019 +0100 Typo Fix commit 29732cdd22846226f2c76fb046a841ef4694087b Author: mjkapkan <38353835+mjkapkan@users.noreply.github.com> Date: Mon Nov 4 10:43:32 2019 +0100 Added Description of new metrics, separated supported items in to 3 sections. commit f18e6e41d1bc76207902350c75bb015b3c6ba6c9 Author: jaunius@gmx.com Date: Sun Nov 3 22:19:26 2019 +0200 Cleaned up and added ventilation and fresh air modes commit c1047b7503b1dcd6921230a38ccc141c0fac8a92 Author: jaunius@gmx.com Date: Sun Nov 3 19:09:20 2019 +0200 Added Separate section for setting standard metrics from the new calculated vars commit 12c2263a6cfe1fd3f2bc4004ed9c0ff88fb8eb39 Author: jaunius@gmx.com Date: Fri Nov 1 03:03:58 2019 +0200 Typo Fix commit f98b7d8c6d0d630af9553707769c0fd9160b6ef0 Author: jaunius@gmx.com Date: Fri Nov 1 02:50:49 2019 +0200 Cleanup & one more beta metric commit ef1b4834f220778f092391dbc63896823270d042 Author: jaunius@gmx.com Date: Fri Nov 1 01:29:52 2019 +0200 Finalized fan speed metric. Changed stale setting for all climate metrics commit 4efd7999b5e65fc3499e87cf0755c3fa4eabe88e Author: jaunius@gmx.com Date: Fri Nov 1 00:41:15 2019 +0200 finalized setpoint temp,further betas... commit 2040f922a26026dbbe9182b292910d43e97258b5 Author: jaunius@gmx.com Date: Thu Oct 31 23:34:12 2019 +0200 aded Fan Speed Beta commit 47d822605efe405b59a4fdde7c018768157665f1 Author: jaunius@gmx.com Date: Thu Oct 31 23:19:55 2019 +0200 aded more metrics commit 9076518a92d6ea14daffb365704586151d307c72 Author: Michael Balzer Date: Thu Oct 31 22:01:41 2019 +0100 CANopen: raise task priorities to 15 (service protocol level) commit 7106c5bd2e675b0619895a6ec02dd9d8c91a9e20 Author: jaunius@gmx.com Date: Thu Oct 31 21:49:04 2019 +0200 Fixed Typo commit 229df38e7016b10ae6f2424dcfe6cd2da685fc49 Author: jaunius@gmx.com Date: Thu Oct 31 21:17:06 2019 +0200 Added cc on from 54b commit 0586126976d2171b20696fbb954003fdce844b3b Author: jaunius@gmx.com Date: Thu Oct 31 19:32:49 2019 +0200 bugfix for missing Float arg commit 431e204ef7a194de49363ba180a750841d53f799 Author: jaunius@gmx.com Date: Thu Oct 31 19:08:37 2019 +0200 corrected or clause for xnl.cc.on metric commit ac3f3485738b1f8e04baca6409ab958c67e524cb Author: jaunius@gmx.com Date: Thu Oct 31 18:56:08 2019 +0200 Changed Stale to MIN for all beta values + added temp setpoint metric commit eabb45d5f530e80cb4a659a0037aa835dcbc8f5c Author: jaunius@gmx.com Date: Wed Oct 30 02:56:27 2019 +0200 Moved beta values to xnl metrics commit 5c1c552b10bb063bb6102996a07eda261c37b522 Author: jaunius@gmx.com Date: Wed Oct 30 00:05:23 2019 +0200 Added beta metricsfor testing commit 53f5d3d371745397201c9272ad19eccd88990f4a Author: Michael Balzer Date: Fri Oct 18 11:57:56 2019 +0200 Vehicle poller: fix race condition between control & processing, restart poller on PID list change commit 530d7f4bcb8df97368990bc80420d45b2a4072b6 Author: Michael Balzer Date: Sat Aug 10 12:25:00 2019 +0200 Twizy: do charge ETR calculation based on actual charge current (takes higher currents from additional chargers and reduced currents due to temperature conditions into account) commit 3acc556786de3c583977fca3b4ff63ee1fc71db2 Author: Michael Balzer Date: Sat Aug 10 11:38:19 2019 +0200 Twizy: added tuning option for SEVCON_T45 + Gearbox_T80 hybrid Configuration: config set xrt type SC45GB80 commit 51e0cc10072a2f2907d6ac3795b4f477e4d4435a Author: Michael Balzer Date: Tue Jul 16 19:21:03 2019 +0200 Docs: added link & info on Hologram activation commit 6d3795ef4a2c8f0ed44341bff09dce0b3add3113 Author: Michael Balzer Date: Mon Jul 15 23:12:07 2019 +0200 Docs/WebUI: added dashboard plugin info & screenshot commit 9e41a6348f4ab9aa34899822a95e0e760c0defa2 Author: Michael Balzer Date: Thu Jun 20 08:27:07 2019 +0200 Build config for toolchain 1.22.0-93-gf6c4cdf-5.2.0-psramfix-20190612 commit c290df734d8c476cafb9cb5780289ab3c7b1703e Author: Michael Balzer Date: Wed Jun 5 20:46:39 2019 +0200 Added new toolchain build flags, reverted workaround changes