简体   繁体   English

如何从 Thingsboard 中的传入 JSON 数据自动生成资产/实体?

[英]How to automatically generate assets/entities from incoming JSON data in Thingsboard?

We can successfully download JSON data over the REST-API node which contain many sensors (distinguishable by IDs) of the same type.我们可以通过 REST-API 节点成功下载 JSON 数据,该节点包含许多相同类型的传感器(可通过 ID 区分)。 However, we could not find a possibility to automatically create entities/assets from this collection.但是,我们找不到从这个集合中自动创建实体/资产的可能性。 The number of sensors is so high that manually adding them would take a lot of time.传感器的数量如此之多,以至于手动添加它们会花费大量时间。

Is there a possibility to let these assets be created by a rule chain?是否有可能让这些资产由规则链创建?

答案是对自己进行外部 API 调用(在 Rulechain 内)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM