mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-15 13:10:51 +00:00
42 lines
918 B
Groovy
42 lines
918 B
Groovy
/**
|
|
* SCANNER SMARTTHINGS APPS
|
|
*
|
|
* Copyright 2015 kathiresan
|
|
*
|
|
*/
|
|
definition(
|
|
name: "SCANNER SMARTTHINGS APPS",
|
|
namespace: "NetworkScanner",
|
|
author: "kathiresan",
|
|
description: "Network Scanner Smartthings Apps",
|
|
category: "My Apps",
|
|
iconUrl: "https://s3.amazonaws.com/smartapp-icons/Convenience/Cat-Convenience.png",
|
|
iconX2Url: "https://s3.amazonaws.com/smartapp-icons/Convenience/Cat-Convenience@2x.png",
|
|
iconX3Url: "https://s3.amazonaws.com/smartapp-icons/Convenience/Cat-Convenience@2x.png",
|
|
oauth: true)
|
|
|
|
|
|
preferences {
|
|
section("Title") {
|
|
// TODO: put inputs here
|
|
}
|
|
}
|
|
|
|
def installed() {
|
|
log.debug "Installed with settings: ${settings}"
|
|
|
|
initialize()
|
|
}
|
|
|
|
def updated() {
|
|
log.debug "Updated with settings: ${settings}"
|
|
|
|
unsubscribe()
|
|
initialize()
|
|
}
|
|
|
|
def initialize() {
|
|
// TODO: subscribe to attributes, devices, locations, etc.
|
|
}
|
|
|
|
// TODO: implement event handlers |