当前位置:网站首页>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
边栏推荐
- JS local storage
- The turtle library displays the system time
- Delete soft link
- 云计算企业崛起 甲骨文数据库市场主导地位动摇
- 【pytorch环境安装搭建】
- The rise of cloud computing enterprises and the shaking of Oracle database market dominance
- C language structure
- 架构师必备:系统容量现状checklist
- Jenkins接入Openldap用户认证
- UNIX Environment advanced programming --3-file io---3.10 file sharing
猜你喜欢

GCC compilation process

Trees and binary trees: traversal of binary trees

Node-RED系列(二四):在Node-RED中使用mysql节点实现数据库的增删改查
![[51nod p2673] shortest path [heap optimization Dijk]](/img/08/5e68466fe8ff8458f736bc50d897da.jpg)
[51nod p2673] shortest path [heap optimization Dijk]

Tree and binary tree: storage structure of binary tree

隐私计算FATE-核心概念与单机部署

全栈开发实战|SSM框架整合开发

Consolas-with-Yahei

Classes and objects -- polymorphic
![[51nod P3210] binary statistics](/img/a0/3fd197107336b10ea0a996f6b6ab58.jpg)
[51nod P3210] binary statistics
随机推荐
[51nod p2106] an odd number of times [bit operation]
多线程 从UE4的无锁队列开始 (线程安全)
云计算企业崛起 甲骨文数据库市场主导地位动摇
Musk's "meta universe" dream
(bfs) acwing 844. Labyrinth
Britain introduces food security plan to resist food supply crisis
ThingsBoard教程(二一):使用消息类型和数据处理节点对数据处理后保存
Consolas-with-Yahei
Summary of random number learning
Instruction level parallelism (?)
The turtle library displays the system time
Learning makefile with me
WebRTC服务端工程实践和优化探索
[51nod p2102] or subtraction and [bit operation]
Smart210 uses SD card to burn uboot
C# 11 新特性:接口中的静态抽象成员
Class and object -- friend
Delete soft link
[Luogu p1403] Research on divisor
Haproxy + keepalived for high availability load balancing of MySQL