Zigbee2MQTTZigbee2MQTT
  • Getting started
  • Supported Adapters
  • Supported Devices
  • Installation
  • Configuration
  • Usage
  • FAQ
Devices
  • Zigbee

    • Zigbee network
    • Improve network range and stability
    • Secure your Zigbee network
    • Sniff Zigbee traffic
    • Create a CC2530 router
  • Support new devices

    • Support new devices
    • Support new Tuya devices
    • Find Tuya Data Points
  • Remote Adapter

    • Connect to a remote adapter
    • Connect to a remote Sonoff ZBBridge
  • More

    • 3D cases
    • External converters
    • External extensions
    • Switch to the dev branch
    • Get Tuya and Xiaomi OTA url
  • Forum
  • Discord
  • Issues
  • Donate
GitHub
GitHub (docs)
  • Getting started
  • Supported Adapters
  • Supported Devices
  • Installation
  • Configuration
  • Usage
  • FAQ
Devices
  • Zigbee

    • Zigbee network
    • Improve network range and stability
    • Secure your Zigbee network
    • Sniff Zigbee traffic
    • Create a CC2530 router
  • Support new devices

    • Support new devices
    • Support new Tuya devices
    • Find Tuya Data Points
  • Remote Adapter

    • Connect to a remote adapter
    • Connect to a remote Sonoff ZBBridge
  • More

    • 3D cases
    • External converters
    • External extensions
    • Switch to the dev branch
    • Get Tuya and Xiaomi OTA url
  • Forum
  • Discord
  • Issues
  • Donate
GitHub
GitHub (docs)

HOBEIAN ZG-302ZM

ModelZG-302ZM
VendorHOBEIAN
DescriptionMotion sensing switch
Exposespresence, switch1, switch2, switch3, sensitivity, backlight, trigger_hold, power_outage_memory, auto_on, auto_off, trigger_switch
PictureHOBEIAN ZG-302ZM

Notes

The power must be disconnected during installation

Exposes

Presence (binary)

Indicates whether the device detected presence. Value can be found in the published state on the presence property. It's not possible to read (/get) or write (/set) this value. If value equals true presence is ON, if false OFF.

Switch1 (binary)

Switch1. Value can be found in the published state on the switch1 property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"switch1": NEW_VALUE}. If value equals ON switch1 is ON, if OFF OFF.

Switch2 (binary)

Switch2. Value can be found in the published state on the switch2 property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"switch2": NEW_VALUE}. If value equals ON switch2 is ON, if OFF OFF.

Switch3 (binary)

Switch3. Value can be found in the published state on the switch3 property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"switch3": NEW_VALUE}. If value equals ON switch3 is ON, if OFF OFF.

Sensitivity (numeric)

detection sensitivity. Value can be found in the published state on the sensitivity property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"sensitivity": NEW_VALUE}. The minimal value is 0 and the maximum value is 19. The unit of this value is x.

Backlight (binary)

backlight. Value can be found in the published state on the backlight property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"backlight": NEW_VALUE}. If value equals ON backlight is ON, if OFF OFF.

Trigger hold (numeric)

Trigger hold(second). Value can be found in the published state on the trigger_hold property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"trigger_hold": NEW_VALUE}. The minimal value is 5 and the maximum value is 28800. The unit of this value is s.

Power outage memory (enum)

Recover state after power outage. Value can be found in the published state on the power_outage_memory property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"power_outage_memory": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"power_outage_memory": NEW_VALUE}. The possible values are: on, off, restore.

Auto on (enum)

Someone turn on the light. Value can be found in the published state on the auto_on property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"auto_on": NEW_VALUE}. The possible values are: off, all, ch1, ch2, ch3, ch1_2, ch2_3, ch1_3.

Auto off (enum)

No one turns off the lights. Value can be found in the published state on the auto_off property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"auto_off": NEW_VALUE}. The possible values are: off, all, ch1, ch2, ch3, ch1_2, ch2_3, ch1_3.

Trigger switch (enum)

Switch state reversal. Value can be found in the published state on the trigger_switch property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"trigger_switch": NEW_VALUE}. The possible values are: ch1, ch2, ch3.

Help to make the docu better and edit this page on Github ✌
Last Updated:: 5/7/25, 7:30 PM