Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Sump Pit Monitor

Sump Pit Monitor

Scheduled Pinned Locked Moved My Project
7 Posts 3 Posters 118 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KevinT
    wrote last edited by KevinT
    #1

    Hi All,
    I recently replaced my sump pit pump and installed a battery backup pump at the same time. Naturally, when I saw all the alarms available on the backup system, I wanted to integrate them into my home automation system. I also wanted to add a water level sensor to get a better idea of how often the pump ran and also create a water level alarm.
    e61c8797-9b2e-4cc5-9d17-68e08e8258f4-image.png

    Water level sensor installed.
    20251031_175111.jpg

    I looked at the backup controller and realised it would be difficult to pull signals from it since it isn't easy to disassemble. So, I opted to used photo transistors to read the state of the alarm LEDs.
    20251020_112445.jpg

    The photo transistors are held in place with velcro strips for easy removal.

    20251020_131352.jpg

    My monitoring node consists of an ESP32C3 Super Mini ucontroller configured with 5 digital input channels and 1 analog channel to read the alarm LEDs and water level. I'm using MQTT, for this project, to send the data to Home Assistant.
    20251018_171532.jpg

    Integrated into Home Assistant
    fa40f775-0714-4d36-adcb-d148e4928c3f-image.png
    Overall, after a few adjustments, the systems works really well and provides some peace of mind.

    TheoLT 1 Reply Last reply
    2
    • K KevinT

      Hi All,
      I recently replaced my sump pit pump and installed a battery backup pump at the same time. Naturally, when I saw all the alarms available on the backup system, I wanted to integrate them into my home automation system. I also wanted to add a water level sensor to get a better idea of how often the pump ran and also create a water level alarm.
      e61c8797-9b2e-4cc5-9d17-68e08e8258f4-image.png

      Water level sensor installed.
      20251031_175111.jpg

      I looked at the backup controller and realised it would be difficult to pull signals from it since it isn't easy to disassemble. So, I opted to used photo transistors to read the state of the alarm LEDs.
      20251020_112445.jpg

      The photo transistors are held in place with velcro strips for easy removal.

      20251020_131352.jpg

      My monitoring node consists of an ESP32C3 Super Mini ucontroller configured with 5 digital input channels and 1 analog channel to read the alarm LEDs and water level. I'm using MQTT, for this project, to send the data to Home Assistant.
      20251018_171532.jpg

      Integrated into Home Assistant
      fa40f775-0714-4d36-adcb-d148e4928c3f-image.png
      Overall, after a few adjustments, the systems works really well and provides some peace of mind.

      TheoLT Offline
      TheoLT Offline
      TheoL
      Contest Winner
      wrote last edited by
      #2

      @KevinT That is a great project. How do you measure the water level?

      K 1 Reply Last reply
      0
      • OldSurferDudeO Offline
        OldSurferDudeO Offline
        OldSurferDude
        wrote last edited by
        #3

        I have exactly the same level sensor but not the controller. The level sensor output is essentially a variable resistor. When the float is at the top, the resistance is minimum, at the bottom, maximum. I have the 0-190 ohm sensor.

        My "reader" is an ESP-12F (ESP8266). Put a 470 ohm resistor from 3.3V to the Analog input and one of the leads of the sensor and the other lead to ground. The program is Tasmota configured for analog input

        I power it with this power supply.

        Typically Tasmota devices use the MQTT method of delivering data. and is auto-configured in the Home Assistant controller.

        This could could work great with an Arduino in the MySensors eco-sphere. The could would basically be: read analog, send.

        1 Reply Last reply
        1
        • TheoLT TheoL

          @KevinT That is a great project. How do you measure the water level?

          K Offline
          K Offline
          KevinT
          wrote last edited by
          #4

          @TheoL Thanks. As @OldSurferDude says, it's an analog sensor I got off AliExpress Fuel level sensor. I chose a 0-190 ohm sensor, 450 mm long. I wired a 100 ohm resistor in series with the sensor and read the voltage with an analog channel. I do a little extra math to linearise the measurement.
          Fuel Sensor.PNG
          I normally use mysensor nodes, but since this one is always on, I tried using MQTT for a change.

          TheoLT 1 Reply Last reply
          0
          • K KevinT

            @TheoL Thanks. As @OldSurferDude says, it's an analog sensor I got off AliExpress Fuel level sensor. I chose a 0-190 ohm sensor, 450 mm long. I wired a 100 ohm resistor in series with the sensor and read the voltage with an analog channel. I do a little extra math to linearise the measurement.
            Fuel Sensor.PNG
            I normally use mysensor nodes, but since this one is always on, I tried using MQTT for a change.

            TheoLT Offline
            TheoLT Offline
            TheoL
            Contest Winner
            wrote last edited by
            #5

            @KevinT Any idea how much current that sensor is drawing? I came across one circuit that consumes 1 micro amps regardless if the tank is empty or full. Still struggling to get it to work. But that's my low knowledge of electronics ;)

            1 Reply Last reply
            0
            • OldSurferDudeO Offline
              OldSurferDudeO Offline
              OldSurferDude
              wrote last edited by
              #6

              @TheoL that would probably be a hall effect sensor that draws in the microamp range. Per @KevinT 's circuit, it would draw 33mA full and 11.3mA empty, somewhere in between depending on the depth. MySensors and a controller like Home Assistant (with the MySensors Integration) can monitor the battery level as well as the level of the sensor.

              TheoLT 1 Reply Last reply
              0
              • OldSurferDudeO OldSurferDude

                @TheoL that would probably be a hall effect sensor that draws in the microamp range. Per @KevinT 's circuit, it would draw 33mA full and 11.3mA empty, somewhere in between depending on the depth. MySensors and a controller like Home Assistant (with the MySensors Integration) can monitor the battery level as well as the level of the sensor.

                TheoLT Offline
                TheoLT Offline
                TheoL
                Contest Winner
                wrote last edited by
                #7

                @OldSurferDude So if I get my circuit to work, that would by 22 times less (on average). Well I'm doing too many things at the same time. :)

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                15

                Online

                11.7k

                Users

                11.2k

                Topics

                113.1k

                Posts


                Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • MySensors
                • OpenHardware.io
                • Categories
                • Recent
                • Tags
                • Popular