Questions tagged with AWS IoT TwinMaker
Content language: English
Sort by most recent
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
Hi All,
We have an App and have a requirement of streaming Mobile camera video on to a Dashboard in AWS like Grafana. I am not sure how to achieve this, we are using kinesis video stream for streaming from our React App. how can I make the video stream on to Grafana Dashboard. I looked at Twin maker video integration in here: https://docs.aws.amazon.com/iot-twinmaker/latest/guide/video-integration.html but it is for green grass having gateway installed.
can Anyone share their knowledge here,
Thank you.
Hello!
I'm trying to use IoT TwinMaker and grafana following user guide.
I was organized component type, entity and entity-component and I use lambda function.
I think my lambda function is normal.
But "componentName" is empty value in grafana response.
**[Component Type]**
I was register "com.example.timestream-telemetry" and "com.example.cookiefactory.alarm".
with my lambda function.
**[Entity]**
I add "Mixer_2" and "AlarmComponent"

**[Grafana]**
I entered it according to the settings below.

**[My lambda response]**
```json
{
"propertyValues": [
{
"entityPropertyReference": {
"entityId": "Mixer_2_06ac63c4-d68d-4723-891a-8e758f8456ef",
"componentName": "AlarmComponent",
"propertyName": "alarm_status"
},
"values": [
{
"time": "2022-09-28T11:25:00Z",
"value": {
"stringValue": "ACTIVE"
}
}
]
}
]
}
```
**[Grafana]**
"componentName" is empty value in my grafana response.

What the wrong?
How can I solve this problem?
I am using the sitewise connector for Twinmaker (com.amazon.iotsitewise.connector), which I added to an existing Twinmaker entity. I can see all the properties from the Sitewise entity model showing in the Twinmaker console as properties.
When pushing timeserie data in Sitewise, I can see the values being updated in Sitewise. Here is an example with the PredictionScore field :

Since, I have the sitewise connector attached, shouldn't I see that value in Twinmaker also? Isn't the connector supposed to update / sync that value from sitewise to twinmaker ?

