Picture Controller types Integrations
  • Light (MFKZQ01LMLightController; 350ms delay)
z2m, deconz, zha

Controller types

MFKZQ01LMLightController (Light)

This is the default mapping for this controller:

  • Shake the cube → Minimum brightness
  • Doble tap in a surface → Toggle
  • Swipe horizontal direction → Full brightness
  • Flip cube 180 degrees → Color temp up / Right color wheel (1 step)
  • Flip cube 90 degrees → Color temp down / Left color wheel (1 step)
  • Rotate cube to left → Dim down (1 step)
  • Rotate cube to right → Brighten up (1 step)

This is an example configuration:

      
example_app:
  module: controllerx
  class: MFKZQ01LMLightController
  controller: < controller_id >
  integration: < z2m, deconz, zha >
  light: < light entity >
      
    

Note

This controller does not have a self-explained way to use it since its main purpose is to be customized, this is why we recommend to customize it with custom mapping. deCONZ integration should be added with type gesture.

Integrations

Here you will see the actions that the controller fires when pressing or holding the buttons. In case of z2m it shows the state that the sensor takes. In case of deconz it shows the event id (or gesture) and for zha it shows the command concatenated with the args.

Zigbee2MQTT

  • shake → Shake the cube
  • wakeup → Cube automatically wakeup
  • fall → From up to down acceleration
  • tap → Doble tap in a surface
  • slide → Swipe horizontal direction
  • flip180 → Flip cube 180 degrees
  • flip90 → Flip cube 90 degrees
  • rotate_left → Rotate cube to left
  • rotate_right → Rotate cube to right

DeConz

Arguments needed for this integration: {"type"=>"gesture"}
  • 1 → Shake the cube
  • 0 → Cube automatically wakeup
  • 2 → From up to down acceleration
  • 6 → Doble tap in a surface
  • 5 → Swipe horizontal direction
  • 4 → Flip cube 180 degrees
  • 3 → Flip cube 90 degrees
  • 8 → Rotate cube to left
  • 7 → Rotate cube to right

ZHA

  • shake → Shake the cube
  • drop → From up to down acceleration
  • knock → Doble tap in a surface
  • slide → Swipe horizontal direction
  • flip180 → Flip cube 180 degrees
  • flip90 → Flip cube 90 degrees
  • rotate_left → Rotate cube to left
  • rotate_right → Rotate cube to right

💡 NOTE

When using words like "on" and "off" in the YAML configuration, you will need to wrap them up with quotation marks ("), otherwise they will be parsed as boolean variables (True and False).