What brand of sensor are you using for this?
Built it myself. Code is available and I'll be doing build guide soon. https://github.com/zappityzap/compost-sensor