rneswold / sump-monitor

Simple sump pump monitoring task for use with DrMem control system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

drmem-drv-sump

Simple sump pump monitoring task for use with drmem control system. This driver uses the RaspberryPi GPIO to monitor the state of a sump pump.

A major requirement is the sump pump cannot be affected by the presence or absense of the RaspberryPi. This was accomplished by using a "current switch" (I am a happy customer of the Dwyer MCS-111050, but there are other, similar products.) I ran the hot wire through the current switch so when the sump pump runs, the relay closes. I configured GPIO4 to be an input with a pull-up resistor so the RaspberryPi can sense the relay's state.

About

Simple sump pump monitoring task for use with DrMem control system.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 97.8%Language:Makefile 2.2%