adding way to read sensor from read text