GROW moisture sensor without hat

Hi, just wondering if anyone has had any success using the grow moisture sensors without the hat. I’m hoping to hook them directly up to the raspberry pi and read the data. From what I’ve found so far the wires on the sensor are: GND, Data, VDD (from left-right, as viewed in product page photo). I’ve connected them to GPIO pins as follows:

  • GND to pin no. 9
  • Data to pin no. 23
  • VDD to pin no. 1

I’ve also found the python library on github, so just hoping wondering if someone knows how to use that to read the data in my own code?

Thanks in advance!