Enabling smart environments through scalable policy reasoning and Internet of Things. (4th December 2018)