glenndehaan / ikea-tradfri-coap-docs

How can you communicate to your ikea tradfri gateway/hub through coap-client
MIT License
189 stars 21 forks source link

aws connection #14

Closed 0xlee closed 4 years ago

0xlee commented 4 years ago

Hi,

I discovered that the google assistance can turn on/off bulbs even if the wifi is off. And the outside internet shouldn't have a direct connection into my home network. So there seems to exist a connection from the gateway into internet. Otherwise I cannot think of how the google assistance can access my bulbs.

I found out that there is a amazonaws url in the coaps://$TF_GATEWAYIP:5684/15011/15012 | Gateway details endpoint. Did you by chance had a look?

Best Dongha

glenndehaan commented 4 years ago

Hi @d1ee,

Sorry for the late reaction. So I think the gateway is polling instructions from the AWS/Google Assistant url. That should mean that there isn't a direct connection between Google/AWS to your network. So I think after you setup the connection inside the app. The gateway will poll any changes from the provided URL by Google or AWS