Technology: Cloud to devices commands

Hello everybody,

I have a view questions about zhe technology.

How are the commands sent from the cloud to the individual devices? For example, Turn on the light at 10 o’clock. Where are the settings saved? In the cloud or on the device? How are the commands sent thru my router?

Many Thanks
Egmont

Schedules are saved in the cloud. the command would be sent from the cloud to your router when the time arrived.

OK, but how? I didn`t open any port on my router.
Which protocol is used? Are the devices allways conntected to the cloud?

The device keeps a login session to the cloud; this could be done over UDP with heartbeats, or over TCP connections. As long as the session is active, the cloud can send instructions to the device whenever needed, either when you adjust lighting status via APPs or when any scheduled task is fired.

1 个赞

Thanks. Thats what I wanted to know :grinning: