Understand the Echo and Fauxmo interaction model
masterThe interaction between an Amazon Echo and Fauxmo follows a specific discovery and setup lifecycle:
- Discovery: The Echo broadcasts a UDP 'device search' to
239.255.255.250:1900. - Response: Fauxmo responds via UDP with the
LOCATIONof thesetup.xmlendpoint for each configured device. - Request: The Echo performs an HTTP GET request to the provided
LOCATION(TCP) to retrieve thesetup.xmlfile. - Setup: Fauxmo responds with the device's setup information in XML format via HTTP.
- Completion: Alexa announces the discovered devices, and they appear in the Alexa webapp.