Skip to content

Instantly share code, notes, and snippets.

@steve28
steve28 / binary_sensor.yaml
Last active August 3, 2020 00:44
My makeshift OZW panel
- platform: mqtt
name: ozw_network_status
state_topic: OpenZWave/1/status/
value_template: >
{{ "ON" if value_json.Status in ["driverAwakeNodesQueried", "driverAllNodesQueriedSomeDead", "driverAllNodesQueried"] else "OFF" }}
json_attributes_topic: OpenZWave/1/status/
device_class: "connectivity"
/**
* Turn on a switch when in Away mode and it's night
*
* Author: Steve Sell steve.sell@gmail.com
*/
preferences {
section("Turn on..."){
input "switches", "capability.switch", multiple: true, required: true
}
}
/**
* Alert if garage doors are open
*
* Author: steve.sell@gmail.com
*
*
* Date: 2013-10-15
*/
preferences {
section("Select the Garage Controller") {
/**
* Garage Door
*
* Author: Steve Sell
* Date: 2014-02-02
*/
metadata {
// Preferences
@steve28
steve28 / AlertOnSmoke.groovy
Created November 6, 2013 22:57
Z-Wave Smoke/CO Alarm SmartApp for SmartThings
/**
* Notify Me When Smoke or Carbon Monoxide is Detected
*
* Author: Steve Sell
* steve.sell@gmail.com
*/
preferences {
section("Select smoke detector(s)..."){
input "smoke_detectors", "capability.smokeDetector", title: "Which one(s)...?", multiple: true
}