-
I was wondering if i could get the data from fastf1 into grafana, so I can jst make the telemetry and other things click and go instead of me coding some stuff. I see that the cache basicaly uses pickle to save the data, but Grafana does not read pkl files to my knowledge. Is there a way to simply save the json files that are downloaded by fastf1, instead of saving them as ff1pkl files? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Let's just answer that one myself, because things can be so much easier that way (I really need so investigate more before asking questions). base_url = 'https://livetiming.formula1.com' /static//<Date_And_Name_of_race>/<date_Session> 'session_data': 'SessionData.json', # track + session status + lap count And we'll continue to work from there. |
Beta Was this translation helpful? Give feedback.
Let's just answer that one myself, because things can be so much easier that way (I really need so investigate more before asking questions).
base_url = 'https://livetiming.formula1.com'
/static//<Date_And_Name_of_race>/<date_Session>
and <Date_And_Name_of_race>/<date_Session> can be gathered from https://livetiming.formula1.com/static/SessionInfo.json
'session_data': 'SessionData.json', # track + session status + lap count
'session_info': 'SessionInfo.json', # more rnd
'archive_status': 'ArchiveStatus.json', # rnd=1880327548
'heartbeat': 'Heartbeat.jsonStream', # Probably time synchronization?
'audio_streams': 'AudioStreams.jsonStream', # Link to audio commentary
'driver_list': 'DriverLi…