RPC implementation of ago control home automation system