08-30-2021, 09:12 PM
Sorry just seeing this now, unfortunately that won't work as it is, it requires an Analog pin to read the sensor, it's not just on/off. The Pi doesn't haven any analog pins however you could add one of these.
https://www.adafruit.com/product/1083
Then it's a matter of code, a script is needed to import data into reef-pi.
https://www.adafruit.com/product/1083
Then it's a matter of code, a script is needed to import data into reef-pi.