Need Recomondation for 4-20mA Diaphram Pump Control

I’m looking for a small Wifi module I can install at my pump. It seems I’m at the end of what I’m willing to do with the esp32 and code, I’m a HW guy. HA scripts, no problem.

With ESPHome + Tasmota + Berry + MQTT a driver needs to be written, no thanks.

Arduino doesn’t have a true analog write, it’s PWM.

Does anyone have any suggestions?

You’re trying to create a 4-20mA signal which your pump needs to operate? How about using a digital potentiometer controlled by ESP running Tasmota? https://digilent.com/reference/_media/pmod:pmod:pmodDPOT_rm.pdf

I2C PT2257