Skip to content

Instantly share code, notes, and snippets.

View Emanuele-Spatola's full-sized avatar

Emanuele Spatola Emanuele-Spatola

View GitHub Profile
@Emanuele-Spatola
Emanuele-Spatola / Smart-knob-ZG-101Z-MQTT.yaml
Last active August 25, 2025 09:08
Control on/off and brightness of a light using a Zigbee smart knob through Zigbee2MQTT
blueprint:
name: "Z2M Smart Knob Light Control ZG-101Z/D (MQTT Device Triggers)"
description: "Control a light with a Zigbee smart knob discovered via Zigbee2MQTT using MQTT device triggers. Supports single press (toggle), rotate left/right (brightness step), and optional double press (run script)."
domain: automation
input:
remote_device:
name: Zigbee2MQTT Device
description: "Pick the Zigbee2MQTT device (from the MQTT integration) that emits action events."
selector:
@Emanuele-Spatola
Emanuele-Spatola / zg-101z-d-smart-knob.yaml
Last active March 14, 2025 19:25
Zigbee Smart Knob Light Control (ZG-101Z/D)
blueprint:
name: "Zigbee Smart Knob Light Control ZG-101Z/D"
description: "Toggle and adjust brightness of a selected light using a Zigbee remote device."
domain: automation
input:
remote_device:
name: Remote Device
description: "Select the Zigbee remote device to control the light."
selector:
device:
@Emanuele-Spatola
Emanuele-Spatola / WebGL360Video.html
Created August 7, 2018 14:27 — forked from fieldOfView/WebGL360Video.html
Simple WebGL/GLSL video panorama viewer
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Simple WebGL/GLSL video panorama viewer</title>
<style>
body {
background-color: #000000;