I built an Alexa skill and it worked on multiple regions with our light devices.
As we know, while the state of a device changes, our server should send a ChangeReport event to Alexa, and there are 3 endpoints for each region:
- North America: https://api.amazonalexa.com/v3/events
- Europe: https://api.eu.amazonalexa.com/v3/events
- Far East: https://api.fe.amazonalexa.com/v3/events
I'm confused cause I don't know each device bought by which region's user.
We can fix it by recording customers's region when they're discovering devices.
As we know, each region linked to a lambda function, do as these two steps:
locale = eu