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 an mDNS scan result.
For mDNS discovery, the scan data contains fields from the SRV and TXT
records advertised by the local device via
DNS-Based Service Discovery
(DNS-SD).
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.mdnsScanData;
// TXT key/value pairs for this device// Extract application-specific parametersconst localDeviceId = scanData.txt.myParameter;
...
};
Data payload returned with an mDNS scan result. For mDNS discovery, the scan data contains fields from the SRV and TXT records advertised by the local device via DNS-Based Service Discovery (DNS-SD).
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.mdnsScanData; // TXT key/value pairs for this device // Extract application-specific parameters const localDeviceId = scanData.txt.myParameter; ... };