Mode and Alarm status polling and logging added