Reading IO input state WRN-1610S
AnsweredHello,
In the post "Reading I/O input state on WRN Wave server" and "Input/Output support" we see that we can receive the I/O settings.
But is there also an endpoint that can show us what the state of the input is ?
Thanks.
MB
-
Hi,
You could try this yet undocumented method /api/iomonitor?cameraId=<your device id>
I got this result with ADAM-6052 io module.
[{"id":"coil_0","isActive":false,"timestamp":"1673435970597"},{"id":"coil_1","isActive":false,"timestamp":"1673435970597"},{"id":"coil_2","isActive":false,"timestamp":"1673435970597"},{"id":"coil_3","isActive":false,"timestamp":"1673435970597"},{"id":"coil_4","isActive":false,"timestamp":"1673435970597"},{"id":"coil_5","isActive":false,"timestamp":"1673435970597"},{"id":"coil_6","isActive":false,"timestamp":"1673435970597"},{"id":"coil_7","isActive":false,"timestamp":"1673435970597"},{"id":"coil_16","isActive":false,"timestamp":"1673435970597"},{"id":"coil_17","isActive":false,"timestamp":"1673435970597"},{"id":"coil_18","isActive":false,"timestamp":"1673435970597"},{"id":"coil_19","isActive":false,"timestamp":"1673435970597"},{"id":"coil_20","isActive":false,"timestamp":"1673435970597"},{"id":"coil_21","isActive":false,"timestamp":"1673435970597"},{"id":"coil_22","isActive":false,"timestamp":"1673435970597"},{"id":"coil_23","isActive":false,"timestamp":"1673435970597"}]
However, I had no success with a camera having Alarm input and output. No data received.
I guess, the API works for IO modules only.
Please sign in to leave a comment.
Comments
5 comments