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.