Questions tagged with AWS IoT TwinMaker
Content language: English
Sort by most recent


This is my Grafana dashboard. I followed your tutorial in order to provision a thing in IoT Core, build an IoT Rule for Sitewise and simulate a telemetry for a device. As you can see in the Time Series Graph the data ingestion is correctly configured. But even if I added a model shader for the 3D object and a rule in Twin Maker I can't see any update (the rule should change the color of the car) on the Scene Viewer widget.


Can you help me with that?
Best regards.
**EDIT**:

This is the whole view of my Grafana Dashboard and as you can see the timeframe is correctly configured because I can see the live data in the linear graph widget.
I can't delete my workspace in AWS Twin Maker because I get the error "Workspace has syncJobs. Delete all resources in the workspace.". In the "Entity model sources" tab I have a IoT SiteWise source connected that is in "deleting" status. The "disconnect" button is unavailable. Can you help me with this?
Starting today, [AWS IoT TwinMaker](https://aws.amazon.com/iot-twinmaker/) will support asset synchronization with [AWS IoT SiteWise](https://aws.amazon.com/iot-sitewise/), making it easier for AWS IoT SiteWise customers to bring their assets and asset models into AWS IoT TwinMaker.
Now, customers can start using AWS IoT TwinMaker without having to recreate AWS IoT SiteWise assets and asset models, and any updates will be automatically synced. There is no charge for entities synced from AWS IoT SiteWise. If synced assets and asset models are no longer needed, customers can simply delete the sync setup.
Customers can enable the feature in the AWS IoT TwinMaker console by providing a workspace to host assets and asset models from AWS IoT SiteWise. To learn more, visit our [developer guide](https://docs.aws.amazon.com/iot-twinmaker/latest/guide/tm-sw-asset-sync.html) and [API reference](https://docs.aws.amazon.com/iot-twinmaker/latest/apireference/Welcome.html).
This feature is available in the following AWS Regions: US East (N. Virginia), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Europe (Frankfurt), and Europe (Ireland).
I'm using Grafana Bitname image from catalog aws ec2 and I have configured Grafana and roles, policies to access Twinmaker and vizualize fetures. But I have this error on the screen below. Someone would have idea how figure out this?

Hi,
In Twinmaker we can define a link for a tag.
On the Grafana plugin, if we click on the tag then it redirects to the link in a new tab of the browser.
Is possible to configure the link to redirect directly in the same page (not in a new tab) of the brower?
Thank you
Hi,
In the configuration of the TwinMaker plugin in Grafana, we can define the scene which will be display into the dashboard.
Is possible the use a variable of the dashboard, to be able to select the scene dynamically?
Thank you
AWS IoT TwinMaker makes it easier to create digital twins of real-world systems such as buildings, factories, industrial equipment, and production lines. Now with the feature launch of TwinMaker Knowledge Graph, customers can query their digital twins, contextualize data from disparate data sources, and gain deeper insights into their real-world systems. As a result, customers can save time performing functions like root cause analysis and drive more informed business decisions.
To build a TwinMaker Knowledge Graph, customers create entities which are virtual representations of real-world systems, and then define the physical or logical relationships between those entities. Customers can then query the TwinMaker Knowledge Graph with open source query language partiQL. For example, customers can query all entities with name containing “pump”, or find all entities connected to an entity of interest. The query capability enables customers to perform functions like root cause analysis and predict the impacted entities and systems when changes are introduced into their physical systems. This can improve operational efficiency and reduces time to resolve issues. With data contextualized from disparate data sources, customers can drive informed decisions and anticipate where issues are likely to occur in the future. To learn more, visit our developer guide and API reference.
TwinMaker Knowledge Graph is generally available, and you can use it in the following AWS Regions: US East (N. Virginia), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Europe (Frankfurt), and Europe (Ireland).
For pricing information, please visit AWS IoT TwinMaker pricing page. To learn more visit the AWS IoT TwinMaker product page. Use the AWS Management Console to get started, or visit our GitHub repository for a sample digital twin application.
Today, we released version 1.3.0 for [AWS IoT TwinMaker Grafana plugin](https://grafana.com/grafana/plugins/grafana-iot-twinmaker-app/?tab=changelog). In version 1.3.0, we updated [Property filter](https://docs.aws.amazon.com/iot-twinmaker/latest/apireference/API_PropertyFilter.html) to support INTEGER, DOUBLE, LONG, BOOLEAN, and STRING property data types in queries that use the Get Property Value History API. This feature enhancement requires updating the existing query configurations. if you are hosting your own Grafana instance, we recommend updating to this new version and re-configuring the property filters [2] for the following three queries - Get Property Value History by Entity, Get Property Value History by Component Type, and Get Alarms.
Failure to update your queries may result in errors, such as "could not read query: json: cannot unmarshal string into Go struct field TwinMakerPropertyFilter.filter.value of type models.TwinMakerFilterValue ".
Please connect with [AWS Support](https://aws.amazon.com/premiumsupport/knowledge-center/get-aws-technical-support/), for any questions.
Am new to IoT Twin Maker. I have an entity that has a component with properties humidity and temperature. Am able to test this component and am getting results successfully.
I need to write a Lambda function that will ready this JSON, do a formatting and expose the JSON via REST API. What steps should I follow? Any sample code would help.
I tried creating a lambda function as
response = client.get_property_value(
componentName='string',
componentTypeId='string',
entityId='string',
selectedProperties=[
'string',
],
workspaceId='string'
)
Am getting the error "An error occurred (ValidationException) when calling the GetPropertyValue operation: No attributePropertyValueReaderByEntity connector defined for a query within entity : <<entityID>>
Am sure am missing something, please guide.
I would like to know how to change in real time, based on the response of the lambda associated with the component, the type of icon of an associated TAG in the 3D model.
This is my component:
```
{
"operationStatus": {
"definition": {
"dataType": {
"type": "STRING"
},
"isTimeSeries": false,
"isRequiredInEntity": false,
"isExternalId": false,
"isStoredExternally": true,
"isImported": false,
"isFinal": false,
"isInherited": false
}
}
}
```
This is lambda response:
```
Response
{
"propertyValues": {
"operationStatus": {
"propertyReference": {
"propertyName": "operationStatus",
"entityId": "sandbox-entity",
"componentName": "sandbox-component",
"externalIdProperty": {
"operationStatus": "WARNING"
}
},
"propertyValue": {
"stringValue": "WARNING"
}
}
}
}
```
this is tag config and rule


Tag in my Grafana TwinMaker plugin never change icon:


Thank you.
Hi.
I'm started to explore AWS Twinmaker and as I see the dashboards are updated based on queries that are executed at a given frequency. e.g. one time every 10 seconds.
I want to build a dashboard that displays real-time data but the dashboard should update the status of an entity whenever the data source changes instead of polling for data every x amount of seconds.
Similar to when an app is subscribed to a data source. If the data source changes, the app is notified and updates the interface with the new data. instead of invoking a function every x seconds to see if the data has changed.
Question 1.
Is this something that can be achieved using AWS Twinmaker, Or with a combination of Twinmaker and other AWS services ?
Question 2.
If I have a Lambda function that fetch data from a time series data source. The cost of invoking that function is additional to the Twinmaker cost?
thanks
Is it possible to show dynamic/real-time text information on the scene in AWS IoT Twinmaker? I could not figureout if this is possible and if so how. Any pointers here would be very helpful.
Also, additionally I am looking to see if it is possible to build some preset views for the scene - like top view, front view etc. of the twin model. Please suggest