AVATTO ZDMS16-2
| Model | ZDMS16-2 | 
| Vendor | AVATTO | 
| Description | Zigbee Module 2 channels Dimmer | 
| Exposes | light (state, brightness, min_brightness, max_brightness), countdown, switch_type, power_on_behavior | 
| Picture |  | 
Exposes
Light (l1 endpoint)
This light supports the following features: state, brightness, min_brightness, max_brightness.
- state: To control the state publish a message to topic- zigbee2mqtt/FRIENDLY_NAME/setwith payload- {"state_l1": "ON"},- {"state_l1": "OFF"}or- {"state_l1": "TOGGLE"}. To read the state send a message to- zigbee2mqtt/FRIENDLY_NAME/getwith payload- {"state_l1": ""}.
- brightness: To control the brightness publish a message to topic- zigbee2mqtt/FRIENDLY_NAME/setwith payload- {"brightness_l1": VALUE}where- VALUEis a number between- 0and- 254. To read the brightness send a message to- zigbee2mqtt/FRIENDLY_NAME/getwith payload- {"brightness_l1": ""}.
Countdown (numeric, l1 endpoint)
Countdown to turn device off after a certain time. Value can be found in the published state on the countdown_l1 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 {"countdown_l1": NEW_VALUE}. The minimal value is 0 and the maximum value is 43200. The unit of this value is s.
Switch type (enum, l1 endpoint)
Type of the switch. Value can be found in the published state on the switch_type_l1 property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"switch_type_l1": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"switch_type_l1": NEW_VALUE}. The possible values are: toggle, state, momentary.
Light (l2 endpoint)
This light supports the following features: state, brightness, min_brightness, max_brightness.
- state: To control the state publish a message to topic- zigbee2mqtt/FRIENDLY_NAME/setwith payload- {"state_l2": "ON"},- {"state_l2": "OFF"}or- {"state_l2": "TOGGLE"}. To read the state send a message to- zigbee2mqtt/FRIENDLY_NAME/getwith payload- {"state_l2": ""}.
- brightness: To control the brightness publish a message to topic- zigbee2mqtt/FRIENDLY_NAME/setwith payload- {"brightness_l2": VALUE}where- VALUEis a number between- 0and- 254. To read the brightness send a message to- zigbee2mqtt/FRIENDLY_NAME/getwith payload- {"brightness_l2": ""}.
Countdown (numeric, l2 endpoint)
Countdown to turn device off after a certain time. Value can be found in the published state on the countdown_l2 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 {"countdown_l2": NEW_VALUE}. The minimal value is 0 and the maximum value is 43200. The unit of this value is s.
Switch type (enum, l2 endpoint)
Type of the switch. Value can be found in the published state on the switch_type_l2 property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"switch_type_l2": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"switch_type_l2": NEW_VALUE}. The possible values are: toggle, state, momentary.
Power-on behavior (enum)
Controls the behavior when the device is powered on after power loss. Value can be found in the published state on the power_on_behavior 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 {"power_on_behavior": NEW_VALUE}. The possible values are: off, previous, on.
