I want to manufacture a compact device that can control electrical appliances like fan and lights when installed inside a switchboard, with a smartphone as a hub. The device should be programmable and should be able to interact with other devices. The design should be robust and foolproof in terms of practical utility. Contact for further details. I have attached a file to showcase the outlook of device i have in mind.