API used to make Apps and Device for home automation system