Exporting cumulative data to your systems
Cumulative counters are essential metrics that track equipment usage over time, providing critical data for maintenance scheduling, cost accounting, and operational analytics. This guide covers the unique challenges and best practices for working with Hiboo's cumulative counter data.
Overview
Cumulative counters differ from other equipment data because they represent running totals that continuously increase throughout an equipment's operational life. Understanding their behavior and implementing proper handling is crucial for reliable business system integration.
How Hiboo Simplifies Counter Management:
Standardized counters: All cumulative data available in consistent formats across equipment brands
Business-ready values: Formatted for direct consumption by enterprise systems
Unique Counter Characteristics:
Always increasing: Values should only grow over time (except during resets)
Reset scenarios: Counters may reset to zero during maintenance or component replacement
Threshold significance: Specific counter values trigger business processes
Understanding Counter Types
Operating Time Counters
Cumulative operating hours track total engine runtime and are fundamental for:
Depreciation calculations: Asset value reduction based on usage
Maintenance scheduling: Service intervals triggered by hour thresholds
Rental billing: Usage-based charging for rental equipment
Efficiency analysis: Comparing operational vs idle time
Returns the last information available for all data kinds for the fleet. This endpoint is paginated.
Token returned by POST /login: a JWT, valid for 10 days. Send it in the x-access-token header, as x-access-token: <token>. The Authorization: Bearer <token> header also works. When a request returns 401, call POST /login again.
The numbers of items to return
20The number of items to skip before starting to collect the result set
0Optional - if provided it will return the equipment with a fleet number or serialNumber matching the parameter
This parameter allows filtering the equipments based on whether the equipment is currently involved in an in-progress sharing process or not.
{"value":0,"summary":"Filter by not in progress sharing"}Snapshot of all devices
Unable to authenticate the token
GET /v2/fleet/equipments/snapshot HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Accept: */*
{
"data": {
"total": 1,
"rows": [
{
"id": 1,
"name": "D8000-1",
"make": "Caterpillar",
"model": "8000",
"serialNumber": "YVR001988",
"pin": "12345678901234567",
"vin": "1HGBH41JXMN109186",
"cumulativeDistance": {
"date": "2019-11-06T00:00:00Z",
"odometer": 54.2
},
"cumulativeFuelUsed": {
"date": "2019-11-06T00:00:00Z",
"fuelUsed": 9520.5
},
"fuelRemaining": {
"date": "2019-11-06T00:00:00Z",
"percent": 65.5
},
"cumulativeOperatingHours": {
"date": "2019-11-06T00:00:00Z",
"hour": 1.5,
"usageHours": 1.5
},
"lastPosition": {
"date": "2019-11-06T00:00:00Z",
"latitude": 48.858269,
"longitude": 2.29447,
"altitude": 35,
"speed": 25.5,
"heading": 125.3,
"postalAddress": "5 Avenue Anatole France, 75007 Paris, France"
},
"cumulativeLoadCount": {
"count": 1,
"date": "2019-11-06T00:00:00Z"
},
"cumulativePayloadTotal": {
"date": "2019-11-06T00:00:00Z",
"payload": 1
},
"cumulativeActiveRegenerationHours": {
"date": "2019-11-06T00:00:00Z",
"hours": 15
},
"cumulativePowerTakeOffHours": {
"date": "2019-11-06T00:00:00Z",
"hours": 12
},
"peakDailySpeed": {
"date": "2019-11-06T00:00:00Z",
"speed": 100.5
},
"averageDailyEngineLoadFactor": {
"date": "2026-01-01T00:00:00.000Z",
"percent": 88.24
},
"DEFRemainingRatio": {
"date": "2026-01-01T00:00:00.000Z",
"percent": 58.24
},
"cumulativeIdleHours": {
"date": "2026-01-01T00:00:00.000Z",
"hours": 12
}
}
]
}
}Counter Reset Scenarios
Understanding Counter Resets
Problem: Equipment counters reset to zero during maintenance, component replacement, or system failures, disrupting business processes that depend on continuously increasing values.
Solution: Implement robust reset detection and handling strategies to maintain data continuity for business systems.
Common reset triggers:
Scheduled maintenance: Engine overhauls or major component replacement
Component failure: ECU replacement or system malfunctions
Software updates: Firmware updates that clear stored counters
Battery disconnection: Power loss that resets electronic systems
Reset detection methods:
Value decrease detection:
Maintenance correlation:
Business Impact Management
Problem: Counter resets can disrupt automated billing, maintenance scheduling, and depreciation calculations.
Solution: Implement business logic that maintains operational continuity despite counter resets.
Continuity strategies:
Virtual counters: Maintain separate running totals that account for resets
Reset adjustment: Add reset values to subsequent readings
Parallel tracking: Use multiple data sources to validate counter accuracy
Business rules: Define how different systems should handle reset scenarios
Example reset handling:
Threshold-Based Triggers
Maintenance Scheduling
Problem: Business systems need to trigger maintenance actions when equipment counters reach specific thresholds.
Solution: Implement threshold monitoring that accounts for counter behavior and business requirements.
Returns time series data for a specific data kind for a piece of equipment.
Token returned by POST /login: a JWT, valid for 10 days. Send it in the x-access-token header, as x-access-token: <token>. The Authorization: Bearer <token> header also works. When a request returns 401, call POST /login again.
ID of the equipment
Data kind identifier.
batteryLevelPossible values: Default is beginning of yesterday UTC
Default is end of today UTC
Snapshot of all devices. The shape of each row varies by data kind — this example shows fuelRemaining. For dailyFuel and dailyCO2, rows also include an estimated boolean: whether the value was estimated from usage hours × the model's consumption rate, rather than measured from telematics.
Unable to authenticate the token
GET /v2/fleet/equipments/{id}/{dataKind} HTTP/1.1
Host: api.hiboo.io
x-access-token: YOUR_API_KEY
Accept: */*
{
"data": {
"total": 1,
"rows": [
{
"percent": 88.24,
"date": "2026-01-01T00:00:00.000Z"
}
],
"id": 1,
"serialNumber": "YVR001988",
"since": "2019-11-06T00:00:00Z",
"until": "2019-11-20T23:59:59Z"
}
}Threshold implementation:
Service interval triggers:
Business system integration:
Usage-Based Billing
Problem: Rental and service agreements require accurate usage tracking for billing purposes.
Solution: Implement precise counter monitoring with appropriate validation and billing integration.
Billing counter applications:
Rental equipment: Hourly charges based on operating time
Service contracts: Usage-based maintenance pricing
Project allocation: Equipment costs distributed by usage
Performance contracts: Billing based on productivity metrics
Billing integration considerations:
Last updated
Was this helpful?