TRB255 - Remote access to set Digital Outputs

I’m evaluating the TRB255 for use case that primarily connects via a wired WAN, and only uses the mobile if a wired link is not available. We need to remotely activate the digital outputs based on sensor data received from the TRB255, together with some cloud based business logic.

Getting the sensor data up to the cloud is straightforward, but getting the resulting actions back down to the TRB255 seems harder than I would have expected for an IOT device.

Sadly, we can’t rely on the TRB255 access to a Public IP for the WAN, hence we can’t use the “Input/Output POST/GET” functionality and the mobile is really only for failover so can’t rely on using the “SMS Utilities” to set the digital outputs.

Am I correct that the only other option available to remotely set the digital outputs, is to access the TRB255 via RMS using the REST API? If this is the case, can someone point me to a example on how this is done. I’m OK with having to build a REST interface but the authentication process looked like a maze.

Many thanks in advance for your thoughts and suggestions.

Hello,

You can use SMS Utilities without an internet connection, as they are only used for sending/receiving SMS. So, if your gateway gets internet from a wired WAN and the mobile WAN is configured as failover, the gateway will still be able to accept SMS and calls.

Regarding RMS, once you connect the device to it, you will be able to navigate to the device configuration, where you can set or change your preferred settings. More information can be found on our wiki page: RMS Configuration menu - Teltonika Networks Wiki

Best regards,

Thank you for your prompt reply.

It’s a good point regarding the SMS Utilities not requiring internet, however the use case also include locations with poor and/or no mobile coverage, i.e. they’ll essentially be wired access only.

I’ve had a bit more of a look at the RMS API authentication and the option to use PAT looks a whole lot easier than having to mess with OAuth so it looks like I’ll have to head this way.

Thanks again for your reply. Take care.