2N Indoor Touch Api Manual page 30

Api
Hide thumbs Also See for Indoor Touch:
Table of Contents

Advertisement

Response data:
{"data":{"value":<bit>,"success":<boolean>}}
4.2.2.3 Output Value Setting
Set the output value or switchable IO direction. Name – GPIO name, refer to 4.2.2.1
GPIO List Getting
. Type can have the values {value, direction}.
GPIO name {out1, out2, relay1, relay2}, type=value:
Value can be {0, 1}
GPIO name {io1, io2}, type = direction:
Value can be {in, out}
Success can be false if GPIO is locked for setting via another application.
URL:
https://<IP>/api/v1/gpio?action=set&name=<string>&type=<string>&
value=<bit>
HTTP method:
GET
Request body:
N/A
Response code:
 
Response data:
{"data":{"success":<boolean>}}
4.2.3 2N® IP Mobile Control
4.2.3.1 Call Dialling
4.2.3.2 Call Accept
4.2.3.3 Call Termination
4.2.3.4 Call State
4.2.3.5 2N IP Intercom List Getting
4.2.3.6 Getting 2N IP intercoms Added to Devices
4.2.3.7 Change of Items in Added Device List
4.2.3.8 Door Lock Activation
4.2.3.9 2N® IP Mobile Minimisation
4.2.3.10 2N® IP Mobile State
4.2.3.11 2N® IP Mobile Restart
2N TELEKOMUNIKACE a.s., www.2n.cz
30/42

Advertisement

Table of Contents
loading

Table of Contents