Check devices and wake up any marked as dead

Posted at http://forum.fibaro.com/viewtopic.php?p=22994#22994