当前位置:网站首页>Thingsboard tutorial (20): filtering telemetry data using regular chains
Thingsboard tutorial (20): filtering telemetry data using regular chains
2022-06-13 09:46:00 【Bring me my Plaid】
Preface
In the last article, we gave a general overview of the node types in the rule chain , stay tb The rule nodes in the have 6 Type in the
- filter
- Property set
- Transformation
- action
- external
- Rule chain
Originally, I wanted to explain the specific rule nodes under each type in detail , But such It will inevitably be divorced from actual use . So before explaining each specific node in detail , Let's do some practice of rule chain first , Learning in practice , More specific , It's more of a substitute .
So this article will explain the first case , Use rule chain to filter telemetry data , Filter . And that's where Filter the script node .
Let's move on to the topic .
Use rule chain to filter telemetry data , Handle
The business scenario looks like this , We have a smart thermometer , In our lab , It will upload the temperature of the laboratory every once in a while . But this thermometer is always wrong recently , The uploaded data are 100 degree , Also have -80 degree , Such data will cause a "do not disturb" to our data statistics . So we need to write a rule chain to filter out abnormal data , To ensure data quality . Demand is : If the uploaded temperature Greater than 50 degree , Or less than -10 degree , It is not saved to the database
Understand the requirements clearly , Let's do it .
Create device
Use the tenant administrator to enter the device list ,
Add a new device , It's called a smart thermometer .
Create rule chain
Enter the management of rule chain library
边栏推荐
- 36氪首发|打造国产精算预测引擎等产品,「深轻科技」连续完成三轮融资
- LeetCode 6098. Count the number of subarrays whose score is less than K (prefix and + binary search)
- Class and object -- friend
- Attack and defense world PWN shell
- 架构师必备:系统容量现状checklist
- [51nod p3047] displacement operation [bit operation]
- Consolas-with-Yahei
- Simple use of spiel expressions
- VGA common resolution and calculation method
- 修饰模式和代理模式的异同
猜你喜欢

Node-RED系列(二五):集成高德地图并实现3d地图和轨迹回放

Exercise 7-7 string replacement (15 points)

(dfs+ pruning + checkerboard problem +dood) acwing 843 N-queen problem

Smart210 uses SD card to burn uboot

Learning makefile with me

UNIX Environment advanced programming --3-file io---3.10 file sharing

(bfs+GOOD) acwing 845. Eight digit

(dfs) acwing 842. Arrange numbers
![[51nod p2102] or subtraction and [bit operation]](/img/49/8cc722e5fb18de5ce30d58adb805db.jpg)
[51nod p2102] or subtraction and [bit operation]

Memory management -- Viewing memory space from the perspective of executing programs and processes
随机推荐
go-zero微服务实战系列(三、API定义和表结构设计)
Classes and objects -- encapsulation
Exception handling operation
Leetcode (question 15) - sum of three numbers
修饰模式和代理模式的异同
(state compression dp+good) acwing 291 Mondrian's dream
聊聊 C# 方法重载的底层玩法
Britain introduces food security plan to resist food supply crisis
Trees and binary trees: Construction of binary trees
[51nod p3216] Award [bit operation]
Musk's "meta universe" dream
Exploitation of competitive loopholes in attacking and defending world PWN play conditions
SpEL表达式 简单使用
LeetCode 1143. Longest common subsequence
C language structure
Tree and binary tree: basic operation and implementation of binary tree
(tree DP) acwing 285 A dance without a boss
VGA common resolution and calculation method
【工具链系列】 Notepad++
Classes and objects -- Inheritance