Skip to content

Instantly share code, notes, and snippets.

@boelle
boelle / roller_blind_control.yaml
Created January 30, 2021 19:52
Esphome code for roller blinds
# 1) Press button for > 1 second to enter setup mode
# 2) Press button again to start the blind closing
# 3) Press button again when closed and blind starts to open (actually resets the stepper position to 0)
# 4) Press button again when blind is fully open
# 5) Job Done
# Button is also used to open/close the blind (must be fully open/closed first)
esphome:
blueprint:
name: Shutter Remote with Ikea Tradfri 2B
description: |
Control a shutter with an Ikea Tradfri two button remote over deconz.
Tested with this esphome code: https://gist.github.com/boelle/b08c2c78948f243f9a44a551cb0f4775
Short press on I button will toggle the shutter state.
Short press on 0 button will stop the shutter.
Long press on I button will open the shutter.
@boelle
boelle / deconz-ikea-five-button-remote-for-lights-with-color-temp.yaml
Last active February 13, 2021 13:47
deCONZ - IKEA five button remote for lights with color temp
blueprint:
name: deCONZ - IKEA five button remote for lights with color temp
description: 'Control light entities with an IKEA five button remote (the round ones).
The middle "on" button, toggles the lights on/off.
Dim up/down buttons will change the brightness smoothly and can be pressed and
held until the brightness is satisfactory.