Hello, I am quite new to Alexa skill development and still in the process of understanding how it works in detail. As far as I know the data flow to control e.g. a hue lamp in my house is as following:
- The Echo sends my spoken words to the Alexa Cloud Service
- The Alexa Cloud Service analyses the words and sends an intent to the Hue Cloud Service.
- The Hue Cloud Service sends a request to my Hue Bridge at home.
- The Hue Bridge switches the lamp.
My question is, how does the Hue Cloud Service know the public IP address of my Hue Bridge to communicate? (This IP address changes at least every 24h.)
As far as I understand, it will not be able get the IP address from the request sent by the Echo. So is it up to the Hue Cloud Service to get it somehow? E.g. the Hue Bridge autonomously sends this information regularily to the Hue Cloud Service in advance? Or does it work completely different?
I want to know this as I would like to create a custom skill to control one of my custom devices.
Thanks in advance,