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
380 views 0 comments
by anonymous
HW: RUT956, FW: RUT9M_R_00.07.04.3

Trying to access value on isolated input in same way as is possibly on RUT955. Cannot seem to find what setting is missing.

MQTT:

Have enabled Mqtt broker, have enabled publisher set to 127.0.0.1

Sending request on topic: "router/get" with value: "digital2"

Response from router: "N/A", no matter if input is high or low.

(Same response for for digital1, but analog seems to work)

GET request:

Have enabled "Post/Get" under Input/output

Attempting to get value of isolated input with:

curl -X GET "http://192.168.0.1/cgi-bin/io_value?username=xxxx&password=xxxx&pin=din2"

Reply is "0" no matter the actual input on the port. (Nb, in web UI under "Input/Output" / "Status" it does show correct state according to actual input either "High level" or "Low level").

Same observation on the GET request as with mqtt, that seems to be getting correct value of the analog input, but not on digital input or isolated input.

Might there be some setting thats missing?

Thanks

/Martin

1 Answer

0 votes
by anonymous

Hello,

    

I've tested this on RUT956 running the newest firmware and using the HTTP GET request was able to get the correct values:

Inversion OFF:

Inversion ON: 

Perhaps you could try performing a factory reset on the device to check if the issue is firmware-related?

  

Best regards,
DaumantasG