1 Answer
- Newest
- Most votes
- Most comments
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
Relevant content
- asked a year ago
- asked 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
Hi Greg, yes that worked perfectly! Thank you for the suggestion. For anyone who might be looking for the same temperature conversion, don't forget to add the 32 into the equation - if(eq(Unit, "C"),(9/5*Raw Temperature)+32,Temperature)
Very relevant new announcement: https://aws.amazon.com/about-aws/whats-new/2022/09/aws-iot-sitewise-supports-definition-asset-measurement-units-asset-level/