Skip to content

Instantly share code, notes, and snippets.

View quallenbezwinger's full-sized avatar

quallenbezwinger

View GitHub Profile
@quallenbezwinger
quallenbezwinger / blink.ino
Created February 4, 2021 15:13
Simple script for led blinking with arduino
@quallenbezwinger
quallenbezwinger / set_climate_on_different_times.yaml
Last active January 26, 2022 02:02
Homeassistant Blueprint - Sets a climate entity to a specifc temperatures at a set time everyday. If climate entity is off, it is normally not accepting temperature updated. This blueprints checks if climate entity is off and the temperature update will be set when thermostat is going back in heating mode.
blueprint:
name: Set thermostat temperature at specific times a day
description: Sets a climate entity to a specifc temperatures at a set time everyday. If climate entity is off, it is normally not accepting temperature updated. This blueprints checks if climate entity is off and the temperature update will be set when thermostat is going back in heating mode.
domain: automation
source_url: https://gist.github.com/dirkk1980/70097f1a1e3cea543c3b0fa029754725
input:
time_to_set_morning:
name: Time for morning
description: When should the temperature be set
selector:
@quallenbezwinger
quallenbezwinger / set_climate_on_time.yaml
Last active January 15, 2022 16:34
Set thermostat temperature at specific time - homeassistant blueprint
blueprint:
name: Set thermostat temperature at specific time
description: Sets a climate entity to a specifc temperature at a set time everyday. If climate entity is off, it is normally not accepting temperature updated. This blueprints checks if climate entity is off and the temperature update will be set when thermostat is going back in heating mode.
domain: automation
source_url: https://gist.github.com/dirkk1980/d3a60a5ebc7c58b1c56024cb447bef3c
input:
time_to_set:
name: Time
description: When should the temperature be set
selector:
@quallenbezwinger
quallenbezwinger / enable scene by illuminance.yaml
Last active January 13, 2021 10:22
Turn on scene if illuminance will gow under a specific illuminance and if in specific time frame. Turn off group elements, if illuminance is above threshold. Illuminance check will be done every five minutes and not by every sensor state change. This saves performance.
blueprint:
name: Activate scene by illuminance in time-frame
description: Turn on scene if illuminance will gow under a specific threshold and if in specific time frame. Turn off group elements, if illuminance is above threshold. Scene will not activated if lightgoup is active to prevent an overwrite.
domain: automation
source_url: https://gist.github.com/dirkk1980/9e37a046474dc555f75b871c27ad5693
input:
lightsensor_entity:
name: Illuminance Sensor
selector:
entity:
@quallenbezwinger
quallenbezwinger / window_controlled_heater.yaml
Last active July 11, 2023 11:12
Homeassistant blueprint to switch heater on or off depending on window or door sensor
blueprint:
name: window controlled heater
description: turn on/off heater when opening/closing window or door sensor
domain: automation
source_url: https://gist.github.com/dirkk1980/8ba849b480844b32e9ca484e6de5d552
input:
heating_target:
name: Heater
selector:
entity:
@quallenbezwinger
quallenbezwinger / motion_controlled_scenes_enhanced.yaml
Last active October 3, 2023 13:57
Homeassistant blueprint for motion-activated light scene with surrounding light level check
blueprint:
name: Motion-activated light scene with surrounding light level check and optional ambient scene
description: Turn on a light scene when motion is detected. Three different scenes can be defined depending on time of day. Furthermore a source for checking sourrounding light can be defined to enable light only if it is dark enough.
domain: automation
source_url: https://gist.github.com/dirkk1980/3e5c23acb05fb639bafdc5036b91aae6
input:
motion_entity:
name: Motion Sensor
selector:
entity: