Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View rappleg's full-sized avatar

Ryan Applegate rappleg

  • One Tap Away
  • Minneapolis, MN
View GitHub Profile
### Keybase proof
I hereby claim:
* I am rappleg on github.
* I am rappleg (https://keybase.io/rappleg) on keybase.
* I have a public key whose fingerprint is 102D B542 6D8E 4DC5 5217 2DEF FB36 FB29 413A EB16
To claim this, I am signing this object:
@rappleg
rappleg / gist:9557444
Created March 14, 2014 21:33
Button Lord
/**
* Button Lord
*
* Author: SmartThings
* Date: 2013-11-27
*/
preferences {
page(name: "selectButton")
page(name: "configureButton1")
page(name: "configureButton2")
/**
* Page Navigation
*
* Author: steve
* Date: 2013-08-23
*/
preferences {
page(name:"A", title:"A", content:"A", params:["foo":1])
page(name:"B", title:"B", content:"B", params:["foo":1])
/**
* Foscam
*
* Author: danny@smartthings.com
* Date: 2013-07-25
* Revisions: Chris Yard
* Edits for Foscam FI9831 commands
*/
// for the UI
metadata {
metadata {
// simulator metadata
simulator {
// status messages
status "on": "on/off: 1"
status "off": "on/off: 0"
// reply messages
reply "zcl on-off on": "on/off: 1"
reply "zcl on-off off": "on/off: 0"
/**
* ParentChildParent
*
* Author: scott
* Date: 2014-02-14
*/
preferences {
section("Title") {
// TODO: put inputs here
}
@rappleg
rappleg / gist:8025759
Created December 18, 2013 16:54
Plant Link
/**
* PlantLink
*
* Author: SmartThings
* Date: 2013-12-17
*/
tiles {
valueTile("humidity", "device.humidity", width: 2, height: 2) {
state("humidity", label:'${currentValue}%', unit:"",
backgroundColors:[
@rappleg
rappleg / gist:7760460
Last active December 30, 2015 02:09
CentraLite Thermostat
/**
* CentraLite Thermostat
*
* Author: SmartThings
* Date: 2013-12-02
*/
metadata {
// simulator metadata
simulator {
status "off" : "command: 4003, payload: 00"
@rappleg
rappleg / gist:7566571
Last active December 28, 2015 21:39
CentraLite Switch
metadata {
// simulator metadata
simulator {
// status messages
status "on": "on/off: 1"
status "off": "on/off: 0"
// reply messages
reply "zcl on-off on": "on/off: 1"
reply "zcl on-off off": "on/off: 0"
{
"installedSolutionId":"002d0397-5c6d-4835-aaac-edbd1a3c46e3",
"installedSmartAppId":"0b59cfe6-581b-4c63-a138-8b293bc084f3",
"sortOrder":1,
"name":"Lights & Switches",
"icon":"switches",
"iconUrl":"https://s3.amazonaws.com/smartapp-icons/Solution/switches-active.png",
"iconX2Url":"https://s3.amazonaws.com/smartapp-icons/Solution/switches-active@2x.png",
"description":"Lights Solution",
"solutionSummary":[