Skip to content

Instantly share code, notes, and snippets.

View on-off-shield-example.groovy
/*
* This is an updated version that will hopefully help other who just starting out with
* the SmartThings Arduino Shield. The earlier versions of this file had not been
* updated with the newer "definition, capability, attribute, and command" section. Without
* this new section, the Device Type will only partially work (just the on/ff switch).
*
* Author: ogiewon
* Date: 2014-06-20
*
* Credit to urman the original author...