A. Colakovi´ccolakovi´c and M. Had?iali´chad?iali´c, Internet of Things (IoT): A review of enabling technologies, challenges, and open research issues, Comput. Netw, vol.144, pp.17-39, 2018.

. Yeelight, , 2018.

. Philips-hue, , 2018.

. Nest, , 2018.

L. Pescosolido, R. Berta, L. Scalise, G. M. Revel, A. D. Gloria et al., An IoT-inspired cloud-based web service architecture for e-Health applications, Proceedings of the 2016 IEEE International Smart Cities Conference (ISC2), pp.12-15, 2016.

N. Zhu, T. Diethe, M. Camplani, L. Tao, A. Burrows et al., Bridging e-Health and the Internet of Things: The SPHERE Project, IEEE Intell. Syst, vol.30, pp.39-46, 2015.

A. M. Rahmani, N. K. Thanigaivelan, T. N. Gia, J. Granados, B. Negash et al., Smart e-Health Gateway: Bringing intelligence to Internet-of-Things based ubiquitous healthcare systems, Proceedings of the 2015 12th Annual IEEE Consumer Communications and Networking Conference (CCNC), pp.826-834, 2015.

N. M. Khoi, S. Saguna, K. Mitra, and C. Ahlund, IReHMo: An efficient IoT-based remote health monitoring system for smart regions, Proceedings of the 2015 17th International Conference on E-health Networking, pp.563-568, 2015.

P. Verma and S. K. Sood, Fog Assisted-IoT Enabled Patient Health Monitoring in Smart Homes, IEEE Int. Things J, vol.5, pp.1789-1796, 2018.

M. S. Hossain and G. Muhammad, Emotion-Aware Connected Healthcare Big Data Towards 5G, IEEE Int. Things J, vol.5, pp.2399-2406, 2018.
DOI : 10.1109/jiot.2017.2772959

M. Killian, M. Zauner, and M. Kozek, Comprehensive smart home energy management system using mixed-integer quadratic-programming, Appl. Energy, vol.222, pp.662-672, 2018.
DOI : 10.1016/j.apenergy.2018.03.179

A. Singaravelan and M. Kowsalya, A novel minimum cost maximum power algorithm for future smart home energy management, J. Adv. Res, vol.8, pp.731-741, 2017.

H. Shareef, M. S. Ahmed, A. Mohamed, and E. A. Hassan, Review on Home Energy Management System Considering Demand Responses, Smart Technologies, and Intelligent Controllers, IEEE Access, vol.6, pp.24498-24509, 2018.
DOI : 10.1109/access.2018.2831917

URL : https://doi.org/10.1109/access.2018.2831917

L. Yu, T. Jiang, and Y. Zou, Online Energy Management for a Sustainable Smart Home with an HVAC Load and Random Occupancy, IEEE Trans. Smart Grid, 2018.

A. Basit, G. A. Sidhu, A. Mahmood, and F. Gao, Efficient and Autonomous Energy Management Techniques for the Future Smart Homes, IEEE Trans. Smart Grid, vol.8, pp.917-926, 2017.
DOI : 10.1109/tsg.2015.2504560

W. Li, T. Logenthiran, V. Phan, and W. L. Woo, Implemented IoT-Based Self-Learning Home Management System (SHMS) for Singapore, IEEE Int. Things J, vol.5, pp.2212-2219, 2018.
DOI : 10.1109/jiot.2018.2828144

E. J. Palacios-garcia, E. Rodriguez-diaz, A. Anvari-moghaddam, M. Savaghebi, J. C. Vasquez et al., Using smart meters data for energy management operations and power quality monitoring in a microgrid, Proceedings of the 2017 IEEE 26th International Symposium on Industrial Electronics (ISIE), pp.1725-1731, 2017.

F. J. Bellido-outeirino, J. M. Flores-arias, M. Linan-reyes, E. J. Palacios-garcia, and J. J. Luna-rodriguez, Wireless sensor network and stochastic models for household power management, IEEE Trans. Consum. Electron, vol.59, pp.483-491, 2013.

E. J. Palacios-garcia, J. M. Flores-arias, A. Chen, F. J. Quiles-latorre, and F. J. Bellido-outeirino, Home energy management system based on daily demand prediction and ZigBee network, Proceedings of the 2015 IEEE International Conference on Consumer Electronics (ICCE), pp.9-12, 2015.
DOI : 10.1109/icce.2015.7066428

T. D. Mendes, R. Godina, E. M. Rodrigues, J. C. Matias, and J. P. Catalão, Smart Home Communication Technologies and Applications: Wireless Protocol Assessment for Home Area Network Resources, vol.8, pp.7279-7311, 2015.
DOI : 10.3390/en8077279

URL : https://www.mdpi.com/1996-1073/8/7/7279/pdf

T. D. Mendes, R. Godina, E. M. Rodrigues, J. C. Matias, and J. P. Catalão, Smart and energy-efficient home implementation: Wireless communication technologies role, Proceedings of the 2015 IEEE 5th International Conference on Power Engineering, Energy and Electrical Drives (POWERENG), pp.377-382, 2015.
DOI : 10.1109/powereng.2015.7266346

E. M. Rodrigues, R. Godina, M. Shafie-khah, and J. P. Catalão, Experimental Results on a Wireless Wattmeter Device for the Integration in Home Energy Management Systems, vol.10, 2017.

B. Ahlgren, M. Hidell, and E. C. Ngai, Internet of Things for Smart Cities: Interoperability and Open Data, IEEE Int. Comput, vol.20, pp.52-56, 2016.

