IoT Sitewise - how to have single model with assets of different properties

0

My understanding of one of the benefits of IoT Sitewise is you can model a specific machine type, and then use that same model across your fleet of machines. If you have two machines that use separate units of measurement, then you can use a Transform in the model to make them consistent. Assuming my understanding is accurate, my scenario is for Waterjet Cutters where one device reports temperature in Fahrenheit and the other in Celsius. My goal is to have the output from SiteWise be a single Property called Temperature and that all values will be Fahrenheit.

To go about this, I tried to create a Measurement called Temperature with the Unit of Fahrenheit. I then also created a Transform with the name Temperature and the unit of Fahrenheit. The idea is if the Asset is already using Fahrenheit, then I would Enable the Measurement and Disable the Transform. If the Asset is instead using Celsius, then I would disable the Measurement and Enable the Transform. That doesn't work as SiteWise reports the names across Measurements and Transforms must be unique. Outside of that approach, I am not sure how to accomplish what I am trying to do and the documentation doesn't cover this type of scenario. Do I need different models for different unit of measurement?

profile pictureAWS
Ryan
已提问 2 年前273 查看次数
1 回答
2
已接受的回答

Hi Jerkstore. Maybe this approach works for you? Each asset can set the Unit attribute to the right value so that the transform does what's needed.

https://docs.aws.amazon.com/iot-sitewise/latest/userguide/expression-conditional-functions.html

Enter image description here

profile pictureAWS
专家
Greg_B
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则