Sending failsafe command through SMS if data connection fails

Angel Systat5 years ago

My Teltonika devices connected to Traccar have several commands configured (unlock doors, inmobilization on/off, etc).
Sometimes, the devices have no data connection so the commands can not be received. But they still can receive the command through SMS.
How could I set up a fail-safe mechanism in which, when a device doesn't answer the data command, I then send the SMS command?

Thanks for any help

Anton Tananaev5 years ago

There's no way to automate that.

Angel Systat5 years ago

You mean in traccar?
What if I made an external mechanism like this:
1- send data command through traccar API
2- if command ack the arrival of the command, finish the logic.
3- if command does not ack the arrival of the command, send sms command through traccar API

What do you think? Would this be a correct way of implementing this?
Thanks

Anton Tananaev5 years ago

Of course you can use API for that.