Send via SMS not showing in UI despite having setup SMPP

Mark Buckman7 years ago

I am having an issue where I cannot setup commands (Traccar 4.1 - Docker). I've reinstalled from scratch and tried 4.0 first, all installs produced the same error:
Issue

Also, saved commands are not shown despite the group being added.

I can track my devices, but I cannot send commands, in this case, an OBD device (gt06) and I need to retrieve the VIN. The command examples show expressions syntax for values, but no example to just request a specific data field.

Thanks in advanced!

Anton Tananaev7 years ago

Have you cleared browser cache?

Also, what do you mean by "group being added"? How is that related to commands?

Mark Buckman7 years ago

Yes, I have cleared cache and tried on numerous browsers on multiple workstations.

The docs state that you can save commands. When I save a command (Still checking off the blank checkbox which is supposed to be "Send via SMS), the command does not appear when I select the device.

alt text

There are no saved commands under the drop down, only "New..."

Anton Tananaev7 years ago

Have you linked saved command to the device?

Mark Buckman7 years ago

Yes, I have.

Also, on a side issue, what would be the expression to query the device (gt06) for the ID or VIN?

Thanks in advanced. This is a wonderful product and I'll definitely be making a generous donation once I can deploy.

Anton Tananaev7 years ago

Can I connect to your server to take a look?

Mark Buckman7 years ago

I have emailed details to support@traccar.org

Thanks!

Anton Tananaev7 years ago

Missing SMS label is a valid bug, but it doesn't really affect any functionality. Just the text label is missing. It will be fixed with next release.

Saved commands work without any issues.

Mark Buckman7 years ago

I see that Saved Commands work with accounts other than admin. In Admin, adding the Command in the same way, still just shows New... as the only option. I can provide the credentials if you'd like to see for yourself.

If it isn't too much trouble, could you provide an example expression to retrieve VIN from OBD GPS device (gt06)? I've searched high and low without luck.

Thanks!

Anton Tananaev7 years ago

I'm sure they work with admin as well. Note that you can only see saved commands that are supported by the device.

Mark Buckman7 years ago

Upon closer inspection, I notice that despite being able to add the saved commands to the device, the only commands available to send to the device besides "New..." are Custom Commands, not on the other ones, such as Device Identification, Send USSD, etc.

Server Saved Commands

Saved Commands

Send Command

Anton Tananaev7 years ago

What protocol is your device using? It it online?

Mark Buckman7 years ago

Sorry, was formatting my message and missed your reply.

The device we are using OB22 uses the gt06 protocol from what I can tell. The features claim it has the ability to report vehicle telematics including VIN, which is the one and only bit of data I need to retrieve.

Is there a lookup table of device protocols and commands accepted or can you point me in the right direction to retrieve the vehicle's VIN?

Again, many thanks.

Anton Tananaev7 years ago

No, there is no lookup table, but Traccar will tell you which commands you can send. Note that to send command device needs to be online. If it's not online, you might see completely different command set. Also, you can't cheat and add new commands just by making a saved command and assigning it to the device. If it's not supported as "New", it won't be supported either way. Trying to get around it by using saved commands won't work.

Mark Buckman7 years ago

I may have commands working, well that is there are reaching the device via SMS, but not showing the event on the dashboard.

Now if I could only figure out the correct expression for computed values so that I can extract the VIN.