Wiki source code of Data PostProcessing Examples

Version 5.1 by Hera Guo on 2025/10/13 14:15

Show last authors
1 == 1. Calcaute Data Delta in different uplink ==
2
3 ==== Configuration for Data Delta calculations needs to be set up within the rule chain. ====
4
5 ==== There are two types of nodes to choose from: ====
6
7 === 1.1 Use the script node ===
8
9 [[image:1760325448266-905.png]]
10
11 [[image:1760325834320-734.png]]
12
13 [[image:1760325888128-284.png]]
14
15 ==== The calculation code is as follows: ====
16
17 ==== The calculated difference result is saved to State and uploaded to telemetry for display. ====
18
19 ==== If the normal increment occurs without packet loss, State ~= 1; ====
20
21 ==== if packet loss occurs, State ~= 0. ====
22
23 [[image:1760325860551-151.png]]
24
25 ==== Real-time values for State can be observed in the telemetry data. ====
26
27 [[image:1760325531412-428.png]]
28
29 ==== Packet loss incidents can be displayed on the dashboard, showing the exact time they occurred. ====
30
31 [[image:1760335990899-383.png]]
32
33 [[image:1760336047448-430.png]]
34
35 === 1.2 Use the calculate delta node ===
36
37 [[image:1760326967669-999.png]]
38
39 [[image:1760327789972-615.png]]
40
41
42