How do the Control Hub and sub-devices work with the App?

Solution:
① The sensor uses ZigBee wireless signal to communicate with the Mi Control Hub.
②The Mi Control Hub responds according to the signal it receives.
③The wireless router connected to the Control Hub then transmits this response to the cloud.
④Information that the cloud receives is then transmitted to the App.