Development And Integration Of A Low-Cost Occupancy Monitoring System