Multi-occupancy Environmental Control for Smart Connected Communities