This is a blueprint for the IKEA Tradfri Wireless Remote, specifically for use with deCONZ.
The dimmer can rotate clockwise (up) and anotclockwise (down). These rotations can be used to control anything, but typically would be used to control the brightness of a light.
Blueprint, which you can import by using this forum topic URL:
blueprint:
name: deConz - IKEA wireless dimmer
description: Control anything using IKEA wireless dimmer
domain: automation
input:
remote:
name: switch
description: IKEA wireless dimmer to use
selector:
device:
integration: deconz
manufacturer: IKEA of Sweden
model: TRADFRI wireless dimmer
dimmer_down:
name: On dimmer rotated anticlockwise
description: Action to run on press of dimmer turned anticlockwise
default: []
selector:
action: {}
dimmer_up:
name: On dimmer rotated clockwise
description: Action to run on press of dimmer turned clockwise
default: []
selector:
action: {}
source_url: https://koala.ie
mode: restart
max_exceeded: silent
trigger:
- platform: event
event_type: deconz_event
event_data:
device_id: !input 'remote'
action:
- variables:
event: '{{ trigger.event.data.event }}'
- choose:
- conditions:
- '{{ event == 3002 }}'
sequence: !input 'dimmer_down'
- conditions:
- '{{ event == 2002 }}'
sequence: !input 'dimmer_up'