MonitorSumpPump

The Unofficial SmartThings Blog
Jump to: navigation, search


Category: My Apps

Author:Yves Racine

ST Community handle http://community.smartthings.com/users/yvesracine/activity

Company Link: http://www.ecomatiqhomes.com#!home/mainPage



You can now download the smartapp at my store:

http://www.ecomatiqhomes.com/#!store/tc3yr




Summary

MonitorSumpPump, the smartapp that monitors your house's sump pump and alerts you when needed. You can define which months are part of the dry or wet seasons at your location(s) and define different monitoring cycle intervals for each season.

Prerequisites

  • Vibration Sensor hooked up to your sump pump (to detect if it's operating properly)
  • Water sensor in the Sump Pump Basin (optional)
  • ST WeatherStation such as this one (optional):

https://github.com/yracine/device-type.weatherstation4

Features

  • Checks if the sump pump is running properly at regular cycle intervals (every 'X' hours)
  • Warns you if the water level in the Sump Pump basin is too high (optional)
  • If weather conditions are more critical (raining), the cycle intervals can be automatically switched to be in 'X' minutes (instead of 'X' hours)


Look & Feel

MonitorSumpPumpP1.jpg

MonitorSumpPumpP2.jpg

MonitorSumpPumpP3.jpg

MonitorSumpPumpP4.jpg

MonitorSumpPumpP5.jpg

Troubleshooting

.................................................................................................................................

Issue #1: I don't know how to create a custom smartapp

.................................................................................................................................

See the explanations of a fellow community member here:

http://community.smartthings.com/t/faq-an-overview-of-using-custom-code-in-smartthings/16772

And, here are some basic explanations with screenshots.

Loginscreen.jpg

  • Once you are logged in, find the My SmartApps link on the top of the page. Clicking My SmartApps will allow you to produce a new SmartApp.

MySmartApps.png

  • Find the button on this page labeled +New SmartApp and click it.

+NewSmartApp.png

  • Since you already have the code in your computer’s clipboard, find the tab along the top section called From Code. In the area provided, paste (typically CTRL+V) the code you copied from GitHub. Click Create in the bottom left corner of the page.

NewSmartAppCreate.png

  • This will bring up another page, with the code now formatted within the IDE. If the code was copied correctly, there are no other steps except to save and publish the code. In the upper right corner of the page, find and click Save. Now, click Publish (For Me), and you should receive a confirmation that the code has been published successfully.

SavePublish.png


.................................................................................................................................

Issue #2: I created the smartapp in the IDE, but I don't know where to execute it

.................................................................................................................................

For the initial setup, under the ST app, click on the Marketspace item in the bottom menu, and then, on the smartapps link and finally, MyApps (last item in the list).

If you still do not see your smartapp, please make sure that you have published it in the IDE!


For any subsequent execution, under the ST mobile app, click on automations>smartapps in the bottom menu. The list of installed smartapps will then appear.

.................................................................................................................................

Issue #3: I want to upgrade the code but I don't know how

.................................................................................................................................


Most of the time (unless specified otherwise), you just need to copy and paste the smartapp's new code into the IDE at:


https://graph.api.smartthings.com/ide/apps

Click on the smartapp that you want to update

Paste the code into the code window (and make sure to copy all the lines)

And save & publish.