Skip to content

Instantly share code, notes, and snippets.

@jkraemer
jkraemer / presence_light_blueprint.yaml
Created July 23, 2025 16:58 — forked from adamjez/presence_light_blueprint.yaml
Home Assistant blueprint for Presence Activated Light automation
blueprint:
name: Presence Light
description: Turn on a light when presence is detected.
domain: automation
input:
presence_entity:
name: Presence Sensor
description: Presence sensor device
selector:
entity:
@jkraemer
jkraemer / hillshade-transparent-overlay.md
Created October 4, 2018 03:16 — forked from cquest/hillshade-transparent-overlay.md
transparent hillshade cooking guide using gdal

Ingredients

  • a decent DEM
  • gdal
  • some computer

compute grayscale hillshade using gdaldem

gdaldem hillshade -compute_edges your_dem_file hillshade.tif

color-ramp to compute transparency (alpha channel)

In another bowl, prepare the following shade.ramp file: