sensord: check the range of values provided from the client