A Wi-Fi smart home power
supply management system based on
Android APP and a control method thereof belong to the technical field of smart home, and are characterized in that a separate socket is controlled by an APP to realize power
supply management of smart home. The control method is: (1) design the APP interface, set the initial value, and execute (2); (2) control the socket on the APP interface, set t, send the key
byte and t from the
mobile phone Wi‑Fi, and execute (3) ; (3) Whether it is far, yes, execute (4), no, execute (5); (4) Wi‑Fi receives the
signal sent by the
router, determine the output, execute (6); (5) Wi‑Fi receives the
mobile phone The
signal sent, determine the output, execute (6); (6) whether the output is low, yes, execute (7), no, execute (8); (7) the
relay is turned on, execute (9); (8) )
Relay is turned off, execute (9); (9) whether t ends, yes, output reverse, execute (10), no, wait for t to end, execute (10); (10) Whether there is a new command, yes, return (3), No, execute (11); (11) The
system stops.