The Internet of Things on AWS – Official Blog
Find runtime errors in AWS IoT Events detector models using type checking
Customers use AWS IoT Events detector models to describe equipment states and the events that affect these states. A detector model in AWS IoT Events contains expressions written in the AWS IoT Events expression language. An expression can have one of four primitive data types: integer, string, decimal, or Boolean. By checking your expressions for correct […]
How to troubleshoot an AWS IoT Events detector model
AWS IoT Events is a managed service that makes it easy to detect and respond to events from IoT devices. The detector model in AWS IoT Events monitors equipment for events and triggers actions. Finding issues with the detector model before its use is crucial. This blog introduces a troubleshooting feature to find issues with your detector model without using it.
![Figure showing the results from analyzing the detector model in the AWS IoT Events console. The results include a warning for data types used in your detector model. The warning message is "Incompatible data types [Boolean, String] used with $variable.resetMe. This may lead to a runtime error."](https://d2908q01vomqb2.cloudfront.net/f6e1126cedebf23e1463aee73f9df08783640400/2021/04/27/HVAC-detector-model-analysis-warning-from-AWS-IoT-Events-console-1-1024x190.png)