ogiewon
March 21, 2019, 5:28pm
2710
No reason it would not work. There are already some sprinkler solutions that utilize the ESP8266 platform with ST. These may be more purpose-built and offer additional options/features versus what you will get with ST_Anything.
For example…
Do you want a Smart Sprinkler controller that is integrated with SmartThings but won’t break the bank? Are you looking for a DIY Smart Sprinkler that doesn’t require an Arduino and SmartThings Shield? If so, this may be what you’re looking for.
I’ve created an ESP8266 based Smart Sprinkler based on the Smart Sprinkler project written by Stan Dotson and Matthew Nichols. Rather than using an Arduino with a SmartThings Shield, the ESP8266 is WIFI capable and communicates directly to your SmartThings hub over the local LAN.
The entire project is on github and consists of two SmartApps, two Device Types, and the firmware source and binaries for the ESP8266 microprocessor. Additional details and high level instructions are in the Readme .
Project highlights include:
A SmartApp that d…
If you do decided to use ST_Anything, the simplest way of doing so would be to used the TimedRelay device as that way the ESP8266 would take care of turning off a zone even if the ST hub or Cloud servers are misbehaving. The following sketch would be a good starting point for a sprinkler solution using ST_Anything, IMHO…
//******************************************************************************************
// File: ST_Anything_Relays_ESP8266.ino
// Authors: Dan G Ogorchock & Daniel J Ogorchock (Father and Son)
//
// Summary: This Arduino Sketch, along with the ST_Anything library and the revised SmartThings
// library, demonstrates the ability of one NodeMCU ESP8266 to
// implement a multi input/output custom device for integration into SmartThings.
//
// The ST_Anything library takes care of all of the work to schedule device updates
// as well as all communications with the NodeMCU ESP8266’s WiFi.
//
// ST_Anything_Relays_ESP8266 implements the following ST Capabilities as a demo of what is possible with a single NodeMCU ESP8266
// - 3 x Relay Switch devices
//
//
// Change History:
//
// Date Who What
// ---- --- ----
// 2015-01-03 Dan & Daniel Original Creation
This file has been truncated. show original