FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
263 views 0 comments
by anonymous
Hi, we are using HTTP GET/POST to set the states of the GPIOs, but can we use JSON-RPC to do the same as well as retrieve the current pin status?

What JSON-RPC command structures should we use for the following?  

RUT240 pins:

oc

TRB141: pins:

relay0

relay1

dio0

dio1

1 Answer

0 votes
by anonymous

Hello,

Getting and setting the states of Inputs outputs on RUT devices can be done in few ways. via WebUI, Post/Get that you are using, then via SMS messages and finally via CLI command lines, which would be for TRB141 and for RUT240

More controls with  JSON-RPC is not yet implemented even though there is plans for it in the future, but it is not yet confirmed.

Best regards,
VidasKac.