Initial grid system with device detection.