Title: RSSI-Based Environment Monitoring and Accurate Event Detection