Hi all, I’m really excited to share my latest project with you. I’ve been working on setting up a water level monitoring system using NodeMCU with ESPhome integrated into Home Assistant. The goal is to track the water levels in my overhead tank using four GPIO pins connected at different depths. I’ve managed to get three of them working perfectly, but there’s this one pin that’s causing some trouble, and I could really use your help!
Here’s what I’ve done so far: I’ve connected four GPIO pins at 75%, 50%, 25%, and full levels. All of them work fine when I test them on my desk, but as soon as I install them in the tank, the 50% sensor (GPIO13/D7) seems to interfere with the 25% sensor. When I connect the 50% pin, the 25% sensor goes offline, and when I remove it, everything works again. I’ve tried changing pins multiple times, but the issue persists.
I’ve spent hours troubleshooting and here’s what I’ve tried:
- Changed the GPIO pin for the 50% sensor multiple times
- Checked the power supply (it’s stable at 5V)
- Verified the wiring and connections
- Tested the setup on my desk where it works perfectly
Despite all this, the issue remains. I’m really curious if anyone has encountered something similar or has any advice on how to resolve this. Maybe there’s something I’m missing in the configuration or a different approach I could take? I’d be really grateful for any suggestions or insights you might have.
Thanks in advance for your help, and I look forward to hearing from you!