get device by name (/device/byname/)