ArduinoGeneral

Integrating SEN0575 Rainfall Sensor (I2C) with ESPHome / ESP32

userHead Alexandre.Mabire 2025-04-05 01:11:30 1710 Views3 Replies

Hi everyone,

 

I'm working on a weather station project using an ESP32 programmed with ESPHome and I'm trying to integrate the Digital Rainfall Sensor (SEN0575). The sensor seems to use the I2C interface only. I'm having trouble getting this sensor working within ESPHome because there doesn't seem to be a built-in component for the SEN0575's I2C communication. I've searched for external components or examples, but haven't found a clear solution yet.

 

My question is: Has anyone successfully integrated the SEN0575 (using its I2C interface) with ESPHome? 

 

If so, I'd be grateful for any advice:

Is there a specific ESPHome external component or Arduino library I should be using? (If a library, where can I find the source, e.g., on GitHub?)Could you share any relevant parts of your ESPHome *.yaml configuration (especially any lambda code used in a custom component)?Are there any specific setup steps or known issues when using this sensor with ESPHome/ESP32 via I2C?

I've already confirmed my I2C bus is working with other sensors (like a BMP280). I just need help figuring out how to talk to the SEN0575 specifically.

Thanks in advance for any help or pointers!

 

Best regards,

Alex

2025-12-08 12:32:51

The usual approach is to treat it as a custom I2C device through a custom sensor block and directly port the Arduino logic into a lambda. If neither of you have gotten it working yet, the key is to grab the DFRobot SEN0575 library from GitHub (DFRobot releases most of their sensor code there), translate the initialization + read functions into ESPHome C++ snippets, and expose the rainfall value as a custom sensor. It’s not plug-and-play, but definitely doable once you map the register addresses.

slope game

 

userHeadPic Simon.Scott
2025-12-08 08:16:41

Alex,

    Did you ever get it done?

Thanks

Mike

userHeadPic Mikeweber3
Mikeweber3 wrote:


2025-12-08 08:16:58
1 Replies