Google is transitioning third-party smart home account linking to be handled fully and independently within the Google Home app. Updates to your integration may be needed before September 30, 2026. For more information, see the Account linking migration guide.
Data payload returned with a UPnP scan result. For UPnP discovery,
the platform initiates an M-SEARCH request according to
Simple Service Discovery Protocol
(SSDP)
and returns devices or services matching your scan configuration.
The scan data contains the search response from the local device.
const identifyHandler = (request: IntentFlow.IdentifyRequest):
Promise<IntentFlow.IdentifyResponse> => {
// Obtain scan data from protocol defined in your scan configconst device = request.inputs[0].payload.device;
const scanData = device.upnpScanData;
// UUID advertised by the device over UPnPconst localDeviceId = scanData.deviceId;
// Path to the UPnP device descriptionconst deviceDescription = scanData.location;
...
};
Data payload returned with a UPnP scan result. For UPnP discovery, the platform initiates an
M-SEARCHrequest according to Simple Service Discovery Protocol (SSDP) and returns devices or services matching your scan configuration. The scan data contains the search response from the local device.const identifyHandler = (request: IntentFlow.IdentifyRequest): Promise<IntentFlow.IdentifyResponse> => { // Obtain scan data from protocol defined in your scan config const device = request.inputs[0].payload.device; const scanData = device.upnpScanData; // UUID advertised by the device over UPnP const localDeviceId = scanData.deviceId; // Path to the UPnP device description const deviceDescription = scanData.location; ... };