rant
November 12, 2025, 3:53pm
1
Hello,
I am trying to retrieve the GPS position of a Starlink antenna in a file using this type of command.
I am looking for an alternative to JQ to retrieve the response in a file. Could you help me?
Thank you for your help.
grpcurl -plaintext -d {\“get_location\”:{}} 192.168.100.1:9200 SpaceX.API.Device.Device/Handle | jq -r . > “/usr/local/response_$(date +‘%Y%m%d_%H%M%S’).json”
Response gprc:
{
“status”: {},
“apiVersion”: “40”,
“getLocation”: {
“lla”: {
“lat”: 48.38045822626718,
“lon”: -4.486677788247141,
“alt”: 49.86233211577027
},
“source”: “GNC_FUSED”
}
}
Marija
November 13, 2025, 7:40am
2
Hello,
Could you please specify which device model you are using with your Starlink antenna?
Best regards,
rant
November 13, 2025, 12:50pm
3
Hello,
we use a Statlink Mini.
Do you have a solution for using the Starlink position instead of the RutX12 GPS antenna?
Thank you,
Antoine
Marija
November 24, 2025, 6:12am
4
Hello,
We can only assist with questions related to Teltonika devices.
Best regards,
Dainius
November 24, 2025, 6:51am
5
Hi,
Is pretty print needed? If no then you can directly output grpcurl to file
grpcurl -plaintext -d {\"get_location\":{}} 192.168.100.1:9200 SpaceX.API.Device.Device/Handle > "/usr/local/response_$(date +'%Y%m%d_%H%M%S').json"
If you want to prepossess json (no petty print tho) you can use bult-in jsonfilter command
system
Closed
January 11, 2026, 3:54pm
6
This topic was automatically closed after 60 days. New replies are no longer allowed.