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
251 views 0 comments
by anonymous

I am trying to create a bespoke web page to display the voltages, and status of other inputs of Multiple RUT955 routers (30+). I thought the best was would be SSH commands which then update a mySQL database, the website would then display the latest reading.

I can get the voltage easily by connecting to the analogue input and grd and using the command, "cat /sys/class/hwmon/hwmon0/device/in0_input"  this returns the voltage in millivolts.

What im struggling with is the Digital input state. I found this wiki, https://wiki.teltonika-networks.com/view/RUT955_Input/Output#Status_and_control_from_command_line

From that article the command  "ubus call ioman.gpio.din1 status"  should then display the state of digital inputs as a 1 or 0 but all I get is an error saying, "Command failed: Not found"

Is this command incorrect or has it been changed.

Any help appreciated.

Thanks

1 Answer

0 votes
by anonymous

Hello,

Thank you for provided information. Tested the command which you have provided with the RUT955 running the latest firmware version RUT9_R_00.07.01.4 and the command works just fine.

Photo:

So I would strongly recommend try upgrading device firmware version to the latest one: https://wiki.teltonika-networks.com/view/RUT955_Firmware_Downloads

Best regards,