ostersc / arduino-sump-pump-monitor

Arduino project for ESP8266 to monitor backup sump pump and water level, sending alerts upon issues

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arduino-sump-pump-monitor

Arduino project for ESP8266 to monitor backup sump pump and water level, sending alerts upon issues.

The project monitors my sump pump for when its backup pump engages, or when the main pump is running on battery power (due to power outage). The project continually monitors the pumps, reporting data to thingspeak.com indicating the pump status. The board is equiped with a LiPo battery backup, so it is still able to report in the event of a power outage. Graph

PUMP

I have the Basement Watchdog BW4000 Sump Pump, which has a backup pump, battery, and remote terminal to indicate alarms. http://www.basementwatchdog.com/Basement_Watchdog_Combination_Systems.php http://www.basementwatchdog.com/Accessories/Remote_Terminal.php Any similar system could be used, or a homebrew sensor could be created, as all this "remote terminal" does is provide an open/closed circuit transition when triggering an alarm.

HARDWARE

I'm using the Sparkfun ESP8266 Thing (https://www.sparkfun.com/products/13231). The Adafruit Feather HUZZAH actually looks easier to program; it should work as well (https://www.adafruit.com/products/2821) Wiring

CURRENT STATUS

  • Sump alarm monitoring (backup pump used, power loss, fuse, or battery issue)
  • Sump basin Water level alarm (moisture sensor mounted above backup float)
  • Reporting to thingspeak (signal strength, alarm state, alarm duration, alarm count)
  • Email when alarm or water level alarm state entered (via https://temboo.com/arduino/others/send-an-email)

TODO

LIBRARIES

SETUP

  • Create a file called Secrets.h, copying the commented out block from the ino sketch
  • Create a thingspeak channel here
    • The fields should be id alarm alarmduration alarmcount waterlevel wateralarmcount wateralarmduration rssi
    • Edit the myChannelNumber and myWriteAPIKey in Secrets.h
    • Channel Setup
  • Follow instructions on setting up Temboo account and gmail here
    • copy all the TEMBOO settings from the header section (normally Temboo.h) and put in Secrets.h
  • You can setup additional alarms as needed (such as no data alarms, low wifi strength, etc) by using thingspeaks ability to trigger IFTTT events as described here.

About

Arduino project for ESP8266 to monitor backup sump pump and water level, sending alerts upon issues

License:Apache License 2.0


Languages

Language:Arduino 100.0%