Skip to content

SONOFF SNZB01

SONOFF SNZB01

  • Manufacturer: SONOFF
  • Device ID: SNZB01
  • Controller types: Light (SNZB01LightController)
  • Integrations: Zigbee2MQTT (z2m), ZHA (zha)

Build the configuration for this device

Light

  • Class: SNZB01LightController
  • Entity parameter: light
  • Default delay: 350ms

Default mapping

Each row shows the events fired by the device for each integration and the predefined action they trigger by default. You can change it with a custom mapping.

Zigbee2MQTT ZHA Predefined action
single toggle toggle
double "on" on_full_brightness
long "off" on_min_brightness

Example configuration

example_app:
  module: controllerx
  class: SNZB01LightController
  integration:
    name: z2m
    listen_to: mqtt
  controller: my_controller
  light: light.my_entity_id
example_app:
  module: controllerx
  class: SNZB01LightController
  integration:
    name: z2m
    listen_to: event
  controller: my_controller_action
  light: light.my_entity_id
example_app:
  module: controllerx
  class: SNZB01LightController
  integration: zha
  controller: 00:11:22:33:44:55:66:77:88
  light: light.my_entity_id