Skip to content

Instantly share code, notes, and snippets.

View djgalloway's full-sized avatar

David Galloway djgalloway

View GitHub Profile
@adamkempenich
adamkempenich / virtual_led_strip.groovy
Created January 14, 2016 03:48 — forked from sidoh/virtual_led_strip.groovy
SmartThings virtual device to control a LEDENET Magic UFO LED Controller with the help of a few other modules
import static java.util.UUID.randomUUID
import java.security.MessageDigest
import javax.crypto.spec.SecretKeySpec
import javax.crypto.Mac
import java.security.SignatureException
metadata {
definition (name: "Wifi LED Devices (MagicHome, Flux, Hera, Novaldo, Luxor, Spectrum, LEDeNet)", namespace: "smartthings", author: "SmartThings") {
capability "Switch Level"
capability "Actuator"
@sidoh
sidoh / virtual_led_strip.groovy
Last active March 9, 2017 03:57
SmartThings virtual device to control a LEDENET Magic UFO LED Controller with the help of a few other modules
import static java.util.UUID.randomUUID
import java.security.MessageDigest
import javax.crypto.spec.SecretKeySpec
import javax.crypto.Mac
import java.security.SignatureException
import groovy.json.JsonOutput
metadata {
// Automatically generated. Make future change here.
definition (name: "HaGateway Light", namespace: "smartthings", author: "SmartThings") {