commit 7aa4d4d7b5a81f387dd47227e84390d80ff76869 Author: Michael Balzer Date: Sun May 13 10:44:31 2018 +0200 Housekeeping: smooth out 12V ADC errors & noise commit eee2ce784a4de7260f4525a749f31c08437f2c15 Author: Michael Balzer Date: Sun May 13 10:07:44 2018 +0200 Vehicle: generalized charge state notification delay commit 31f9b8fa17df73e385f313379f80310888ba88b0 Author: Mark Webb-Johnson Date: Sat May 12 22:05:16 2018 +0800 Add standardised drive time metric. commit 094ca0f436cad3534b1e02ced86b302e3c757db2 Author: Mark Webb-Johnson Date: Sat May 12 21:29:55 2018 +0800 Vehicle: Delay notification of charge start, topoff, or heating, until 15 seconds into start of charge (to allow time for the charge to settle down). commit d4364b1174030951d77fc9c497116c3a93194d83 Author: Mark Webb-Johnson Date: Sat May 12 20:58:10 2018 +0800 Vehicle Task stack size: suggest 6144 as default (as now notifications are being raised, which may cause command invocation). commit 8761fd2a5b133cd6bd402986efff8f0762b6bf95 Author: Mark Webb-Johnson Date: Sat May 12 20:23:09 2018 +0800 Tesla Model S: Disable 12v alerts commit b84cacd3ae489c419974110d1d89cdf1c0d8ac54 Author: Mark Webb-Johnson Date: Sat May 12 20:22:59 2018 +0800 Tesla Roadster: Disable 12v alerts commit d8e1492ab31c3e5c0a6a11fdb6fb44fbcecc5ecc Author: Michael Balzer Date: Sat May 12 11:12:29 2018 +0200 Simcom/wifi: optimize status output commit b104c0edb569ca7ad5d038e9578dccf776e0abcb Author: Michael Balzer Date: Sat May 12 11:11:46 2018 +0200 Netmanager/simcom/wifi: set net metrics for current network commit b7ff1fabeb6d76a32c0fa4fc39303634a0f3b083 Author: Michael Balzer Date: Fri May 11 18:47:41 2018 +0200 Setup: fix empty "server v2 status" display during step 4 test commit 4a100f08fb149ffc08ebea8bef4fa45b04c34e6d Author: Michael Balzer Date: Fri May 11 18:19:18 2018 +0200 Setup: fix state init after reset commit 9dd5055bedcb70475b8b8513e3c5ab3714978ab1 Author: Michael Balzer Date: Fri May 11 17:32:28 2018 +0200 Twizy: fix delayed metrics updates after battmon/pwrmon reset commit e3b07651954dc2e2342f959c68e817137e74f8c5 Author: Mark Webb-Johnson Date: Fri May 11 16:57:42 2018 +0800 @caederus fix to ota downloads to only should version for http server response 200. commit 0d5cc9380f33f7571b8fe3f06f68473b8e101be3 Author: Michael Balzer Date: Fri May 11 08:31:59 2018 +0200 Notify events: subtype suffix, suppress data events, payload = id commit 8eec8edac9333a63ff64deb5add3e95322c638c9 Author: Mark Webb-Johnson Date: Fri May 11 08:21:41 2018 +0800 Tesla Roadster Vehicle: Support v.e.charging12v metric (for 12v alerts) commit d5baacd6ccd1d09edc35f8fa6e937d30f4e1c5e6 Author: Mark Webb-Johnson Date: Fri May 11 08:21:33 2018 +0800 Tesla Model S Vehicle: Support v.e.charging12v metric (for 12v alerts) commit 39b2629ca1fc4ef5a2c2d87282d8f60a8376fc67 Author: Mark Webb-Johnson Date: Fri May 11 08:21:20 2018 +0800 OBDII Vehicle: Support v.e.charging12v metric (for 12v alerts) commit 4da2aea4150c3fbc06fb78626395ef14de19ab84 Author: Michael Balzer Date: Thu May 10 23:10:52 2018 +0200 Web UI: server/password labels (issue #35) commit fcce8a0766c40fc6d1f10f31883e3ea4aade2f07 Author: Michael Balzer Date: Thu May 10 22:49:20 2018 +0200 Web UI: status page extended & optimized - added SD card status & mount/unmount actions - added modem status & start/stop actions - 3 column grid layout for large display + reordering - briefer action & status outputs commit 40efa07cd278edb62d663ddedddc7f25cb5b2d2d Author: Michael Balzer Date: Thu May 10 22:36:03 2018 +0200 SDcard: free space in status, unmount async option, brief action results commit 38d3e990a5fc0775686878c0bf5da2e534eb462d Author: Geir Øyvind Vælidalo Date: Thu May 10 15:17:25 2018 +0200 Kia Soul: Some commands secured with pin. Commands using pin are now checked against pin registered using OVMS# config set password pin 1234. commit b1053ba48e55289970e89d58506ea6485e67a99c Author: Michael Balzer Date: Thu May 10 14:55:33 2018 +0200 Web UI: allow empty username (=admin) (issue #114) commit 61394ccd0fe97aa95c6723beb0754c3555c8424d Author: Michael Balzer Date: Thu May 10 14:54:34 2018 +0200 Web UI: fix keyboard submit on flash http/vfs forms commit 5a17acb04918a5ef2d23affc51cf2a35a6745815 Author: Michael Balzer Date: Thu May 10 14:33:45 2018 +0200 Web UI: added vehicle PIN code commit be7c48fd9b7b41bcd2f86d020bffeeb0821be834 Author: Mark Webb-Johnson Date: Thu May 10 20:08:25 2018 +0800 Add a PinCheck() function. commit 723b1bde80caf45fcc7838dd65a48425a6291d34 Author: Geir Øyvind Vælidalo Date: Thu May 10 14:01:19 2018 +0200 Forgot to update version number commit f129e399c1f970811a2f0bb0b854a9d7540493c9 Author: Geir Øyvind Vælidalo Date: Thu May 10 13:57:46 2018 +0200 Kia Soul: Moved pin code to password store Kia Soul: Moved pin code to password store. Fixed issue with door lock status where pin code was not sent to ACCRelay so car wouldn’t wake up. commit c668fc870635f0877dff2a9d8c8f1276f36da6be Author: Michael Balzer Date: Thu May 10 12:24:40 2018 +0200 Twizy: rework for standard notifications, added sufficient charge info commit 9ed8c4cddd895af563f3cdfe76c95b3e4a517252 Author: Michael Balzer Date: Thu May 10 12:10:27 2018 +0200 Vehicle/notifications: stat optimized, charge scheduled stop = info commit 0208b852e30e86cb3821f6b3ef2f628ea62165c5 Author: Michael Balzer Date: Thu May 10 12:08:36 2018 +0200 Web UI: added reboot button to status page commit f682594f41c9b215a72a9ba462198a6993da4253 Author: Geir Øyvind Vælidalo Date: Thu May 10 11:03:52 2018 +0200 Notifications Removed notifications from KiaSoul that is now handled by Vehicle. Added Emergency Alert notification on and off. commit 173fc048d05807d862c0136a65f88fcddd993ba4 Author: Geir Øyvind Vælidalo Date: Thu May 10 01:59:01 2018 +0200 Kia Soul: Added pincode parameter Kia Soul: Added config parameter: config set xks pincode XXXX The pin code is used for unlock, lock, trunk, chargeport and some other ECU-commands. commit db789e4c9fbb4c46fa17bc76f51ce65a4d96bada Author: Mark Webb-Johnson Date: Wed May 9 21:57:48 2018 +0800 OTA: Raise notifications when new firmware is available and/or installed (autoflash) commit d5bda232af6e79381eff5c18f054f78c17e715e1 Author: Mark Webb-Johnson Date: Wed May 9 21:35:03 2018 +0800 Issue #64: Notifications for charge and other standard events charge.started, heating.started, charge.stopped, charge.done, valet.enabled, valet.disabled, valet.hood, valet.trunk, alarm.sounding, alarm.stopped, batt.12v.alert, batt.12v.recovered All the above configurable as enabled/disable by 'notify' config options. commit 183d26dc107bb21cd956776228d0a24030b115db Author: Mark Webb-Johnson Date: Wed May 9 09:18:42 2018 +0800 Notifications: Framework extensions to add support for subtypes on notifications, and automatic filtering by subtype and distribution mechanism commit 7516c9681055ec7986a94ccb8cfb29bda5f1bce8 Author: Mark Webb-Johnson Date: Wed May 9 08:08:07 2018 +0800 test framework commands for testing can bus tx/rx commit 76f6d65d033a01b5a1575c441468edf2996ac8e3 Author: Robin O'Leary Date: Tue May 8 18:11:15 2018 +0100 Replace ah scaling. commit 234fef5f228a8035cae8d1e958966407c3d2d224 Author: Robin O'Leary Date: Tue May 8 16:36:27 2018 +0100 Remove excessive debug. commit ce1e4c9ff3f942d6e86d05c8637d5d71a21b6ff5 Author: Robin O'Leary Date: Sun May 6 00:49:28 2018 +0100 Fix the handling of the length and data in the first frame for types VEHICLE_POLL_TYPE_OBDIIVEHICLE and VEHICLE_POLL_TYPE_OBDIIGROUP. Read Leaf VIN and battery data using IncomingPollReply. commit de1642e03e013111fad8526891d4c3d77056d303 Author: Michael Balzer Date: Sun May 6 22:53:41 2018 +0200 Setup: restore default access on early crash commit a76713b4d1722368bb934260ee6112d741551526 Author: Michael Balzer Date: Sun May 6 16:58:44 2018 +0200 Setup: bug fixes, triple wifi validation, event based monitors commit b383fd85f9ad688413468af83f66f2a03037d90f Author: Michael Balzer Date: Sun May 6 13:32:01 2018 +0200 Web UI: automatic status panel updates on events commit a8e66acecb1a9c50e5ae008e47db5fe137d462a6 Author: Michael Balzer Date: Sun May 6 13:10:27 2018 +0200 Server V2&V3: added state change events commit 2ba93d75e313073cd230e7781defa49afa086f46 Author: Michael Balzer Date: Sun May 6 10:50:24 2018 +0200 Boot: reset firmware_update flag (fix issue #111) commit 9596167a734498e7fa4078f3f9f05b2f3ae291e8 Author: Robin O'Leary Date: Sun May 6 00:49:28 2018 +0100 Fix the handling of the length and data in the first frame for types VEHICLE_POLL_TYPE_OBDIIVEHICLE and VEHICLE_POLL_TYPE_OBDIIGROUP. Read Leaf VIN and battery data using IncomingPollReply. commit 8c5891b475d6a3616a30eae91056d6ae73681aa9 Author: Michael Balzer Date: Sun May 6 09:18:53 2018 +0200 Setup: server label changes commit 9160036f4c37683c72e86d83cdb41975e5f3ad42 Author: Mark Webb-Johnson Date: Sun May 6 11:05:12 2018 +0800 ovmsdev@caederus.org fix to OBDII VIN polling (ISO-TP) commit 68f66ef9eb52cac195ca45888af7650bddfa95d9 Author: Tom Parker Date: Sun May 6 13:50:35 2018 +1200 spacing commit 06e0b6880f5a8403f4d17c5afc7105a79f609073 Author: Robin O'Leary Date: Sun May 6 00:49:28 2018 +0100 Fix the handling of the length and data in the first frame for types VEHICLE_POLL_TYPE_OBDIIVEHICLE and VEHICLE_POLL_TYPE_OBDIIGROUP. Read Leaf VIN and battery data using IncomingPollReply. commit 9e3a014766fb48abf28ffaeb119a892f5fecb6d8 Author: Michael Balzer Date: Sat May 5 23:59:58 2018 +0200 Twizy: allow battery capacity up to 120% commit 651e2ec7800987e313c8e555af3ddd9f4d14d7d7 Author: Michael Balzer Date: Sat May 5 23:58:33 2018 +0200 Config: fix upgrade for setup wizard commit 12615a6d74d369593d02c852eeff98174a67b2f9 Author: Michael Balzer Date: Sat May 5 20:25:40 2018 +0200 Webserver: setup wizard Note: includes raising the events task stack size from 6K to 7K, because the stack otherwise would generally overflow when starting both a vehicle module and a server connection after boot. commit b1ab05da5829ff4c0adb88ed32c228cb74e24dac Author: Michael Balzer Date: Sat May 5 20:20:41 2018 +0200 Webserver: provide simple and buttonized radio groups commit b40f8fc178e68f6da6d18ebd2e264af2fefba1ef Author: Michael Balzer Date: Sat May 5 20:11:28 2018 +0200 ServerV2: fixed race condition on login, added auth error status commit b27edcc7c95f2dc3d4e7da29796ca26a53c5110d Author: Michael Balzer Date: Sat May 5 17:26:47 2018 +0200 SDcard: fix build dependencies commit bb8b8c5ed8b7ac90f3f7f9cad855db85adbc59c2 Author: Michael Balzer Date: Fri May 4 16:34:03 2018 +0200 Netmanager: fix mongoose task restart race condition commit b868750316a8d21cb1a5371c8668f14294d24630 Author: Michael Balzer Date: Fri May 4 16:33:03 2018 +0200 Build config: fix missing LWIP_SO_REUSE commit ba729f23117c09c25e185942c98e011f37ff90bf Author: Tom Parker Date: Thu May 3 22:34:49 2018 +1200 Nissan Leaf: use 0x1db instrument soc by default, refactor 0x5bc commit 5e7f0220c57c7c4a0aff95982af11068951606c4 Author: Tom Parker Date: Thu May 3 22:34:29 2018 +1200 Nissan Leaf: fix xnl metric names commit 69f60888cfd87a5e28748ad66dd89d47b2adca96 Author: Mark Webb-Johnson Date: Thu May 3 13:52:11 2018 +0800 Support conditional compilation without MAX7317 (without SIMCOM) commit 4a0c18dfdee99ee754a8f15bdc57ede7b6c15c36 Author: Mark Webb-Johnson Date: Thu May 3 09:23:13 2018 +0800 Issue#99: Can't turn off SIMCOM power - make simcom depend on max7317 commit 90cbe1fe027322d3ccdc4d4e469cfe5e3e7f010f Author: Tom Parker Date: Wed May 2 21:08:52 2018 +1200 Nissan Leaf: make configurable which soc value to report commit 62ecae4cc3a30528245da0fa71d6ecb948db96e5 Author: Tom Parker Date: Wed May 2 20:46:22 2018 +1200 Nissan Leaf: add instrument soc and new car soc metrics commit bfcc719d166561c8b2a7c9734857fa5c0ef512af Author: Michael Balzer Date: Wed May 2 10:19:14 2018 +0200 OTA: fix version comparison for "dirty" builds commit 8c724a6dd745c256e4e5a68630003ea9d5ea23a5 Author: Robin O'Leary Date: Wed May 2 10:06:13 2018 +0100 Comment that ms_v_bat_temp 0x5c0 is from LBC. Remove redundant declaration of m_odometer_units. diff --git a/vehicle/OVMS.V3/components/vehicle_nissanleaf/src/vehicle_nissanleaf.cpp b/vehicle/OVMS.V3/components/vehicle_nissanleaf/src/vehicle_nissanleaf.cpp index 05ee2d0..e31edac 100644 --- a/vehicle/OVMS.V3/components/vehicle_nissanleaf/src/vehicle_nissanleaf.cpp +++ b/vehicle/OVMS.V3/components/vehicle_nissanleaf/src/vehicle_nissanleaf.cpp @@ -434,9 +434,7 @@ void OvmsVehicleNissanLeaf::IncomingFrameCan1(CAN_frame_t* p_frame) } break; case 0x5c0: - /* Another "ambient" temperature, but this one reacts to outside changes - * quite slowly. Seems likely it is battery pack temperature, as the rest - * of the packet is about charging. + /* Battery Temperature as reported by the LBC. * Effectively has only 7-bit precision, as the bottom bit is always 0. */ if ( (d[0]>>6) == 1 ) diff --git a/vehicle/OVMS.V3/components/vehicle_nissanleaf/src/vehicle_nissanleaf.h b/vehicle/OVMS.V3/components/vehicle_nissanleaf/src/vehicle_nissanleaf.h index aac05a3..fc957c7 100644 --- a/vehicle/OVMS.V3/components/vehicle_nissanleaf/src/vehicle_nissanleaf.h +++ b/vehicle/OVMS.V3/components/vehicle_nissanleaf/src/vehicle_nissanleaf.h @@ -100,7 +100,6 @@ class OvmsVehicleNissanLeaf : public OvmsVehicle uint8_t nl_remote_command_ticker; // number of tenths remaining to send remote command frames uint16_t nl_cc_off_ticker; // seconds before we send the climate control off command TimerHandle_t m_remoteCommandTimer; - metric_unit_t m_odometer_units = Other; OvmsMetricInt *m_gids; OvmsMetricFloat *m_hx; }; commit 24e025eb8eb3982c435123bfa78ae5510319c0d4 Author: Robin O'Leary Date: Wed May 2 03:09:24 2018 +0100 Nissan Leaf: Set ms_v_env_on from 0x60d[1] (ms_v_env_awake still follows activity of 0x284). Fix ms_v_env_temp conversion to °C. Make multiplex check for ms_v_bat_temp more precise. Remove setting odometer units (always reports km). commit abab049d6c07621b1c0b169906ddc46da6c4b626 Author: Michael Balzer Date: Tue May 1 20:50:42 2018 +0200 CANopen: mitigate performance issues - Raised SDO default timeouts from 50 to 100 ms - Assigned tasks to core #0 with priority 7 - Changed log levels for EMCY & NMT messages from info to verbose commit 53ad4594ca82d1f09706ea39982b61f10eb8e2a7 Author: Michael Balzer Date: Tue May 1 20:47:36 2018 +0200 Twizy: fixed auto power checkpoints, inhibit auto adjust in cfgmode commit 7bd7c8310eb09a6a6029a9ea723c8cc0546b30e7 Author: Michael Balzer Date: Tue May 1 20:44:35 2018 +0200 Vehicle/web UI: provide & use short name for vehicle menu commit fc97c5bc697ccdde1e448e4c818122e1b0515bc4 Author: Geir Øyvind Vælidalo Date: Tue May 1 18:19:20 2018 +0200 Fixed problem with setting charge state commit 0f96b3097c25f72daa02713c01a962634206eb4d Author: Mark Webb-Johnson Date: Tue May 1 21:36:04 2018 +0800 Documentation for 3.1.005 commit 81ce53d38bb6766a5ab1c45de3c89c6321f1f49d Author: Michael Balzer Date: Tue May 1 14:26:22 2018 +0200 Housekeeping: changed default 12V factor to 195.7 commit 16b828f92374eb752855652a2a1d0ecf38e72728 Author: Michael Balzer Date: Tue May 1 14:25:40 2018 +0200 SDcard: two phase unmount process, auto close SD logs Note: the shell command "sd unmount" now waits up to five seconds for the unmount to finish, so it normally should be safe to remove the SD card when the command returns. commit f416d36c38f002d690a99f670d8fee4442b444e6 Author: Michael Balzer Date: Tue May 1 14:20:24 2018 +0200 Utility class: OvmsSemaphore commit 28357efec06ddbfeed5a017b196f8d12bffdb428 Author: Mark Webb-Johnson Date: Tue May 1 21:36:04 2018 +0800 Documentation for 3.1.005 commit b4f42fe3a538d409bd033b74d13d9fed3f8b8296 Author: Michael Balzer Date: Tue May 1 14:26:22 2018 +0200 Housekeeping: changed default 12V factor to 195.7 commit f26f9a666bf570464615b2306cd5ba9cbe53ee68 Author: Michael Balzer Date: Tue May 1 14:25:40 2018 +0200 SDcard: two phase unmount process, auto close SD logs Note: the shell command "sd unmount" now waits up to five seconds for the unmount to finish, so it normally should be safe to remove the SD card when the command returns. commit c28d732210a1dc09c4df823e8d9a687ef9339395 Author: Michael Balzer Date: Tue May 1 14:20:24 2018 +0200 Utility class: OvmsSemaphore commit adff68634e77166c6fdecf7338764fe20dbe3586 Author: Geir Øyvind Vælidalo Date: Tue May 1 13:55:01 2018 +0200 Fixed quite a few bugs in the Kia Soul. Fixed some bugs in the metrics. Increased time between each poll for some diagnostics in order decrease bus-traffic and battery consumption. Removed a charge state notification that was sent evry second when charging. Refactored the ideal-range calculation. commit 7b2fd3398f0ac2f6a27f0987f362fbf925be7f39 Author: Mark Webb-Johnson Date: Tue May 1 17:23:30 2018 +0800 Issue#61: Tesla Roadster: CAC metric commit 813dec83ccd2c7a14aa6c61eb3f6358adec2b5b5 Author: Mark Webb-Johnson Date: Tue May 1 16:56:28 2018 +0800 Vehicle: Large number of convenience functions for vehicle support modules commit c8dd7e82ceb02db3e0ab138f6dc7c4c18f06ff83 Author: Mark Webb-Johnson Date: Tue May 1 16:16:31 2018 +0800 Fix boot reason display for firmware update commit 1c27fb471c97ed2fa727646a3f0347857dca2e75 Author: Mark Webb-Johnson Date: Tue May 1 16:11:06 2018 +0800 Support boot soft reset: wifi mdns ota sdcard simcom netmanager commit 4ae7e8cc913391c028b2cbdafd3fc402aaa8642f Author: Mark Webb-Johnson Date: Tue May 1 16:10:30 2018 +0800 Boot soft reset mechanism, and support for notification of firmware update as reset reason