@Arsenal10108 wrote:
I just set up a oil tank level sensor with a ultrasonic distance sensor.
It reports back a distance in meters which i wrapped with a template sensor to change it over to inches.
I want to set up a gauge card in the front end that has a gauge for full and slowly goes empty. Typical tank set up. Problem is that the gauge card reads the low numbers of a full tank and reports back low numbers for the gauge.
For reference, I have a 275 Gal oil tank, when the tank is full the oil level is a little over 7" from the sensor, so the sensor is reporting back 7" as the tank empties the distance gets greater, I want to interpret that as the gauge getting smaller, not larger.
Could be something really simple I am just missing.
I basically just want to flip the gauge visuals so shorter is full gauge and longer is empty gauge.
Posts: 2
Participants: 2