I hereby claim:
- I am mager on github.
- I am mager (https://keybase.io/mager) on keybase.
- I have a public key whose fingerprint is 9D0C D280 C989 C4D0 CF63 4432 9704 0AAE 8D68 330A
To claim this, I am signing this object:
| /** | |
| * Silent Safety | |
| * | |
| * Copyright 2015 Diana Laboy-Rush | |
| * | |
| * 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 | |
| * |
| /** | |
| * Example: How to make API calls from a SmartApp | |
| * | |
| * Copyright 2015 SmartThings Hack | |
| * | |
| * 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:
| /** | |
| * My First SmartApp | |
| * | |
| * Copyright 2015 Andrew Mager | |
| * | |
| * 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 | |
| * |
| /** | |
| * Example: Control a switch with a contact sensor | |
| * | |
| * Copyright 2014 Andrew Mager | |
| * | |
| * 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 | |
| * |
| metadata { | |
| definition (name: "On/Off Shield", namespace: "smartthings", author: "SmartThings") { | |
| capability "Actuator" | |
| capability "Switch" | |
| capability "Sensor" | |
| } | |
| // Simulator metadata | |
| simulator { | |
| status "on": "catchall: 0104 0000 01 01 0040 00 0A21 00 00 0000 0A 00 0A6F6E" |
| /* | |
| * SmartThings Clapper | |
| * Author: Gilbert Chan | |
| * Update: 10/18/14 | |
| * Contributors: Manoj Kunthu, Andrew Mager | |
| */ | |
| #include <SoftwareSerial.h> | |
| #include <SmartThings.h> |
| source "https://rubygems.org" | |
| gem 'sinatra' | |
| gem 'oauth2' | |
| gem 'json' |
| /** | |
| * Control a Switch with an API call | |
| * | |
| * Copyright 2014 Andrew Mager | |
| * | |
| * 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 | |
| * |
| /** | |
| * Scheduler Demo | |
| * | |
| * Copyright 2014 Andrew Mager | |
| * | |
| * 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 | |
| * |