prefixkit Ask an engineerAsk Support RU

Zigbee devices Motion and presence sensors

CTL CTL-Mini-DTP-TYZ/AC

Radar and PIR dual-technology presence sensor. Works with Zigbee2MQTT with no vendor hub or cloud: it pairs with a Zigbee stick and shows up in Home Assistant.

Vendor
CTL
Model
CTL-Mini-DTP-TYZ/AC
Type
Motion and presence sensors
Power
mains: usually a router that extends the mesh
Firmware updates (OTA)
no

Find it in shops: AliExpress

Links open a search in the shop; some are affiliate links: buying through them costs you nothing extra and supports this site. We do not sell devices or get them from manufacturers.

What it exposes

FeaturePropertyValuesControl
Presencepresence—read only
Illuminanceilluminancelxread only
Illuminance high thresholdilluminance_threshold_highlx · 0…2000settable
Illuminance low thresholdilluminance_threshold_lowlx · 0…1000settable
No-presence delaypresence_timeouts · 5…3600settable
Light statelight_switch—settable
Light linkagelight_linkage—settable
Illuminance linkageilluminance_linkage—settable
Presence breathing indicatorbreathing_indicator—settable
Detection methoddetection_methodpresence, motionsettable
SensitivitysensitivityLL, L, M, H, HHsettable
Available program functionprogram_functionnull, no_one_1min, no_one_3min, no_one_5min, no_one_10min, no_one_15min, no_one_30min, no_one_1hour …read only
Installation modeinstallation_modeceiling, wallsettable
Installation heightinstallation_heightm · 2…3.2settable
Ceiling detection radiusdetection_radiusm · 1…5settable
Wall detection distancedetection_rangem · 1…8settable
Environment learningenvironment_learningnone, light, medium, deep, disablesettable
Manual annotationmanual_annotationnull, no_one_last_1h, no_one_last_2h, no_one_last_4h, no_one_last_8h, no_one_last_12h, no_one_last_24hsettable
Sensor power controlsensor_poweron, off, off_10s_restart, off_30s_restart, off_60s_restart, pause_upload, pause_upload_10s, pause_upload_30s …settable
System settingsystem_settingnone, identify_start, identify_stop, check_start, check_stop, restore_factory, state_flip_reportsettable
System informationsystem_info—read only

MQTT: state and commands

Zigbee2MQTT publishes the device state to zigbee2mqtt/my_device (my_device is the name you give the device). An example message:

{
  "presence": false,
  "illuminance": 120,
  "illuminance_threshold_high": 1000,
  "illuminance_threshold_low": 500,
  "presence_timeout": 1803,
  "light_switch": false,
  "light_linkage": false,
  "illuminance_linkage": false,
  "breathing_indicator": false,
  "detection_method": "presence",
  "sensitivity": "LL",
  "program_function": "null",
  "installation_mode": "ceiling",
  "installation_height": 3,
  "linkquality": 120
}

Send commands to zigbee2mqtt/my_device/set:

mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"light_switch":true}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"light_linkage":true}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"illuminance_linkage":true}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"breathing_indicator":true}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"detection_method":"motion"}'

Watch the topics live from the browser: MQTT client.

Home Assistant automation example

Zigbee2MQTT creates Home Assistant entities from the device name. If it is called my_device, an automation in automations.yaml can look like this:

- alias: "Light on motion"
  mode: single
  triggers:
    - trigger: state
      entity_id: binary_sensor.my_device_presence
      to: "on"
  conditions:
    - condition: sun
      after: sunset
  actions:
    - action: light.turn_on
      target:
        entity_id: light.hallway

Check the YAML: YAML checker.

How to pair it

  1. In Zigbee2MQTT click Permit join.
  2. Put the device in pairing mode: usually a long press of the reset button (5–10 s) until the LED blinks; bulbs: switch the power off and on 5–6 times.
  3. Keep the device close to the coordinator or a router while pairing.
  4. Give it a clear name: MQTT topics and Home Assistant entities are built from it.

Exact procedure and model notes: the device page in the Zigbee2MQTT docs. No coordinator yet: coordinator picker.

Similar devices

Idea?