Skip to content

Instantly share code, notes, and snippets.

View lociii's full-sized avatar

Jens Nistler lociii

View GitHub Profile
@brodock
brodock / HueDimmer_RWL022.yaml
Last active June 17, 2026 08:56
Philips Hue Dimmer RWL022
blueprint:
name: Philips Hue Dimmer RWL022
description:
"Control lights with a Philips Hue Dimmer Switch (v2).\n\n Blueprint\
\ Version: 4"
domain: automation
source_url: https://gist.github.com/brodock/0c85f4882b885d4d5499cd88d155c38c
homeassistant:
min_version: "2025.9.1"
input:
@currentoor
currentoor / mutesync_serial.js
Last active December 13, 2022 22:07
How to talk to the mutesync button.
// The API is really simple, to control the lights you send the button a byte array of 13 bytes.
// The first byte needs to be 65 and the rest of the twelve bytes are 3-tuples (RGB values 0-255 for the individual LEDs).
// So alternating red and green lights would look like
[65,
255, 0, 0, // red
0, 255, 0, // green
255, 0, 0, // red
0, 255, 0] // green