Skip to content

Instantly share code, notes, and snippets.

/**
* Nap Time
*
* Copyright 2014 Brian Critchlow
*
* 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
*
@docwisdom
docwisdom / youLeftItOpen.groovy
Last active February 25, 2019 20:12
You Left It Open SmartApp
definition(
name: "You Left It Open",
namespace: "docwisdom",
author: "Brian Critchlow",
description: "Notifies if contact sensors are open when a mode changes",
category: "Safety & Security",
iconUrl: "https://s3.amazonaws.com/smartapp-icons/ModeMagic/bon-voyage.png",
iconX2Url: "https://s3.amazonaws.com/smartapp-icons/ModeMagic/bon-voyage%402x.png"
)
@docwisdom
docwisdom / delay-switch.groovy
Last active August 29, 2015 14:05
Delay Switch
/**
* Delay before turning things on
*
* Author: Docwisdom
* Based off of code by SmartThings
* Date: 2014-08-29
*/
definition(
name: "Delay Switch",
namespace: "docwisdom",
@docwisdom
docwisdom / powertarget.ino
Last active August 29, 2015 14:05
PowerTarget
// Interrupt Driven Pinewood Derby Timer
// BDub @ Technobly.com 3/19/2014
//
// All inputs are pulled high with internal pullups.
// GND D2 to reset and run the timer for all lanes.
// GND A6, A7, D3 and D4 to stop the timer for each
// lane and display the results.
//