Automating a way to show cell connected to on a map

I have been using opencellid and manually entering in cell info to determine location of tower I am connected to. Application is a boat and is useful for troubleshooting and estimating limits of coverage.
Is there any way to automate this in the firmware (RUTX11) - I have an api token from opencellid and can manually do a call to get lat/lon but ideally want to automate this.

  • can it be run from firmware and deisplay on a map like GPS position?
  • I guess a script could be run that scrapes the data from the cell info page in modem, and sends a call, then display returned lat/lon in a map - not sure how to go about that (yet)

Any ideas on what could work and where to start? Are there commands to get the MCC, MNC, TAC and cell id from modem as opposed to status page-cell info?

Another function down the track would be to collate cell data and contribute to the opencellid project.

Hi,

You can use /api/modems/status endpoint (https://developers.teltonika-networks.com/reference/rutx11/7.16.1/v1.8.2/modems#get-modems-status) to get required info from modem.

1 Like

Hello,

As @lemondude suggested, you can utilize the API endpoint to get the data you need.

In case of automating different actions, the best option here would be using Custom Scripts. They are out of technical support scope, but we have some examples to get you started: User Scripts examples - Teltonika Networks Wiki

In regards to viewing the GPS map and such, you can find the configuration under Services → GPS in the WebUI. More information regarding the different settings located there can be found here: RUTX11 GPS - Teltonika Networks Wiki

Regards,
M.

Thanks for the replies, useful information.

I am aware of the gps map settings in services, however cannot use for this. I use the NMEA forwarding as an instrument backup feed and for location stream to Victron devices, however cannot see it fulfilling the function of displaying a position or data like I am looking for with this idea of displaying connected cell tower.

With the mapping, my thoughts were displaying the nearest tower from opencellid on a map, like the GPS map in firmware.
I don`t know how to build that into the firmware, so I think the best solution for me is learn how to write a script to get/scrape the cell info from RUTX11 status, then request from Opencellid, then load the lat/lon onto a seperate map window (openstreetmap or similar)

Either this or you can try building a custom SDK if you know what you’re doing. In the firmware download page of each one of our devices you should be able to find an SDK file for download. That file can be edited & later on compiled into a firmware file that can be then installed onto the device:

More information on how these can be edited & compiled can be found here: RUTOS Software Development Kit (SDK) Instruction - Teltonika Networks Wiki

Regards,
M.

This topic was automatically closed after 60 days. New replies are no longer allowed.