Connecting Third Party Devices to Wiren Board: различия между версиями

(адреса в примере и коде json-файла отличаются)
 
Строка 92: Строка 92:
                 "name": "Input 1",
                 "name": "Input 1",
                 "reg_type": "discrete",
                 "reg_type": "discrete",
                 "address": 1,
                 "address": 0,
                 "type": "switch",
                 "type": "switch",
                 "group": "channels"
                 "group": "channels"
Строка 99: Строка 99:
                 "name": "Input 1 Counter",
                 "name": "Input 1 Counter",
                 "reg_type": "input",
                 "reg_type": "input",
                 "address": 2,
                 "address": 1,
                 "type": "value",
                 "type": "value",
                 "group": "channels"
                 "group": "channels"