Tasmotized Sonoff Pow R2/R3 not works

hi,
i was using sonoff pow r3 as a voltage & current sensor in automations to protect appliance from high or too low voltage also to protect the Aux generator from over loud by mange appliances according to priority, the problem was sonoff original firmware too slow to update energy readings to home assistant and some times works only when i open ewelink app, also in my case not work locally,
for that reasons i decided to tasmotize it, but instead of solving the problem it makes it bigger,
mqtt is too slow and sensors readings update takes long period of time more than 3 mints and some times stuck and never update,
the tasmota it self works fine and respond to changes in energy state instantly,
i am using Mosquitto broker add_on and tasmota integration
any idea to solve the issue ?

thanks.