Skip to content

Commit

Permalink
Added Zigbee2MQTT IKEA TRADFR Remote (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Groch authored Jan 3, 2023
1 parent 6696689 commit 30722c2
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: IKEA TRÅDFRI Remote
service: Zigbee2MQTT
event_type: mqtt
mqtt_topic_format: zigbee2mqtt/+/action
buttons:
- d: "m 125.39779,325.9315 c -14.57895,-22.6964 -22.32903,-49.1038 -22.32903,-76.0792 0.0512,-26.9598 7.84298,-53.3385 22.44891,-75.9998 l 3.22616,-4.917 c 26.33697,-37.4943 69.27512,-59.8234 115.09414,-59.8559 45.80207,0.068 88.70764,22.415 115.01856,59.9067 l 3.42148,4.7856 c 14.58025,22.6965 22.33164,49.1038 22.33164,76.0792 -0.052,26.9598 -7.84455,53.3385 -22.45152,75.9985 l -3.22616,4.9174 c -26.33828,37.493 -69.27512,59.8221 -115.09414,59.8533 -45.80077,-0.068 -88.70504,-22.415 -115.01596,-59.9054 z"
shape: path
actions:
- title: press
conditions:
- key: payload
value: toggle
- title: hold
conditions:
- key: payload
value: toggle_hold
- d: "M 243.83797,23.1208 A 226.71716,226.71716 0 0 0 57.617181,120.9753 l 66.888079,44.9669 a 145.95894,145.95894 0 0 1 119.33661,-62.0619 145.95894,145.95894 0 0 1 119.25844,62.1153 l 67.13043,-45.1323 A 226.71716,226.71716 0 0 0 243.84057,23.1208 Z"
shape: path
actions:
- title: press
conditions:
- key: payload
value: brightness_up_click
- title: hold
conditions:
- key: payload
value: brightness_up_hold
- title: hold (released)
conditions:
- key: payload
value: brightness_up_release
- d: "M 124.57692,333.7494 57.443885,378.8817 A 226.71716,226.71716 0 0 0 243.83406,476.6242 226.71716,226.71716 0 0 0 430.05484,378.7697 L 363.16676,333.8028 A 145.95894,145.95894 0 0 1 243.83015,395.8621 145.95894,145.95894 0 0 1 124.57432,333.7494 Z"
shape: path
actions:
- title: press
conditions:
- key: payload
value: brightness_down_click
- title: hold
conditions:
- key: payload
value: brightness_down_hold
- title: hold (released)
conditions:
- key: payload
value: brightness_down_release
- d: "m 54.065279,125.9253 a 226.71716,226.71716 0 0 0 -36.948383,123.9048 226.71716,226.71716 0 0 0 37.042197,123.841 l 66.872437,-44.9577 a 145.95894,145.95894 0 0 1 -23.15251,-78.8846 145.95894,145.95894 0 0 1 23.2763,-78.8011 z"
shape: path
actions:
- title: press
conditions:
- key: payload
value: arrow_left_click
- title: hold
conditions:
- key: payload
value: arrow_left_hold
- title: hold (released)
conditions:
- key: payload
value: arrow_left_release
- d: "m 433.51163,126.0556 -66.87245,44.9565 a 145.95894,145.95894 0 0 1 23.15512,78.8845 145.95894,145.95894 0 0 1 -23.2789,78.8012 l 67.09004,45.1036 a 226.71716,226.71716 0 0 0 36.94838,-123.9048 226.71716,226.71716 0 0 0 -37.04219,-123.841 z"
shape: path
actions:
- title: press
conditions:
- key: payload
value: arrow_right_click
- title: hold
conditions:
- key: payload
value: arrow_right_hold
- title: hold (released)
conditions:
- key: payload
value: arrow_right_release

0 comments on commit 30722c2

Please sign in to comment.