TRB140 Modem ID?

Hello,

I am trying to use Teltonika TRB140 to send Nagios alert messages via API with a customized perl script and I am currently facing a problem with the missing modem ID.

I tried to find out the modem ID with these commands:

admin@TRB140:~$ ubus list
dnsmasq.dns
gsm.modem0
log
mctl
service
system
admin@TRB140:~$ ubus call gsm.modem0 status
Command failed: Method not found

I have also tried known IDs “1”, “1-1”, “0”, “modem0” out of desperation but nothing has worked.

What is the Modem ID for this device?

Hi,

It’s probably 3-1.

You can always call api/modems/status API endpoint to get modem info.

Thanks, it was indeed “3-1”, but I figured it out by sending a message via GUI and using browser debugging tools to read it from the payload.

Did you have a fix on this issue?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.