Detecting offline Things in a less stupid way

I use this