I hereby claim:
- I am dianoga on github.
- I am dianoga (https://keybase.io/dianoga) on keybase.
- I have a public key whose fingerprint is 21CE 2C86 F1AB 7F45 DBD8 27F3 E7C6 0755 DB7B BB9A
To claim this, I am signing this object:
| [Unit] | |
| Description=Start Herir Node.js Service | |
| Requires=network.target | |
| After=network.target | |
| [Service] | |
| Type=forking | |
| WorkingDirectory=/srv/hereir/node | |
| ExecStart=/usr/bin/forever start --pidFile /var/run/hereir.pid HereIR.js | |
| ExecStop=/usr/bin/forever stop HereIR.js |
| /** | |
| * Nest | |
| * | |
| * Author: [email protected] | |
| * Date: 2013-06-24 | |
| */ | |
| // for the UI | |
| metadata { | |
| simulator { | |
| } |
| /** | |
| * Clever Night Light | |
| * | |
| * Author: Brian Steere | |
| */ | |
| preferences { | |
| section("Turn on which things") { | |
| input "switches", "capability.switch", title: "Things", multiple: true |
| /** | |
| * Sunrise/Sunset | |
| * | |
| * Author: [email protected] | |
| * Date: 2013-06-26 | |
| */ | |
| preferences { | |
| section("Sunrise") { | |
| input ('sunrise_mode', 'mode', title: 'Change to mode: ') | |
| } |
| /** | |
| * HVAC Auto Off | |
| * | |
| * Author: [email protected] | |
| * Date: 2013-07-21 | |
| */ | |
| preferences { | |
| section("Control") { | |
| input("thermostat", "capability.thermostat", title: "Thermostat") | |
| } |
| /** | |
| * Nest Direct | |
| * | |
| * Author: dianoga7@3dgo.net | |
| * Date: 2013-07-18 | |
| * Code: https://gist.github.com/Dianoga/6055918 | |
| * | |
| * INSTALLATION | |
| * ========================================= | |
| * 1) Create a new device type (https://graph.api.smartthings.com/ide/devices) |
| php -r ' | |
| $filename = "index2.html"; | |
| $file = file_get_contents($filename); | |
| $views = str_replace("</script>", "</script>\n", `cat views/*`); | |
| $find = "/(<!--StartTemplates-->)(.*)(<!--EndTemplates)/s"; | |
| $replace = "$1\n{{templates}}\n$3"; | |
| $file = preg_replace($find, $replace, $file); | |
| $file = str_replace("{{templates}}", $views, $file); |
| <link rel="import" href="../paper-toggle-button/paper-toggle-button.html"> | |
| <link rel="import" href="../paper-slider/paper-slider.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| position: absolute; | |
| width: 100%; |
| /** | |
| * GE Link Bulb | |
| * | |
| * Copyright 2014 SmartThings | |
| * | |
| * 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 | |
| * |
I hereby claim:
To claim this, I am signing this object: