FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

4167 questions

4739 answers

3460 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
335 views
in Vehicle tracking by anonymous
Hello everyone,

I want to enable my relay through a command line. I know that gpio can be used to control the digital inputs, but not the relay.

Thank you

2 Answers

0 votes
by anonymous
Hello.

Digital inputs can not be controlled because they are inputs that detect signal state on it.

If you connect your relay to digital output, you can control it with setdigout SMS/GPRS command.

Note, that digital output is open collector output, when it is active (DOUT1=1) it is connected to the GND.

https://wiki.teltonika-gps.com/view/FMB920_SMS/GPRS_Commands

https://wiki.teltonika-gps.com/view/FMB_setdigout

Regards
0 votes
by anonymous

I am connecting it to the ports 5,10 see RUT955 Input/Output - Teltonika Networks Wiki (teltonika-networks.com)

From what I see, this is not considered a digital output. This is simply called the relay output. 

I managed to enable/disable it through the teltonika web interface, but I'd need to do it through the CLI. 

The link you provided only handles digital output, not the relay port.

Thank you,