HW: RUT956, FW: 7.04.3
(Continued from a thread in old Forum)
Summary of previously thread: Have switched from RUT955 to RUT956, issue is that seems to not be able to access digital input for either “digital input” or “isolated input” through MQTT. Sending request on topic router/get with either message digital1 or digital2, but in either way the reply on topic router/[id]/digital1 (or digital2) is “N/A”.
As debugging, have tried to access same data through GET request. Original stated result of that was that it would always return 0 (more details on that later), no matter state of actual input.
Reply/suggestion: (stored in old forum, so cannot recall 100% but something like…). Show that requesting data with: http://192.168.1.1/cgi-bin/io_value?username=user&password=userpw&pin=din2, and changing state of invertion on web, produces different output of that request. Suggest to reload firmware.
The new part:
Have factory reset device, and seen that it starts on FW 7.04.3
Have enabled Post/Get on Input/Output service. Retry the GET request.
Have found that when I request din2, I get the state of “digital input”. If I invert digital input in UI output from get din2 switches.
Would have expected that “digital input” would effect din1 and “isolated input” would effect din2, just as on mqtt the messages is “digital1” for “digital input” and “digital2” for “isolated input”.
Have tried get request on the entire list “Available IO’s: acl0 adc0 din1 din2 dout1 dout2 iio relay0”, and cannot see that any of those represent state of “isolated input”
And did again install mqtt service, and reproduced that unit would respond with N/A on requesting digital1 or digital2