Skip to content

SmartThingsButton

Picture Controller types Integrations
  • LightSmartThingsButtonLightController
  • Media PlayerSmartThingsButtonMediaPlayerController
  • Zigbee2MQTT (z2m)
  • deCONZ (deconz)
  • ZHA (zha)

Light

Class: SmartThingsButtonLightController

Default delay: 350ms

Default mapping:

Zigbee2MQTT deCONZ ZHA Predefined actions
single 1002 button_single_1_0_0_0 toggle
double 1004 button_double_2_0_0_0 on_full_brightness
hold 1001 button_hold_3_0_0_0 set_half_brightness
example_app:
  module: controllerx
  class: SmartThingsButtonLightController
  integration: z2m
  controller: sensor.my_controller_action
  light: light.my_entity_id
example_app:
  module: controllerx
  class: SmartThingsButtonLightController
  integration:
    name: z2m
    listen_to: mqtt
  controller: my_controller
  light: light.my_entity_id
example_app:
  module: controllerx
  class: SmartThingsButtonLightController
  integration: deconz
  controller: my_controller
  light: light.my_entity_id
example_app:
  module: controllerx
  class: SmartThingsButtonLightController
  integration: zha
  controller: 00:11:22:33:44:55:66:77:88
  light: light.my_entity_id

Media Player

Class: SmartThingsButtonMediaPlayerController

Default delay: 500ms

Default mapping:

Zigbee2MQTT deCONZ ZHA Predefined actions
single_click 1002 button_single_1_0_0_0 play_pause
double_click 1004 button_double_2_0_0_0 next_track
hold 1001 button_hold_3_0_0_0 previous_track
example_app:
  module: controllerx
  class: SmartThingsButtonMediaPlayerController
  integration: z2m
  controller: sensor.my_controller_action
  media_player: media_player.my_entity_id
example_app:
  module: controllerx
  class: SmartThingsButtonMediaPlayerController
  integration:
    name: z2m
    listen_to: mqtt
  controller: my_controller
  media_player: media_player.my_entity_id
example_app:
  module: controllerx
  class: SmartThingsButtonMediaPlayerController
  integration: deconz
  controller: my_controller
  media_player: media_player.my_entity_id
example_app:
  module: controllerx
  class: SmartThingsButtonMediaPlayerController
  integration: zha
  controller: 00:11:22:33:44:55:66:77:88
  media_player: media_player.my_entity_id
Back to top