Skip to content

Instantly share code, notes, and snippets.

@Sperryfreak01
Sperryfreak01 / lutron_pico_4_light.yaml
Last active January 2, 2024 00:11 — forked from smartqasa/lutron_pico_5_light.yaml
Lutron Pico 5 Button - Light Entity Control
blueprint:
name: Lutron Pico 4 Button - Light Entity Control
description: "This blueprint allows for the association a Lutron Pico 4 Button (model PJ2-2BRL-GXX-X01) remote with a light entity. It is designed to simulate the operation of a standard Lutron Caseta wall dimmer including the press and hold functionality for the raise/lower buttons. It allows for the control over the brightness step percentage and transition speed and the assignment of any action to the middle button."
source_url: https://gist.github.com/Sperryfreak01/59e16cda1d661daf5c1ba1e9682de897 based on work by cymone, https://gist.github.com/cymone-smart/9814a750a0d0cfb196fa1fa7ae3630bb
domain: automation
input:
pico_1:
name: Pico Device
@Sperryfreak01
Sperryfreak01 / supermicro-java-console.sh
Created February 8, 2017 06:23 — forked from DavidWittman/supermicro-java-console.sh
Retrieves the plaintext JNLP for the iKVM console from a SuperMicro IPMI webserver
#!/usr/bin/env bash
# Retrieves the plaintext JNLP from a SuperMicro IPMI webserver
# Usage: supermicro-java-console.sh <hostname>
# supermicro-java-console.sh 10.1.2.34 > login.jnlp
set -x
HOST="$1"
IPMI_USER=${IPMI_USER:-ADMIN}
//-----------------------------------------------
// SPARK CORE CUSTOM PWM FREQUENCY EXAMPLE
//===============================================
// Define your own frequency below!
// PWM Glitch issue fixed, only sets up PWM once,
// ... thereafter sets duty cycle.
// This allows true 0 - 100% PWM.
// Copy this into a new application at:
// https://www.spark.io/build and go nuts!
//-----------------------------------------------