Connected an $18 100 PSImax Transducer to a bunch of brass fitting till it coupled with the blowoff valve on the bladder tank. Then wired the 2-5v scaled output wire to the input of a simple $5 analog to digital converter board which talks i2c to a raspi running a custom mqtt client (NOT master and NOT a broker) The data can now be picked up by a Home Assistant. |
After recording several data points after initial connection, I found the output voltage of the transducer versus the actual pressure was not exactly linear, so to perfectly map the voltage readings to the analog dial on the tank, I needed an algebraic curve function. I could then convert the formula to TEMPLATE notation and enter it into my YAML. |
|