How to read AC in ACS712 or CJMCU758 hall effect current sensor?

Hi,
i have ACS712 and CJMCU758 hall effect current sensor, connected to the ADS1115.
It measures both AC and DC, and i need it for AC 220V.
But in AC, sine wave at some hundred millivolts is added to DC zero offset at 2.5v and the standard ADS1115 input doesn’t read it.
I guess i will need to use custom inputs, but i don’t know how to do.

There’s a very detailed article, Building a Custom Input Module. There may be newer features that this article is lacking because it hasn’t been updated in a while, but in general it should be a good guide to follow to developing your own custom Input module.

Hi,
Sorry, it’s too difficult, and now i don’t have much time to learn python, mycodo and ACS712 programming.
At the moment i leave it aside.