I am in the final stages of a water tank level sensor using a Maxbotic sonar sensor and NodeMCU. I am using the NodeMCU API type. I pass from HS3 to the NodeMCU 4 values. the Overall Tank Capacity, the sonar reading when the tank is empty (TankMin) and full (TankMax) and finally the number of minutes between updates to avoid flooding (get it ) HS with data for what is a very slow moving data point. The NodeMCU reads the sonar and then uses the data from HS3 to return three data points. The Raw Sonar reading (for debug mostly) expected range of this is from 25 to 750. The tank water level in % (x100 as an INT) and the calculated Gallons of water. I have two sizes of water tanks. 2500 gallons and 10,000 gallons. I have found that I can not enter a value in HS3 to send to the NodeMCU greater than 1000. To get around this I am representing the water tank capacities and the return values as Value 10. So that a 2500 gallon tank is represented as 250. My question here is if this is a restriction from HS3, the NodeMCU. the PlugIn or am I just doing something wrong?
Thx
Thx
Comment