Google Home Certification – Fix on Device Integration and Token Management Fixes

Job ID: 39593599

Budget: ₹1,500 – ₹12,500 INR

You’ll get full remote access to backend and logs.
Note: Only experienced Google Smart Home developers should bid only INDIAN developers preferred

1. Device Type Check Failed
Error: Selected device types (e.g., LIGHT) don’t match expected types: BLINDS, FAN, LIGHT, SCENE, SWITCH.


Confirm SYNC payload reflects these canonical values.

2. Offline State Not Reported
Error: Device state not changed to online: false within 5 minutes after making offline.

Fix:

Detect hub/device disconnection (e.g., via MQTT/heartbeat).

Call reportStateAndNotification() with:

Ensure deviceId and agentUserId match those in SYNC.

3. Refresh Token Rotation Issue
Error: Old refresh token is revoked immediately after new one is issued.

Fix:

Allow both old and new refresh tokens to be valid temporarily (e.g., 15 mins).

Only invalidate old token after new one is used by Google.
Related categories: Node.js MQTT OAuth Google Cloud Platform