Skip to content

Instantly share code, notes, and snippets.

View ps-jay's full-sized avatar

Phil Jay ps-jay

  • Melbourne, Australia
View GitHub Profile
@ps-jay
ps-jay / shelly-i4-blueprint.yaml
Created November 22, 2025 04:16
shelly-i4-blueprint
---
blueprint:
name: Shelly i4 Blueprint
description: >
Shelly i4 Blueprint
Originally by Ltek
🚀 Version 2025.11.4
blueprint:
name: Simple On + Reset
description: |
Turn on specified lights, or if already on then reset to colour and brightness
source_url: https://gist.github.com/ps-jay/42e1320d39424136888eae7de59e2c6e
domain: automation
input:
lights:
name: Lights
description: Lights to turn on
blueprint:
name: Simple Off
description: Turn off specified lights
source_url: https://gist.github.com/ps-jay/f0475beb495b2a3eb1925cd8e21135b1
domain: automation
input:
lights:
name: Lights
description: Lights to turn off
default: []
@ps-jay
ps-jay / simple-dim.yaml
Last active June 8, 2023 11:06
Simple Dim
blueprint:
name: Simple Dim
description: Dim specified lights by set percentage
source_url: https://gist.github.com/ps-jay/f695833c2c76d3feb89613be6b7ec095
domain: automation
input:
lights:
name: Lights
description: Lights to dim
default: []
@ps-jay
ps-jay / temp2dash
Last active August 29, 2015 14:23
Temperature to dashing.io
/usr/bin/vim temp2dash
import json
import requests
import sys
from temperusb import TemperHandler
URL="http://localhost:3030/widgets/inside"
SCALE=1.0
OFFSET=-1.0