3.1.005-91-gb87ce6c OTA bleeding edge developer build Sun May 13 23:29:01 CEST 2018 See ovms3.log for details b87ce6c Setup: text optimizations 4e8c91d Events: raise stack size to 8K to avoid setup step 4 crash 0534c77 Setup: add DNS option to step 2, switch back to AP mode on 2.fail.connect f710abc Tesla Roadster: Support notification of vehicle error codes a3ecc5c Error code notification system e4ef73f Store, and allow retrieval of, set vehicle type. 86cdf22 Tesla Roadster: Support v.e.heating flag 7aa4d4d Housekeeping: smooth out 12V ADC errors & noise eee2ce7 Vehicle: generalized charge state notification delay 31f9b8f Add standardised drive time metric. 094ca0f 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). d4364b1 Vehicle Task stack size: suggest 6144 as default (as now notifications are being raised, which may cause command invocation). 8761fd2 Tesla Model S: Disable 12v alerts b84cacd Tesla Roadster: Disable 12v alerts d8e1492 Simcom/wifi: optimize status output b104c0e Netmanager/simcom/wifi: set net metrics for current network b7ff1fa Setup: fix empty "server v2 status" display during step 4 test 4a100f0 Setup: fix state init after reset 9dd5055 Twizy: fix delayed metrics updates after battmon/pwrmon reset e3b0765 @caederus fix to ota downloads to only should version for http server response 200. 0d5cc93 Notify events: subtype suffix, suppress data events, payload = id 8eec8ed Tesla Roadster Vehicle: Support v.e.charging12v metric (for 12v alerts) d5baacd Tesla Model S Vehicle: Support v.e.charging12v metric (for 12v alerts) 39b2629 OBDII Vehicle: Support v.e.charging12v metric (for 12v alerts) 4da2aea Web UI: server/password labels (issue #35) fcce8a0 Web UI: status page extended & optimized 40efa07 SDcard: free space in status, unmount async option, brief action results 38d3e99 Kia Soul: Some commands secured with pin. b1053ba Web UI: allow empty username (=admin) (issue #114) 61394cc Web UI: fix keyboard submit on flash http/vfs forms 5a17acb Web UI: added vehicle PIN code be7c48f Add a PinCheck() function. 723b1bd Forgot to update version number f129e39 Kia Soul: Moved pin code to password store c668fc8 Twizy: rework for standard notifications, added sufficient charge info 9ed8c4c Vehicle/notifications: stat optimized, charge scheduled stop = info 0208b85 Web UI: added reboot button to status page f682594 Notifications 173fc04 Kia Soul: Added pincode parameter db789e4 OTA: Raise notifications when new firmware is available and/or installed (autoflash) d5bda23 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 183d26d Notifications: Framework extensions to add support for subtypes on notifications, and automatic filtering by subtype and distribution mechanism 7516c96 test framework commands for testing can bus tx/rx 76f6d65 Replace ah scaling. 234fef5 Remove excessive debug. ce1e4c9 Fix the handling of the length and data in the first frame for types VEHICLE_POLL_TYPE_OBDIIVEHICLE and VEHICLE_POLL_TYPE_OBDIIGROUP. de1642e Setup: restore default access on early crash a76713b Setup: bug fixes, triple wifi validation, event based monitors b383fd8 Web UI: automatic status panel updates on events a8e66ac Server V2&V3: added state change events 2ba93d7 Boot: reset firmware_update flag (fix issue #111) 9596167 Fix the handling of the length and data in the first frame for types VEHICLE_POLL_TYPE_OBDIIVEHICLE and VEHICLE_POLL_TYPE_OBDIIGROUP. 8c5891b Setup: server label changes 9160036 ovmsdev@caederus.org fix to OBDII VIN polling (ISO-TP) 68f66ef spacing 06e0b68 Fix the handling of the length and data in the first frame for types VEHICLE_POLL_TYPE_OBDIIVEHICLE and VEHICLE_POLL_TYPE_OBDIIGROUP. 9e3a014 Twizy: allow battery capacity up to 120% 651e2ec Config: fix upgrade for setup wizard 12615a6 Webserver: setup wizard b1ab05d Webserver: provide simple and buttonized radio groups b40f8fc ServerV2: fixed race condition on login, added auth error status b27edcc SDcard: fix build dependencies bb8b8c5 Netmanager: fix mongoose task restart race condition b868750 Build config: fix missing LWIP_SO_REUSE ba729f2 Nissan Leaf: use 0x1db instrument soc by default, refactor 0x5bc 5e7f022 Nissan Leaf: fix xnl metric names 69f6088 Support conditional compilation without MAX7317 (without SIMCOM) 4a0c18d Issue#99: Can't turn off SIMCOM power - make simcom depend on max7317 90cbe1f Nissan Leaf: make configurable which soc value to report 62ecae4 Nissan Leaf: add instrument soc and new car soc metrics bfcc719 OTA: fix version comparison for "dirty" builds 8c724a6 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; }; 24e025e 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). abab049 CANopen: mitigate performance issues 53ad459 Twizy: fixed auto power checkpoints, inhibit auto adjust in cfgmode 7bd7c83 Vehicle/web UI: provide & use short name for vehicle menu fc97c5b Fixed problem with setting charge state 0f96b30 Documentation for 3.1.005 81ce53d Housekeeping: changed default 12V factor to 195.7 16b828f SDcard: two phase unmount process, auto close SD logs f416d36 Utility class: OvmsSemaphore 28357ef Documentation for 3.1.005 b4f42fe Housekeeping: changed default 12V factor to 195.7 f26f9a6 SDcard: two phase unmount process, auto close SD logs c28d732 Utility class: OvmsSemaphore adff686 Fixed quite a few bugs in the Kia Soul. 7b2fd33 Issue#61: Tesla Roadster: CAC metric 813dec8 Vehicle: Large number of convenience functions for vehicle support modules c8dd7e8 Fix boot reason display for firmware update 1c27fb4 Support boot soft reset: wifi mdns ota sdcard simcom netmanager 4ae7e8c Boot soft reset mechanism, and support for notification of firmware update as reset reason