-
Notifications
You must be signed in to change notification settings - Fork 0
/
EID-http-Proxy.json
102 lines (102 loc) · 2.37 KB
/
EID-http-Proxy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[
{
"id": "7100f2f513739339",
"type": "tab",
"label": "EID",
"disabled": false,
"info": "",
"env": []
},
{
"id": "28e9f716d1386d87",
"type": "http request",
"z": "7100f2f513739339",
"name": "",
"method": "POST",
"ret": "txt",
"paytoqs": "ignore",
"url": "http://192.168.1.9:1880/eid",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"x": 370,
"y": 140,
"wires": [
[]
]
},
{
"id": "7eb74530cf83b1a1",
"type": "serial in",
"z": "7100f2f513739339",
"d": true,
"name": "",
"serial": "84d503d3796c0a2f",
"x": 210,
"y": 100,
"wires": [
[
"d5dfdcd4834bfa6d"
]
]
},
{
"id": "2ba1b023f4cce960",
"type": "debug",
"z": "7100f2f513739339",
"name": "debug 21",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 560,
"y": 100,
"wires": []
},
{
"id": "d5dfdcd4834bfa6d",
"type": "function",
"z": "7100f2f513739339",
"name": "Read Tag",
"func": "var str = msg.payload;\n//msg.payload = null;\nstr = str.split(\" M \");\nif (str[1] != undefined) {\n msg.payload = str[1].trim();\n node.send(msg);\n}\nreturn ;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 380,
"y": 100,
"wires": [
[
"2ba1b023f4cce960",
"28e9f716d1386d87"
]
]
},
{
"id": "84d503d3796c0a2f",
"type": "serial-port",
"serialport": "COM4",
"serialbaud": "9600",
"databits": "8",
"parity": "none",
"stopbits": "1",
"waitfor": "",
"dtr": "none",
"rts": "none",
"cts": "none",
"dsr": "none",
"newline": "15",
"bin": "false",
"out": "interbyte",
"addchar": "",
"responsetimeout": "10000"
}
]