D. Guinard and V. Trifa, Building the Web of Things, p.346, 2016.

J. Schaad, Use of the Advanced Encryption Standard (AES) Encryption Algorithm in Cryptographic Message Syntax (CMS), 2019.

C. Pfleeger, Security in Computing, 1997.

B. W. Lampson, Protection. SIGOPS Oper. Syst. Rev, vol.8, pp.18-24, 1974.

A. C. Myers and B. Liskov, A Decentralized Model for Information Flow Control, ACM Symp. Oper. Syst. Princ, vol.31, pp.129-142, 1997.

R. S. Sandhu, E. J. Coyne, H. L. Feinstein, and C. E. Youman, Role-based access control models, Computer, vol.29, pp.38-47, 1996.

M. A. Al-kahtani and R. Sandhu, A model for attribute-based user-role assignment, Proceedings of the 18th Annual Computer Security Applications Conference, pp.353-362, 2002.

J. Liu, C. Liu, D. Jiao, and J. Chen, The Research of a Multi-Factor Dynamic Authorization Model, Proceedings of the IEEE Ninth International Conference on e-Business Engineering, pp.201-205, 2012.

S. Gusmeroli, S. Piccione, and D. Rotondi, A capability-based security approach to manage access control in the Internet of Things, Math. Comput. Model, vol.58, pp.1189-1205, 2013.

S. E. Jaouhari, A. Bouabdallah, J. M. Bonnin, and T. Lemlouma, Toward a Smart Health-care Architecture using WebRTC and WoT, Proceedings of the WorldCist'17-5th World Conference on Information Systems and Technologies, pp.11-13, 2017.
URL : https://hal.archives-ouvertes.fr/hal-01503434

M. Cornacchia, K. Ozcan, Y. Zheng, and S. Velipasalar, A Survey on Activity Detection and Classification Using Wearable Sensors, IEEE Sens. J, vol.17, pp.386-403, 2017.

A. Wang, G. Chen, J. Yang, S. Zhao, and C. Y. Chang, A Comparative Study on Human Activity Recognition Using Inertial Sensors in a Smartphone, IEEE Sens. J, vol.16, pp.4566-4578, 2016.

N. Chirakanphaisarn, T. Thongkanluang, and Y. Chiwpreechar, Heart rate measurement and electrical pulse signal analysis for subjects span of 20-80 years, J. Electr. Syst. Inf. Technol, vol.5, pp.112-120, 2018.

A. Anvari-moghaddam, J. M. Guerrero, J. C. Vasquez, H. Monsef, and A. Rahimi-kian, Efficient energy management for a grid-tied residential microgrid, IET Gen. Trans. Distrib, vol.11, pp.2752-2761, 2017.

A. Anvari-moghaddam, H. Monsef, and A. Rahimi-kian, Optimal Smart Home Energy Management Considering Energy Saving and a Comfortable Lifestyle, IEEE Trans. Smart Grid, vol.6, pp.324-332, 2015.

A. Anvari-moghaddam, H. Monsef, and A. Rahimi-kian, Cost-effective and comfort-aware residential energy management under different pricing schemes and weather conditions, Energy Build, vol.86, pp.782-793, 2015.
DOI : 10.1016/j.enbuild.2014.10.017

, Mongodb: Replication. Available online, 2019.

A. Sergiienko, WebRTC Blueprints, 2014.

C. Lévy-bencheton, E. Darra, G. Tétu, G. Dufay, and M. Alattar, Security and Resilience of Smart Home Environments Good Practices and Recommendations; The European Union Agency for Network and Information Security (ENISA), 2015.

S. K. Sowe, T. Kimata, M. Dong, and K. Zettsu, Managing Heterogeneous Sensor Data on a Big Data Platform: IoT Services for Data-Intensive Science, Proceedings of the 2014 IEEE 38th International Computer Software and Applications Conference Workshops, pp.295-300, 2014.

A. Yassine, S. Singh, and A. Alamri, Mining Human Activity Patterns From Smart Home Big Data for Health Care Applications, IEEE Access, vol.5, pp.13131-13141, 2017.
DOI : 10.1109/access.2017.2719921

A. R. Al-ali, I. A. Zualkernan, M. Rashid, R. Gupta, and M. Alikarar, A smart home energy management system using IoT and big data analytics approach, IEEE Trans. Consum. Electr, vol.63, pp.426-434, 2017.
DOI : 10.1109/tce.2017.015014

W. Ali, G. Dustgeer, M. Awais, and M. A. Shah, IoT based smart home: Security challenges, security requirements and solutions, Proceedings of the 2017 23rd International Conference on Automation and Computing (ICAC), pp.7-8, 2017.

J. Han, Y. Jeon, and J. Kim, Security considerations for secure and trustworthy smart home system in the IoT environment, Proceedings of the 2015 International Conference on Information and Communication Technology Convergence (ICTC), pp.1116-1118, 2015.

M. Keshavarz and M. Anwar, Towards Improving Privacy Control for Smart Homes: A Privacy Decision Framework, Proceedings of the 2018 16th Annual Conference on Privacy, Security and Trust (PST), pp.28-30, 2018.

E. Fernandes, J. Jung, and A. Prakash, Security Analysis of Emerging Smart Home Applications, Proceedings of the 2016 IEEE Symposium on Security and Privacy (SP), pp.636-654, 2016.

F. K. Santoso and N. C. Vun, Securing IoT for smart home system, Proceedings of the 2015 International Symposium on Consumer Electronics (ISCE), pp.24-26, 2015.