I would like to know the AWS certification learning path to become an expert in IOT predictive maintenance. Thank you.
[AWS IoT TwinMaker](https://aws.amazon.com/iot-twinmaker/) is launching enhancements to simplify our customers’ experience as they scale their digital twins and build data connectors. AWS IoT TwinMaker makes it easier for developers to create digital twins of real-world systems such as buildings, factories, industrial equipment, and production lines. Digital twins are virtual representations of physical systems that can be regularly updated with real-world data to mimic the structure, state, and behavior of the systems they represent to drive business outcomes.
Prior to this launch, customers had to submit a request in order to support more than 1k entities per workspace. To make it easier for our customers to scale their digital twins, we have increased our service quota to support up to 10k entities per workspace. You can review the new AWS IoT TwinMaker service quotas [here](https://docs.aws.amazon.com/general/latest/gr/iot-twinmaker.html).
We have also have created a [new guide](https://docs.aws.amazon.com/iot-twinmaker/latest/guide/time-series-data-connectors.html) to provide customers detailed instructions on developing time-series data connectors and how to connect that data to their digital twins faster. Lastly, we added a new built-in component for Amazon Kinesis Video Streams to help customers quickly connect and easily steam video to their digital twin. To learn more about the built-in Kinesis Video Streams component, please refer to [this section](https://docs.aws.amazon.com/iot-twinmaker/latest/guide/twinmaker-component-types.html) in our developer guide.
Before getting started with AWS IoT TwinMaker, customers can experience a demo of a cookie factory digital twin dashboard with Amazon Managed Grafana [here](https://play.grafana.org/d/y1FGfj57z/aws-iot-twinmaker-mixer-alarm-dashboard?orgId=1). To build this cookie factory digital twin dashboard, you can use the [AWS IoT TwinMaker Getting Started example](https://github.com/aws-samples/aws-iot-twinmaker-samples) on GitHub to access all required resources and code. To learn more, please visit the [developer guide](https://docs.aws.amazon.com/iot-twinmaker/latest/guide/what-is-twinmaker.html).
Hi, i have a problem regarding the visualization of icons in the aws managed grafana dashboard. I have setup a color rule in iot twinmaker which should change the color of a tag (the icon) when a certain state is met. The rule definitely works, because when I setup the rule to just change to a different icon, I can see the change in the scene viewer in the grafana dashboard. But if setup a color in a state, the icons are just invisible.


I hope this is the right place to ask.. If you need more context, please ask.
Hi! Any ideas on fixing the "Load 3D Scene failed with Network Failure" when trying to load up my scene into Grafana from Twin Maker?
Can u access the iot twinmaker knowledge graph similar to accessing a knowledge graph in neptune. Such as via cypher query?
Hello!
I'm currently trying to create a dashboard where one component of an entity has multiple property definitions of the list type.
My property definitions and lambda function seem to be operating as intended. Using the "Test" functionality in the AWS IoT TwinMaker console shows me the following:
```
{
"assetId": {
"propertyReference": {
"componentName": "master_task_list",
"entityId": "AllTasks",
"propertyName": "assetId"
},
"propertyValue": {
"stringValue": "master_task_list"
}
},
"assetType": {
"propertyReference": {
"componentName": "master_task_list",
"entityId": "AllTasks",
"propertyName": "assetType"
},
"propertyValue": {
"stringValue": "task_list"
}
},
"robotIdList": {
"propertyReference": {
"componentName": "master_task_list",
"externalIdProperty": {},
"entityId": "AllTasks",
"propertyName": "robotIdList"
},
"propertyValue": {
"listValue": [
{
"stringValue": "3e2b4d1d-a86f-4f7b-a436-46e7653f7fef"
}
]
}
},
"siteArn": {
"propertyReference": {
"componentName": "master_task_list",
"entityId": "AllTasks",
"propertyName": "siteArn"
},
"propertyValue": {
"stringValue": "arn:aws:iotroborunner:us-east-1:<accountId>:site/<siteId>"
}
},
"stateList": {
"propertyReference": {
"componentName": "master_task_list",
"externalIdProperty": {},
"entityId": "AllTasks",
"propertyName": "stateList"
},
"propertyValue": {
"listValue": [
{
"stringValue": "ACTIVE"
}
]
}
},
"taskIdList": {
"propertyReference": {
"componentName": "master_task_list",
"externalIdProperty": {},
"entityId": "AllTasks",
"propertyName": "taskIdList"
},
"propertyValue": {
"listValue": [
{
"stringValue": "0ed00afe-c55f-4311-9468-4dca01b1625d"
}
]
}
},
"waypointsList": {
"propertyReference": {
"componentName": "master_task_list",
"externalIdProperty": {},
"entityId": "AllTasks",
"propertyName": "waypointsList"
},
"propertyValue": {
"listValue": [
{
"stringValue": "[(0, 0, 5), (40.529312, -74.626496, 5), (40.52904, -74.6267648, 5), (40.529152, -74.6268927, 5), (40.5291568, -74.6268862, 0)]"
}
]
}
}
}
```
Which tells me all the values are being reported correctly as their respective types.
However, when issuing a request from Grafana using the IoT TwinMaker data source, the query inspector asks for multiple properties, but only one comes back
The query:
```
{
"queries": [
{
"componentName": "master_task_list",
"entityId": "AllTasks",
"properties": [
"waypointsList",
"taskIdList",
"robotIdList",
"stateList"
],
"queryType": "GetPropertyValue",
"refId": "A",
"componentTypeId": "com.defuzzy.task_list",
"datasource": "AWS IoT TwinMaker",
"datasourceId": 3,
"intervalMs": 10000,
"maxDataPoints": 2738
}
],
"range": {
"from": "2022-04-26T22:54:24.962Z",
"to": "2022-04-27T04:54:24.962Z",
"raw": {
"from": "now-6h",
"to": "now"
}
},
"from": "1651013664962",
"to": "1651035264962"
}
```
The response
```
{
"results": {
"A": {
"frames": [
{
"schema": {
"name": "waypointsList",
"refId": "A",
"meta": {
"custom": {}
},
"fields": [
{
"name": "Value",
"type": "string",
"typeInfo": {
"frame": "string",
"nullable": true
}
}
]
},
"data": {
"values": [
[
"[(0, 0, 5), (40.529312, -74.626496, 5), (40.52904, -74.6267648, 5), (40.529152, -74.6268927, 5), (40.5291568, -74.6268862, 0)]"
]
]
}
}
]
}
}
}
```
Even if I only ask for one (different) property, I still only get one property back (`waypointsList` in this case).
Am I doing something wrong? This feels a little broken. Any help would be appreciated!
Today, we are announcing the general availability of [AWS IoT TwinMaker](https://aws.amazon.com/iot-twinmaker/), a service that makes it easier for developers to create digital twins of real-world systems such as buildings, factories, production lines, and equipment. Customers are increasingly adopting digital twins to make better operational and strategic decisions in industries such as smart buildings, manufacturing, construction, energy, power & utilities, and more. With AWS IoT TwinMaker you now have the tools you need to build digital twins to help you monitor and improve your industrial operations.
With AWS IoT TwinMaker, you can quickly get started creating digital twins of equipment, processes, and facilities by connecting data from different data sources without having to re-ingest or move the data to another location. You can use built-in data connectors for the following AWS services: [AWS IoT SiteWise](https://aws.amazon.com/iot-sitewise/) for equipment and time-series sensor data, and [Amazon Kinesis Video Streams](https://aws.amazon.com/kinesis/video-streams/) for video data. AWS IoT TwinMaker also provides a framework for you to create your own data connectors to use with other AWS or third-party data sources (such as [Amazon Timestream](https://aws.amazon.com/timestream/), Snowflake, and Siemens MindSphere). Then, you can easily access all digital twin data using the AWS IoT TwinMaker unified data access API to underlying data sources without needing to query each data source individually.
AWS IoT TwinMaker
AWS IoT TwinMaker lets you model your physical environment using entities (e.g. any physical asset or system like a furnace, an assembly line, or an entire factory) and its components (e.g. data connectors) and then saves you time by automatically creating a knowledge (or digital twin) graph that combines and understands the relationships among the connected data sources. As your built environment evolves, for example if you add new sources of data, you can easily update your model so your digital twin remains accurate and current.
Once the digital twin graph is created, you can then visualize the data in context of the physical environment. Using AWS IoT TwinMaker, you can import existing 3D models (such as CAD files, and point cloud scans) to compose and arrange 3D scenes of a physical space and its contents (e.g. a factory and its equipment) using simple 3D composition tools. To create a spatially aware visualization of your operations, you can then add interactive video and sensor data from connected data sources, insights from connected machine learning (ML) and simulation services, and equipment maintenance records and manuals. To help developers quickly build a web-based application for end users, such as plant operators and maintenance engineers, AWS IoT TwinMaker includes a plugin for Grafana and [Amazon Managed Grafana](https://aws.amazon.com/grafana/), a fully managed service for the open source dashboard and visualization platform from Grafana Labs.
AWS IoT TwinMaker is generally available in regions of US East (N. Virginia), US West (Oregon), Asia Pacific (Singapore), Asia Pacific (Sydney), Europe (Frankfurt), and Europe (Ireland), with more regions to come soon.
To learn more visit the AWS IoT TwinMaker product page, and to find an AWS Partner to help you on your digital twin journey, visit the AWS IoT TwinMaker [partner page](https://aws.amazon.com/iot-twinmaker/partners/). Use the [AWS Management Console](https://console.aws.amazon.com/iottwinmaker) to get started, or visit our [GitHub repository](https://github.com/aws-samples/aws-iot-twinmaker-samples) for a sample digital twin application.
Hello!
I've been trying to use IoT RoboRunner + IoT TwinMaker + AWS Grafana to create a dashboard.
As one of the most basic things to show is a list of the current workers/robots.
Take the following `componentTypes`:
(parent, to be inherited from, to keep the lambda function common)
Ideally, the lambda function would be able to see the event, and the associated `telemetryAssetId`, and reply with an appropriate payload.
```json
{
"componentTypeId": "com.example.lambda_reader",
"workspaceId": "MyWorkspace",
"functions": {
"dataReader": {
"implementedBy": {
"lambda": {
"arn": "arn:aws:lambda:us-east-1:<account>:function:RoboRunnerWorkerInfo"
}
}
}
},
"propertyDefinitions": {
"telemetryAssetId": {
"dataType": {
"type": "STRING"
},
"isExternalId": true,
"isStoredExternally": false,
"isTimeSeries": false,
"isRequiredInEntity": true
}
}
}
```
and the child, which inherits from the above
```
{
"componentTypeId": "com.example.myworkspace.worker_list",
"extendsFrom": [
"com.example.lambda_reader"
],
"propertyDefinitions": {
"telemetryAssetId": {
"defaultValue" : { "stringValue": "WorkerList" }
},
"workerList": {
"dataType": {
"type": "LIST",
"netstedType": {
"type": "STRING"
}
},
"isTimeSeries": false,
"isStoredExternally": true
}
}
}
```
When adding these two `componentType`s, the latter shows up as abstract unless `isTimeSeries` is set to `true`. Is this intended behavior? Seems like I should be able to do this?
Any help is appreciated!