Did you write the code or get it from somewhere? SOrry if you said before, I can't find it
My code. https://github.com/zappityzap/compost-sensor