Open luis-nagaki opened 1 year ago
This library only handles direct communication with the SDI-12. You'd have to write a wrapper to convert it to the right format for ESPHome. I've never looked at the codebase for ESPHome, so I have no idea how hard it would be. Others have had success running the library on ESP8266 and ESP32, so it's possible. Once you have the sensor working with ESPHome, I'm guessing getting the data from there to HomeAssistant would be straightforward.
I will give it my best :)
Also, this is assuming the SDI-12 sensor is connected directly to a GPIO pin directly to the ESP board?
The library assumes the sensor is directly connected, but depending on your sensor, you may need to use level shifters. Many SDI-12 sensors require 12V power and 5V TTL logic.
any way of converting this for use in ESPHome? or HA?