-
Notifications
You must be signed in to change notification settings - Fork 0
/
wfi32demo_template.JSON
112 lines (112 loc) · 2.69 KB
/
wfi32demo_template.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
103
104
105
106
107
108
109
110
111
112
{
"code": "wfi32demo",
"name": "wfi32demo",
"authType": 2,
"attributes": [
{
"name": "version",
"type": "STRING",
"description": null,
"unit": null
},
{
"name": "Onboard_Temp_DegC",
"type": "DECIMAL",
"description": null,
"unit": null
},
{
"name": "Onboard_Light_Lux",
"type": "INTEGER",
"description": null,
"unit": null
},
{
"name": "WFI32IoT_button1",
"type": "INTEGER",
"description": null,
"unit": null
},
{
"name": "WFI32IoT_button2",
"type": "INTEGER",
"description": null,
"unit": null
},
{
"name": "WFI32IoT_button1_count",
"type": "INTEGER",
"description": null,
"unit": null
},
{
"name": "WFI32IoT_button2_count",
"type": "INTEGER",
"description": null,
"unit": null
},
{
"name": "LED_Red",
"type": "STRING",
"description": null,
"unit": null,
"attributeColor": "#f44e3b"
},
{
"name": "LED_Blue",
"type": "STRING",
"description": null,
"unit": null,
"attributeColor": "#7b64ff"
},
{
"name": "LED_Green",
"type": "STRING",
"description": null,
"unit": null,
"attributeColor": "#68bc00"
}
],
"commands": [
{
"name": "led-green",
"command": "led-green",
"requiredParam": true,
"requiredAck": false,
"isOTACommand": false
},
{
"name": "led-red",
"command": "led-red",
"requiredParam": true,
"requiredAck": false,
"isOTACommand": false
},
{
"name": "reset-counters",
"command": "reset-counters",
"requiredParam": false,
"requiredAck": true,
"isOTACommand": false
},
{
"name": "led-blue",
"command": "led-blue",
"requiredParam": true,
"requiredAck": false,
"isOTACommand": false
}
],
"messageVersion": "2.1",
"msgCode": "XG4ENVD",
"greenGrass": "0",
"wireless": "0",
"properties": {
"description": null,
"dataFrequency": "60",
"fileSupport": false
},
"_meta": {
"version": "2.0"
}
}