get_d8_driver_time.php

Last modified by YellowFox_RD on 2025/10/30 10:30

Table of Contents

Returns current information about steering time, working time, remaining steer time, start of shift of current day, week and doubleweek of a driver based on digital tachometer information interface.(D8).

Description

GET get_d8_driver_time.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&driver=DF0123456789000&format=csv

Parameter

ParameterDescriptionTypeNoteMandatory
companyRTI company keystring yes
importRTI import keystring yes
driverdriver keystring yes
formatreturn formatstringcsv or json (default)no

Return

Return a string. In case of error it returns "ERROR:Description".

CSV Format

Meta informations

SeparatorSemicolon ( ; )
DelimiterDouble quote ( " )
Line break0x0D 0x0A (CarriageReturn LineFeed)
HeaderLine 1

Columns

columnDescription 
DRIVER_NAMEdriver name 
DRIVER_KEYdriver key 
STEER_SECONDSsteering time in seconds of current day 
STEER_TIMEsteering time of current dayformat 0h 00m
WORK_SECONDSworking time in seconds of current day 
WORK_TIMEworking time of current dayformat 0h 00m
IDLE_SECONDSbooked idle time during current shift in seconds 
IDLE_TIMEbooked idle time during current shiftformat 0h 00m
REMAINING_SECONDSremaining steer time in seconds of current day without ArbZG 
REMAINING_TIMEremaining steer time of current day without ArbZGformat 0h 00m
REMAINING_SECONDS_COMBINEDremaining steer time in seconds of current day with ArbZG 
REMAINING_TIME_COMBINEDremaining steer time of current day with ArbZGformat 0h 00m
SHIFT_STARTstart of shiftformat YYYY-MM-DD HH:MM:SS
WEEK_STEER_SECONDSweekly steering time in seconds 
WEEK_STEER_TIMEweekly steering timeformat 0h 00m
WEEK_WORK_SECONDSweekly working time in seconds 
WEEK_WORK_TIMEweekly working timeformat 0h 00m
WEEK_REMAINING_SECONDSweekly remaining steer time in seconds without ArbZG 
WEEK_REMAINING_TIMEweekly remaining steer time without ArbZGformat 0h 00m
WEEK_REMAINING_SECONDS_COMBINEDweekly remaining steer time in seconds with ArbZG 
WEEK_REMAINING_TIME_COMBINEDweekly remaining steer time with ArbZGformat 0h 00m
WEEK_STARTstart of weekformat YYYY-MM-DD HH:MM:SS
DBL_WEEK_STEER_SECONDSdoubleweek steering time in seconds 
DBL_WEEK_STEER_TIMEdoubleweek steering timeformat 0h 00m
DBL_WEEK_WORK_SECONDSdoubleweek working time in seconds 
DBL_WEEK_WORK_TIMEdoubleweek working timeformat 0h 00m
DBL_WEEK_REMAINING_SECONDSdoubleweek remaining steer time in seconds 
DBL_WEEK_REMAINING_TIMEdoubleweek remaining steer timeformat 0h 00m
DBL_WEEK_STARTstart of doubleweekformat YYYY-MM-DD HH:MM:SS
BLOCK_STEER_TIME_SECONDSsteer time since last break in seconds 
BLOCK_STEER_TIMEsteer time since last breakformat 0h 00m
BLOCK_REMAINING_TIME_SECONDSremaining steer time until next break in seconds without ArbZG 
BLOCK_REMAINING_TIMEremaining steer time until next break without ArbZGformat 0h 00m
BLOCK_REMAINING_TIME_SECONDS_COMBINEDremaining steer time until next break in seconds with ArbZG 
BLOCK_REMAINING_TIME_COMBINEDremaining steer time until next break with ArbZGformat 0h 00m
NEXT_BREAK_DURATION_SECONDSnext break duration in seconds 
NEXT_BREAK_DURATIONnext break durationformat 0h 00m
LAST_TACHOGRAPH_STATUSlatest digitacho activity state
0 .. idle/break
1 .. standby
2 .. work
3 .. steer
 
LAST_TACHOGRAPH_TIMEdate and time of latest digitacho activity stateformat YYYY-MM-DD HH:MM:SS
LAST_TACHOGRAPH_SLOTused card slot for this booking
1 .. driver
2 .. codriver
 
WEEK_SHORT_IDLES_TIMEScount of shortened per-day idle-times during current shift week 
WEEK_EXTENED_STEER_TIMEScount of extended per-day steer times during current shift week
  • regular per-day steer time <= 9h
  • 9h < extened per-day steer time <= 10h
 

example
DRIVER_NAME;DRIVER_KEY;STEER_SECONDS;STEER_TIME;WORK_SECONDS;WORK_TIME;IDLE_SECONDS;IDLE_TIME;REMAINING_SECONDS;REMAINING_TIME;REMAINING_SECONDS_COMBINED;REMAINING_TIME_COMBINED;SHIFT_START;WEEK_STEER_SECONDS;WEEK_STEER_TIME;WEEK_WORK_SECONDS;WEEK_WORK_TIME;WEEK_REMAINING_SECONDS;WEEK_REMAINING_TIME;WEEK_REMAINING_SECONDS_COMBINED;WEEK_REMAINING_TIME_COMBINED;WEEK_START;DBL_WEEK_STEER_SECONDS;DBL_WEEK_STEER_TIME;DBL_WEEK_WORK_SECONDS;DBL_WEEK_WORK_TIME;DBL_WEEK_REMAINING_SECONDS;DBL_WEEK_REMAINING_TIME;DBL_WEEK_START;BLOCK_STEER_TIME_SECONDS;BLOCK_STEER_TIME;BLOCK_REMAINING_TIME_SECONDS;BLOCK_REMAINING_TIME;BLOCK_REMAINING_TIME_SECONDS_COMBINED;BLOCK_REMAINING_TIME_COMBINED;NEXT_BREAK_DURATION_SECONDS;NEXT_BREAK_DURATION;LAST_TACHOGRAPH_STATUS;LAST_TACHOGRAPH_TIME;LAST_TACHOGRAPH_SLOT;WEEK_SHORT_IDLES_TIMES;WEEK_EXTENDED_STEER_TIMES
Musternamm, Paul;DF00011424169815;14700;4 h 5 m;16320;4 h 32 m;12123;3 h 22 m;21300;5 h 55 m;19680;5 h 28 m;30.10.2025 00:56;75840;21 h 4 m;81720;22 h 42 m;106920;29 h 42 m;106920;29 h 42 m;27.10.2025 00:00;217080;60 h 18 m;234120;65 h 2 m;106920;29 h 42 m;20.10.2025 00:00;3780;1 h 3 m;12420;3 h 27 m;12420;3 h 27 m;1800;0 h 30 m;0;30.10.2025 08:08;1;1;1

JSON Format

Columns

ColumnDescription 
driverNamedriver name 
driverKeydriver key 
steerTimeSecondssteering time in seconds of current day 
steerTimesteering time of current dayformat 0h 00m
workTimeSecondsworking time in seconds of current day 
workTimeworking time of current dayformat 0h 00m
idleTimeSecondsbooked idle time during current shift in seconds 
idleTimebooked idle time during current shiftformat 0h 00m
remainingTimeSecondsremaining steer time in seconds of current day without ArbZG 
remainingTimeremaining steer time of current day without ArbZGformat 0h 00m
remainingTimeSecondsCombinedremaining steer time in seconds of current day with ArbZG 
remainingTimeCombinedremaining steer time of current day with ArbZGformat 0h 00m
blockSteerTimeSecondssteer time since last break in seconds 
blockSteerTimesteer time since last breakformat 0h 00m
blockRemainingTimeSecondsremaining steer time until next break in seconds 
blockRemainingTimeremaining steer time until next breakformat 0h 00m
nextBreakDurationSecondsnext break duration in seconds 
nextBreakDurationnext break durationformat 0h 00m
shiftStartstart of shiftformat YYYY-MM-DD HH:MM:SS
steerTimeSecondsSingleWeekweekly steering time in seconds 
steerTimeSingleWeekweekly steering timeformat 0h 00m
workTimeSecondsSingleWeekweekly working time in seconds 
workTimeSingleWeekweekly working timeformat 0h 00m
remainingTimeSecondsSingleWeekweekly remaining steer time in seconds without Arbzg 
remainingTimeSingleWeekweekly remaining steer time without Arbzgformat 0h 00m
remainingTimeSecondsSingleWeekCombinedweekly remaining steer time in seconds with Arbzg 
remainingTimeSingleWeekCombinedweekly remaining steer time with Arbzgformat 0h 00m
startSingleWeekstart of weekformat YYYY-MM-DD HH:MM:SS
singleWeekShortIdlescount of shortened per-day idle-times during current shift week 
singleWeekExtendedSteercount of extended per-day steer times during current shift week
  • regular per-day steer time <= 9h
  • 9h < extened per-day steer time <= 10h
 
steerTimeSecondsDoubleWeekdoubleweek steering time in seconds 
steerTimeDoubleWeekdoubleweek steering timeformat 0h 00m
workTimeSecondsDoubleWeekdoubleweek working time in seconds 
workTimeDoubleWeekdoubleweek working timeformat 0h 00m
remainingTimeSecondsDoubleWeekdoubleweek remaining steer time in seconds 
remainingTimeDoubleWeekdoubleweek remaining steer timeformat 0h 00m
startDoubleWeekstart of doubleweekformat YYYY-MM-DD HH:MM:SS
lastTachographStatuslatest digitacho activity state
0 .. idle/break
1 .. standby
2 .. work
3 .. steer
 
lastTachographTimedate and time of latest digitacho activity stateformat YYYY-MM-DD HH:MM:SS
lastTachographSlotused card slot for this booking
1 .. driver
2 .. codriver
 

example
{"driverName":"Mustermann, Paul","driverKey":"DF0123456789815","steerTimeSeconds":14700,"steerTime":"4 h 5 m","workTimeSeconds":16320,"workTime":"4 h 32 m","idleTimeSeconds":12775,"idleTime":"3 h 33 m","remainingTimeSeconds":21300,"remainingTime":"5 h 55 m","remainingTimeSecondsCombined":19680,"remainingTimeCombined":"5 h 28 m","blockSteerTimeSeconds":3780,"blockSteerTime":"1 h 3 m","blockRemainingTimeSeconds":12420,"blockRemainingTime":"3 h 27 m","blockRemainingTimeSecondsCombined":12420,"blockRemainingTimeCombined":"3 h 27 m","nextBreakDurationSeconds":1800,"nextBreakDuration":"0 h 30 m","shiftStart":"2025-10-30 00:56:00","steerTimeSecondsSingleWeek":75840,"steerTimeSingleWeek":"21 h 4 m","workTimeSecondsSingleWeek":81720,"workTimeSingleWeek":"22 h 42 m","remainingTimeSecondsSingleWeek":106920,"remainingTimeSingleWeek":"29 h 42 m","remainingTimeSecondsSingleWeekCombined":106920,"remainingTimeSingleWeekCombined":"29 h 42 m","startSingleWeek":"2025-10-27 00:00:00","singleWeekShortIdles":1,"singleWeekExtendedSteer":1,"steerTimeSecondsDoubleWeek":217080,"steerTimeDoubleWeek":"60 h 18 m","workTimeSecondsDoubleWeek":234120,"workTimeDoubleWeek":"65 h 2 m","remainingTimeSecondsDoubleWeek":106920,"remainingTimeDoubleWeek":"29 h 42 m","startDoubleWeek":"2025-10-20 00:00:00","lastTachographStatus":0,"lastTachographTime":"2025-10-30 08:08:00","lastTachographSlot":1}

Example calls

Request in  JSON format
https://map.yellowfox.de/rti/get_d8_driver_time.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&driver=DF0123456789000

Request in CSV format
https://map.yellowfox.de/rti/get_d8_driver_time.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&driver=DF0123456789000&format=csv