Tuesday
Hello,
After the user linked our application with Google Home, an unexpected issue occurred. Google Home is unable to find the devices, even though the devices are online and functioning normally. We have reviewed the backend logs, and the SYNC response returned correct data:
{
"payload": {
"agentUserId": "15cb1d6c66b44fc19cc4746243f02291",
"devices": [
{
"traits": [
"action.devices.traits.ColorSetting",
"action.devices.traits.Brightness",
"action.devices.traits.OnOff",
"action.devices.traits.Modes"
],
"otherDeviceIds": [
{
"deviceId": "10e6f5b891f3493f87733908b50054e3"
}
],
"customData": {
"userUuid": "15cb1d6c66b44fc19cc4746243f02291",
"proxy": false,
"aesKey": "yiTOrMxrssH98Wh5",
"devicePassword": "INwT5YblEyfL"
},
"type": "action.devices.types.LIGHT",
"deviceInfo": {
"swVersion": "3.12.15",
"model": "LK.light.A001577",
"hwVersion": "3.12.15",
"manufacturer": "AiDot"
},
"willReportState": true,
"name": {
"name": "Bed"
},
"attributes": {
"colorTemperatureRange": {
"temperatureMinK": 1800,
"temperatureMaxK": 6500
},
"colorModel": "hsv",
"commandOnlyColorSetting": false
},
"id": "10e6f5b891f3493f87733908b50054e3"
},
{
"traits": [
"action.devices.traits.ColorSetting",
"action.devices.traits.Brightness",
"action.devices.traits.OnOff",
"action.devices.traits.Modes"
],
"otherDeviceIds": [
{
"deviceId": "a383523e42f649eaa1209981f5746ee6"
}
],
"customData": {
"userUuid": "15cb1d6c66b44fc19cc4746243f02291",
"proxy": false,
"aesKey": "KgnUQbLSi5mtrsiu",
"devicePassword": "zbfUpG7aQila"
},
"type": "action.devices.types.LIGHT",
"deviceInfo": {
"swVersion": "3.12.15",
"model": "LK.light.A001577",
"hwVersion": "3.12.15",
"manufacturer": "AiDot"
},
"willReportState": true,
"name": {
"name": "Desk"
},
"attributes": {
"colorTemperatureRange": {
"temperatureMinK": 1800,
"temperatureMaxK": 6500
},
"colorModel": "hsv",
"commandOnlyColorSetting": false
},
"id": "a383523e42f649eaa1209981f5746ee6"
}
],
"requestId": "XXXXXXXXXXXXXX"
}
}
We asked the user to clear the Google Home app cache, but this did not resolve the issue. The problem persists. Could you explain if there is a specific mechanism in Google Home after linking that could cause this issue? How should we troubleshoot such problems?
Due to a network issue, the popup image displayed by Google Home was published. In summary, the popup message reads: "No compatible devices were found in your Aidot account." There are additional suggestions on how to resolve the issue, but since they are too long, I won’t paste them here. In any case, this is the main content displayed in the popup.
Thank you in advance!
Answered! Go to the Recommended Answer.
Tuesday
Thanks for sharing. The Modes trait require additional data within the attributes object, specifically the availableModes attribute. Without this, the SYNC response might be considered invalid by Google Home's system, leading to the "No compatible devices were found" error.
Tuesday
I used "X" as a placeholder because the actual "requestId" is a string of numbers. When I submitted the POST request, I received an error message indicating sensitive words, so I had to replace it with "X". What I want to convey is that the SYNC response data is correct.
Tuesday
Thanks for sharing. The Modes trait require additional data within the attributes object, specifically the availableModes attribute. Without this, the SYNC response might be considered invalid by Google Home's system, leading to the "No compatible devices were found" error.