Device connected or not status

If they're Zigbee....go with this: