Wiki source code of Demo for Smart Office, Factory

Version 12.1 by Hera Guo on 2024/10/31 15:07

Show last authors
1 **Table of Contents:**
2
3 {{toc/}}
4
5
6
7
8 = 1. About this demo =
9
10 This demo is to show the installation for various sensors in Dragino Office, Dragino Facotry & ThingsEye Office. It covers various types of sensors such as Temperature, Humidity, CO2, Water Flow, Vibration & many many.
11
12 User can check this [[Public Share Link>>https://thingseye.io/dashboard/d17f70f0-6b5f-11ef-a329-6fb88c149adb?publicId=33180810-5c40-11ef-a329-6fb88c149adb ]] and see the dash board for this demo. The dash board keeps updating, while the main structure will keep the same. It has **Three Level DashBoard **as decribe below.
13
14 * **First Level - Overview for all branches**: This dashboard shows all branches overview status and location.
15 * **Second Level - Branch Level**: This dashboard shows all sensors installation and status in the selected branch.
16 * **Third Level - Sensor Level**: This dashboard shows the detail reading for a specify sensor
17
18 [[image:Level1.png||height="133" width="298"]] [[image:Arrow.png||height="27" width="51"]] [[image:Level2.png||height="134" width="264"]][[image:Arrow.png||height="27" width="51"]] [[image:2024-09-26 23-47-06.png||height="130" width="256"]]
19
20
21 The rest of this chapter will provide the introduction for how to set up similiar solution.
22
23
24 = 2. Set up a similiar dashboard =
25
26
27 == 2.1 Creat the dashboard and add branch ==
28
29 === 2.1.1 Create Dashboard ===
30
31 [[image:1730340927404-430.png]]
32
33
34 [[image:1730340927412-610.png]]
35
36 Assigning users and groups is not necessary and can be done uniformly after completing the overall project creation
37
38 == 2.2 Add a branch ==
39
40
41
42 [[image:1730341060305-544.png]]
43
44 How many interfaces do you need to display, and how many statuses you need to create.
45
46 [[image:1730341060308-892.png]]
47
48 After creating the branch, you can add widgets into your dashboard and decorate it.
49
50 [[image:1730341060310-449.png]]
51
52 == 2.3 Connect Sensors ==
53
54 === 2.3.1 Add LoRaWAN Sensors ===
55
56 === 2.3.2 Add NB-IoT Sensors ===
57
58 == 2.4 Creat group and add device ==
59
60 [[image:1730341200415-449.png]]
61
62 [[image:1730341200420-412.png]]
63
64 [[image:1730341200421-190.png]]
65
66 [[image:1730341200424-882.png]]
67
68 == 2.5 Creat entity alias and connect ==
69
70 === 2.5.1 Creat entity alias ===
71
72 [[image:1730341268104-527.png]]
73
74 [[image:1730341268106-565.png]]
75
76
77 === 2.5.2 Connect entity ===
78
79 [[image:1730341268108-632.png]]
80
81 == 2.6 Creat actions ==
82
83 [[image:1730341395062-192.png]]
84
85 [[image:1730341395069-644.png]]
86
87 = 3.Set up Alarm =
88
89 == 3.1 Creat device profiles ==
90
91 [[image:1730341507235-819.png||height="636" width="1260"]]
92
93 == 3.2 Set up Alarm ==
94
95 [[image:1730341543316-750.png||height="629" width="1260"]]
96
97 [[image:1730341543319-574.png]]
98
99
100 == 3.3 replace device profile ==
101
102 [[image:1730341567947-831.png||height="629" width="1266"]]
103
104 = 4. create rule chain =
105
106 == 4.1 creat rule chain ==
107
108 (% class="wikigeneratedid" id="H" %)
109 [[image:1730341620059-499.png||height="621" width="1263"]]
110
111 (% class="wikigeneratedid" id="H-1" %)
112 [[image:1730341620061-922.png||height="612" width="1263"]]
113
114 (((
115 Regarding the rule chain, you can see the relevant explanation below:
116 )))
117
118 [[https:~~/~~/wiki.thingseye.io/xwiki/bin/view/Main/Basic%20configuration%20of%20rule%20chains/>>https://wiki.thingseye.io/xwiki/bin/view/Main/Basic%20configuration%20of%20rule%20chains/]]
119
120 == 4.2 replace rule chain ==
121
122 [[image:1730341620064-656.png||height="628" width="1265"]]
123
124 = 5. More features =