Posted On: Jul 15, 2021
AWS IoT SiteWise is a managed service that makes it easy to collect, store, organize and monitor data from industrial equipment at scale to help you make better, data-driven decisions.
Today, we are excited to announce three new enhancements to AWS IoT SiteWise transforms and formula expressions, to allow users greater flexibility in monitoring their IoT assets in near real-time.
AWS IoT SiteWise now supports transforms containing more than one variable. AWS IoT SiteWise calculates a new transformed data point each time any of the input properties receives a new value. For example, to monitor parts quality in near real-time you can now create a transform with multiple variables: Good_Count and Bad_Count, which count the number of good parts and bad parts produced respectively. The transform outputs "Caution" or "Normal" based on the fraction of bad parts produced:
if(Bad_Count / (Good_Count + Bad_Count) > 0.1, "Caution", "Normal")
For more information, and additional examples of transforms with multiple variables see the documentation on transforming data.
AWS IoT SiteWise now also supports additional string functions such as the format() and join() functions which lets you define your own strings with different formats. For example, you can specify the number of decimal places for a numeric value with format("%.1f", 3.14159265) which would provide an output of 3.1. With the join() function, you can combine several strings together with a delimiter with a join() function, for example, join("-", "Windfarm1", "Windturbine", "T1") would create the string Windfarm1-Windturbine-T1.
Additionally, AWS IoT SiteWise now supports new logic operations such as complex logic expressions and nested comparison operators. For example, the expression if (sensor_temperature>35 and sensor_temperature<50, "True", "False") or if (35<sensor_temperature<50, "True", "False") would produce True if the sensor_temperature is between 35 degrees Fahrenheit and 50 degrees Fahrenheit, and False if the sensor_temperature is less than 35 degrees Fahrenheit or more than 50 degrees Fahrenheit.
For a list of AWS IoT SiteWise supported regions, visit AWS Regions.