"componentName" is empty value in resposne of IoT TwinMaker and Grafana integration

0

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" Enter image description here

[Grafana]

I entered it according to the settings below. Enter image description here

[My lambda response]

{
    "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.

Enter image description here

What the wrong?

How can I solve this problem?

已提問 2 年前檢視次數 268 次
1 個回答
0

Could you please confirm if you still this issue or were you able to figure out the problem? Based on the response from your lambda function, it should be working fine.

profile pictureAWS
已回答 1 年前

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

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

回答問題指南