Design of a distributed system using mobile devices and workflow management for measurement and control of a smart home and health | IEEE Conference Publication | IEEE Xplore