Smart relay panel