Hi, where and how to use it? What's the purpose?
Thank you
Click on the link and it will show you code.
Purpose.. keep devices status in csv file. For example I need to send csv file at certain times so someone so they hsve a list instead checking on dashboard.
Thank you for your explanation
Could you give a brief instruction on how to use the code on the traccar platform?
@GPS-911 your code is good but I think php is not a good idea can you create a script in java. Exporting device list in Excel good option.
Here is PHP script for exporting Online/Offline traccar devices
https://github.com/onlinegill/traccarexport/blob/main/export.php