This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Weather Alert Monitor | |
* | |
* Author: bob | |
* | |
* EXAMPLE NOT CURRENTLY PUBLISHED | |
* | |
* Date: 2013-04-30 | |
*/ | |
preferences { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Welcome Home | |
* | |
* Make a web service call when your front door opens, | |
* | |
* Author: SmartThings | |
*/ | |
preferences { | |
section("When the door opens/closes...") { | |
input "contact1", "capability.contactSensor", title: "Where?" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Event Exporter | |
* | |
* Author: SmartThings | |
* | |
* ---------------------+----------------+--------------------------+------------------------------------ | |
* Device Type | Attribute Name | Commands | Attribute Values | |
* ---------------------+----------------+--------------------------+------------------------------------ | |
* switches | switch | on, off | on, off | |
* motionSensors | motion | | active, inactive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Turn on a switch when a washing machine has been stopped for a certain period of time | |
* | |
* This app makes use of the runIn() method to turn on the switch the specified period of time | |
* after the vibration stops. If vibration starts again before the time elapses, then the scheduled | |
* turn-on event is canceled. | |
* | |
*/ | |
preferences { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
metadata { | |
// simulator metadata | |
simulator { | |
status "on": "command: 2003, payload: FF" | |
status "off": "command: 2003, payload: 00" | |
// reply messages | |
reply "2001FF,delay 100,2502": "command: 2503, payload: FF" | |
reply "200100,delay 100,2502": "command: 2503, payload: 00" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Aeon Home Energy Meter | |
* | |
* Author: SmartThings | |
* | |
* Date: 2013-05-30 | |
*/ | |
metadata { | |
// simulator metadata | |
simulator { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sample Web Services Application | |
* | |
* | |
* Author: SmartThings | |
* | |
* ---------------------+----------------+--------------------------+------------------------------------ | |
* Device Type | Attribute Name | Commands | Attribute Values | |
* ---------------------+----------------+--------------------------+------------------------------------ | |
* switches | switch | on, off | on, off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Mode Levels | |
* | |
* Copyright 2014 Bob Florian | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | |
* in compliance with the License. You may obtain a copy of the License at: | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* List Edit Example | |
* | |
* Copyright 2014 Bob Florian | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | |
* in compliance with the License. You may obtain a copy of the License at: | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
OlderNewer