跳至內容

AWS Twinmaker Tag not changing with rule

0

Hi all, my twinmaker scene rule for some reason isnt working although I believe I have setup the bindings correctly. The data value itself does update. See below. I'm using sitewise connector when connecting the data sources.

Grafana Twinmaker Sceneviewer Twinmaker scene and rule Sitewise property

已提問 3 個月前檢視次數 44 次

1 個回答
1

Based on the information provided, it appears you're experiencing an issue where your AWS IoT TwinMaker scene rule isn't updating as expected, even though the data value itself is updating correctly through the SiteWise connector.

One common issue that can cause rules to fail is a data type mismatch between your rule configuration and the target asset property. When using AWS IoT SiteWise as a data source, ensure that the data type specified in your rule matches the data type of the SiteWise asset property.

For example, if your SiteWise asset property is defined as a DOUBLE type, but your rule is configured to use an Integer data type, the rule will not work correctly. You should verify that:

  1. The data type in your TwinMaker scene rule binding matches the data type of the corresponding SiteWise asset property
  2. If the property is a DOUBLE, ensure you're not inadvertently treating it as an Integer in your rule configuration
  3. Check that the value field in your rule uses the correct type specification

Review your rule bindings and compare them against the actual data types defined in your SiteWise asset properties to ensure they align properly. This mismatch is a frequent cause of rules failing to trigger or update correctly even when the underlying data is changing.
Sources
Troubleshoot an AWS IoT SiteWise rule action - AWS IoT SiteWise

已回答 3 個月前

專家

已審閱 3 個月前

  • Can confirm that in Sitewise the data type for current is double, however rule not working. When bound in annotation the live data updates.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。