ZSVIOT PN6
| Model | PN6 |
| Vendor | ZSVIOT |
| Description | 6-way controller |
| Exposes | switch (state), switch_mode, switch_type, power_on_behavior |
| Picture | ![]() |
Exposes
Switch
The current state of this switch is in the published state under the state property (value is ON or OFF). To control this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"state": "ON"}, {"state": "OFF"} or {"state": "TOGGLE"}. It's not possible to read (/get) this value.
1-2 channels (enum, l1_l2 endpoint)
Sets the mode of the switch to act as a switch or as a curtain controller. Value can be found in the published state on the switch_mode_l1_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 {"switch_mode_l1_l2": NEW_VALUE}. The possible values are: switch, curtain.
Switch (l1 endpoint)
The current state of this switch is in the published state under the state_l1 property (value is ON or OFF). To control this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"state_l1": "ON"}, {"state_l1": "OFF"} or {"state_l1": "TOGGLE"}. It's not possible to read (/get) this value.
Switch (l2 endpoint)
The current state of this switch is in the published state under the state_l2 property (value is ON or OFF). To control this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"state_l2": "ON"}, {"state_l2": "OFF"} or {"state_l2": "TOGGLE"}. It's not possible to read (/get) this value.
3-4 channels (enum, l3_l4 endpoint)
Sets the mode of the switch to act as a switch or as a curtain controller. Value can be found in the published state on the switch_mode_l3_l4 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 {"switch_mode_l3_l4": NEW_VALUE}. The possible values are: switch, curtain.
Switch (l3 endpoint)
The current state of this switch is in the published state under the state_l3 property (value is ON or OFF). To control this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"state_l3": "ON"}, {"state_l3": "OFF"} or {"state_l3": "TOGGLE"}. It's not possible to read (/get) this value.
Switch (l4 endpoint)
The current state of this switch is in the published state under the state_l4 property (value is ON or OFF). To control this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"state_l4": "ON"}, {"state_l4": "OFF"} or {"state_l4": "TOGGLE"}. It's not possible to read (/get) this value.
5-6 channels (enum, l5_l6 endpoint)
Sets the mode of the switch to act as a switch or as a curtain controller. Value can be found in the published state on the switch_mode_l5_l6 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 {"switch_mode_l5_l6": NEW_VALUE}. The possible values are: switch, curtain.
Switch (l5 endpoint)
The current state of this switch is in the published state under the state_l5 property (value is ON or OFF). To control this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"state_l5": "ON"}, {"state_l5": "OFF"} or {"state_l5": "TOGGLE"}. It's not possible to read (/get) this value.
Switch (l6 endpoint)
The current state of this switch is in the published state under the state_l6 property (value is ON or OFF). To control this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"state_l6": "ON"}, {"state_l6": "OFF"} or {"state_l6": "TOGGLE"}. It's not possible to read (/get) this value.
Switch type (enum)
Type of the switch. Value can be found in the published state on the switch_type property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"switch_type": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"switch_type": 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, on.

