Это ответ на синхронизацию:
{
"requestId": "5149816291025266974",
"payload": {
"agentUserId": "XXXXHOME45",
"devices": [
{
"id": "HOME-34002c000a47363339343638-11",
"name": {
"name": "Bedroom 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.DOOR",
"traits": [
"action.devices.traits.OpenClose"
]
},
{
"id": "HOME-34002c000a47363339343638-12",
"name": {
"name": "Bedroom 2"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.DOOR",
"traits": [
"action.devices.traits.OpenClose"
]
},
{
"id": "HOME-34002c000a47363339343638-13",
"name": {
"name": "Bathroom"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.DOOR",
"traits": [
"action.devices.traits.OpenClose"
]
},
{
"id": "HOME-34002c000a47363339343638-14",
"name": {
"name": "Balcony"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.DOOR",
"traits": [
"action.devices.traits.OpenClose"
]
},
{
"id": "HOME-3e0030000b47363339343638-19",
"name": {
"name": "Window 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.WINDOW",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Living Room"
},
{
"id": "HOME-3e0030000b47363339343638-20",
"name": {
"name": "Window 2"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.WINDOW",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Living Room"
},
{
"id": "HOME-3e0030000b47363339343638-21",
"name": {
"name": "Window 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.WINDOW",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Master Bedroom"
},
{
"id": "HOME-3e0030000b47363339343638-22",
"name": {
"name": "Window 2"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.WINDOW",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Master Bedroom"
},
{
"id": "HOME-330035000a47363339343638-17",
"name": {
"name": "Blind 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.BLINDS",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Master Bedroom"
},
{
"id": "HOME-3c002b000747363339343638-23",
"name": {
"name": "Window 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.WINDOW",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Second Bedroom"
},
{
"id": "HOME-3c002b000747363339343638-24",
"name": {
"name": "Window 2"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.WINDOW",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Second Bedroom"
},
{
"id": "HOME-330035000a47363339343638-28",
"name": {
"name": "Blind 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.BLINDS",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Second Bedroom"
},
{
"id": "HOME-330035000a47363339343638-18",
"name": {
"name": "Blind 2"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.BLINDS",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Second Bedroom"
},
{
"id": "HOME-34002c000a47363339343638-15",
"name": {
"name": "Blind 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.BLINDS",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Living Room"
},
{
"id": "HOME-34002c000a47363339343638-16",
"name": {
"name": "Blind 2"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.BLINDS",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Living Room"
},
{
"id": "HOME-34002c000a47363339343638-10",
"name": {
"name": "Front Door"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.DOOR",
"traits": [
"action.devices.traits.OpenClose"
]
},
{
"id": "HOME-340031000d47363330353437-133",
"name": {
"name": "Stove"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.OUTLET",
"traits": [
"action.devices.traits.OnOff"
]
}
]
}
Вот скриншот того, как я произносил команды.Как видите, команда окна получает сообщение «не получил ответ», НО все окна действительно закрываются в реальной жизни.Также я могу индивидуально контролировать окна.
РЕДАКТИРОВАТЬ: Хорошо, я изменил свое открытие с WINDOW на AWNING, и это заставило его работать.Похоже, что-то происходит с типом оконного устройства?Я снова прикреплю ответ об обнаружении.
{
"requestId": "5149816291025266974",
"payload": {
"agentUserId": "XXXXHOME45",
"devices": [
{
"id": "HOME-34002c000a47363339343638-11",
"name": {
"name": "Bedroom 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.DOOR",
"traits": [
"action.devices.traits.OpenClose"
]
},
{
"id": "HOME-34002c000a47363339343638-12",
"name": {
"name": "Bedroom 2"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.DOOR",
"traits": [
"action.devices.traits.OpenClose"
]
},
{
"id": "HOME-34002c000a47363339343638-13",
"name": {
"name": "Bathroom"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.DOOR",
"traits": [
"action.devices.traits.OpenClose"
]
},
{
"id": "HOME-34002c000a47363339343638-14",
"name": {
"name": "Balcony"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.DOOR",
"traits": [
"action.devices.traits.OpenClose"
]
},
{
"id": "HOME-3e0030000b47363339343638-19",
"name": {
"name": "Window 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.AWNING",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Living Room"
},
{
"id": "HOME-3e0030000b47363339343638-20",
"name": {
"name": "Window 2"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.AWNING",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Living Room"
},
{
"id": "HOME-3e0030000b47363339343638-21",
"name": {
"name": "Window 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.AWNING",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Master Bedroom"
},
{
"id": "HOME-3e0030000b47363339343638-22",
"name": {
"name": "Window 2"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.AWNING",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Master Bedroom"
},
{
"id": "HOME-330035000a47363339343638-17",
"name": {
"name": "Blind 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.BLINDS",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Master Bedroom"
},
{
"id": "HOME-3c002b000747363339343638-23",
"name": {
"name": "Window 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.AWNING",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Second Bedroom"
},
{
"id": "HOME-3c002b000747363339343638-24",
"name": {
"name": "Window 2"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.AWNING",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Second Bedroom"
},
{
"id": "HOME-330035000a47363339343638-28",
"name": {
"name": "Blind 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.BLINDS",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Second Bedroom"
},
{
"id": "HOME-330035000a47363339343638-18",
"name": {
"name": "Blind 2"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.BLINDS",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Second Bedroom"
},
{
"id": "HOME-34002c000a47363339343638-15",
"name": {
"name": "Blind 1"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.BLINDS",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Living Room"
},
{
"id": "HOME-34002c000a47363339343638-16",
"name": {
"name": "Blind 2"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.BLINDS",
"traits": [
"action.devices.traits.OpenClose"
],
"roomHint": "Living Room"
},
{
"id": "HOME-34002c000a47363339343638-10",
"name": {
"name": "Front Door"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.DOOR",
"traits": [
"action.devices.traits.OpenClose"
]
},
{
"id": "HOME-340031000d47363330353437-133",
"name": {
"name": "Stove"
},
"willReportState": true,
"deviceInfo": {
"manufacturer": "XXXX"
},
"customData": {
"device_class": "XXXX",
"device_id": "XX",
"property_id": XX
},
"type": "action.devices.types.OUTLET",
"traits": [
"action.devices.traits.OnOff"
]
}
]
}
Так что все точно так же, за исключением того, что я изменил тип устройства, и он начал работать.