Add state poller to foscam thatll check that the camera is working - and if the alarm is armed or not