segue o fluxo, só importar para se node red.
[
{
"id": "9fb67dd519548497",
"type": "alexa-remote-event",
"z": "a8ba7a2ae7c9e72b",
"name": "",
"account": "3b4ade4839d879d9",
"event": "ws-device-activity",
"x": 210,
"y": 180,
"wires": [
[
"10bc217c4acb054c",
"e6655adabf96ad99"
]
]
},
{
"id": "10bc217c4acb054c",
"type": "switch",
"z": "a8ba7a2ae7c9e72b",
"name": "",
"property": "payload.data.utteranceType",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "WAKE_WORD_ONLY",
"vt": "str"
},
{
"t": "eq",
"v": "ASR_TIMEOUT",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 410,
"y": 160,
"wires": [
[
"b26d569c22aa1d57"
],
[
"41583b18492dd54c"
]
]
},
{
"id": "214e98eb478da9a5",
"type": "api-call-service",
"z": "a8ba7a2ae7c9e72b",
"name": "Liga a FITA LED",
"server": "9ec8b072.73f62",
"version": 5,
"debugenabled": false,
"domain": "light",
"service": "turn_on",
"areaId": [],
"deviceId": [
"97d0573f23aba6e75c49fefc44312117"
],
"entityId": [],
"data": "",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 730,
"y": 140,
"wires": [
[]
]
},
{
"id": "fc97f45868601a23",
"type": "api-call-service",
"z": "a8ba7a2ae7c9e72b",
"name": "Liga a FITA LED",
"server": "9ec8b072.73f62",
"version": 5,
"debugenabled": false,
"domain": "light",
"service": "turn_off",
"areaId": [],
"deviceId": [
"97d0573f23aba6e75c49fefc44312117"
],
"entityId": [],
"data": "",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 730,
"y": 220,
"wires": [
[]
]
},
{
"id": "b26d569c22aa1d57",
"type": "template",
"z": "a8ba7a2ae7c9e72b",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "on",
"output": "str",
"x": 540,
"y": 160,
"wires": [
[
"214e98eb478da9a5"
]
]
},
{
"id": "41583b18492dd54c",
"type": "template",
"z": "a8ba7a2ae7c9e72b",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "off",
"output": "str",
"x": 540,
"y": 200,
"wires": [
[
"fc97f45868601a23"
]
]
},
{
"id": "e6655adabf96ad99",
"type": "switch",
"z": "a8ba7a2ae7c9e72b",
"name": "",
"property": "payload.data.voiceHistoryRecordItems[0].recordItemType",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "CUSTOMER_TRANSCRIPT",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 410,
"y": 200,
"wires": [
[
"41583b18492dd54c"
]
]
},
{
"id": "3b4ade4839d879d9",
"type": "alexa-remote-account",
"name": "Diego",
"authMethod": "proxy",
"proxyOwnIp": "192.168.100.57",
"proxyPort": "3456",
"cookieFile": "/config/senha",
"refreshInterval": "1",
"alexaServiceHost": "pitangui.amazon.com",
"amazonPage": "amazon.com.br",
"acceptLanguage": "pt-BR",
"onKeywordInLanguage": "on",
"userAgent": "",
"useWsMqtt": "on",
"autoInit": "on"
},
{
"id": "9ec8b072.73f62",
"type": "server",
"name": "Home Assistant",
"version": 4,
"addon": true,
"rejectUnauthorizedCerts": true,
"ha_boolean": "y|yes|true|on|home|open",
"connectionDelay": true,
"cacheJson": true,
"heartbeat": false,
"heartbeatInterval": 30,
"areaSelector": "friendlyName",
"deviceSelector": "friendlyName",
"entitySelector": "friendlyName",
"statusSeparator": "at: ",
"statusYear": "hidden",
"statusMonth": "short",
"statusDay": "numeric",
"statusHourCycle": "h23",
"statusTimeFormat": "h:m"
}
]