Set unavail to 120 secs
MODIFY
src/storage/mongodb/DatabaseUtils.ts
src/storage/mongodb/DatabaseUtils.ts
@@ -452,14 +452,7 @@ export default class DatabaseUtils {
inactive: {
$or: [
{ $eq: ['$firmwareUpdateStatus', OCPPFirmwareStatus.INSTALLING] },
- {
- $gte: [
- {
- $divide: [{ $subtract: [new Date(), '$lastSeen'] }, 1000]
- },
- Configuration.getChargingStationConfig().maxLastSeenIntervalSecs
- ]
- }
+ { $gte: [ { $divide: [{ $subtract: [new Date(), '$lastSeen'] }, 1000] }, 120 ] }
]
}
}

Set unavail to 120 secs