diff --git a/vehicle/OVMS.V3/changes.txt b/vehicle/OVMS.V3/changes.txt index 318038118..12b4b3255 100755 --- a/vehicle/OVMS.V3/changes.txt +++ b/vehicle/OVMS.V3/changes.txt @@ -1,6 +1,7 @@ Open Vehicle Monitor System v3 - Change log ????-??-?? ??? ??????? OTA release +- Fiat eDoblo: added passive lock status from CAN 0x612. - smart EQ: As soon as the 12V trickle charge begins, a timestamp is generated and stored in `m_12v_trickle_charge_times`. The counted value is set in `xsq.12v.trickle.count`. diff --git a/vehicle/OVMS.V3/components/vehicle_fiatedoblo/docs/index.rst b/vehicle/OVMS.V3/components/vehicle_fiatedoblo/docs/index.rst index daac6d322..163195253 100644 --- a/vehicle/OVMS.V3/components/vehicle_fiatedoblo/docs/index.rst +++ b/vehicle/OVMS.V3/components/vehicle_fiatedoblo/docs/index.rst @@ -30,5 +30,5 @@ Charge Control tba Cabin Pre-heat/cool Control tba Lock/Unlock Vehicle tba Valet Mode Control ?? -Others 12V battery, SoH, HV Battery voltage, odometer, front+read doors and trunk open status, footbrake (only pressed yes/no status), handbrake, VIN, battery current (+power), onboard charger temp, DC-DC temperature +Others 12V battery, SoH, HV Battery voltage, odometer, lock status, front+read doors and trunk open status, footbrake (only pressed yes/no status), handbrake, VIN, battery current (+power), onboard charger temp, DC-DC temperature =========================== ============== diff --git a/vehicle/OVMS.V3/components/vehicle_fiatedoblo/src/vehicle_fiatedoblo.cpp b/vehicle/OVMS.V3/components/vehicle_fiatedoblo/src/vehicle_fiatedoblo.cpp index fd45aa3b3..e9dbd69a8 100644 --- a/vehicle/OVMS.V3/components/vehicle_fiatedoblo/src/vehicle_fiatedoblo.cpp +++ b/vehicle/OVMS.V3/components/vehicle_fiatedoblo/src/vehicle_fiatedoblo.cpp @@ -277,6 +277,14 @@ void OvmsVehicleFiatEDoblo::IncomingFrameCan1(CAN_frame_t* p_frame) // Byte 2 could be related to the charge current in bits 0011 1100 break; } + case 0x612: + { + // Citroën e-Berlingo / Stellantis EMP2: byte 1 bit 1 indicates unlocked. + // Observed locked: 00 20 01 00 07 fe 00 10 + // Observed unlocked: 00 22 01 00 07 fe 00 10 + StandardMetrics.ms_v_env_locked->SetValue((d[1] & 0x02) == 0); + break; + } } }