title | description |
---|---|
TuYa TS0601_curtain control via MQTT |
Integrate your TuYa TS0601_curtain via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendors bridge or gateway. |
To contribute to this page, edit the following file
| Model | TS0601_curtain | | Vendor | TuYa | | Description | Curtain motor | | Supports | open, close, stop, position | | Picture | | | White-label | Yushun YS-MT750, Zemismart ZM79E-DT, Binthen BCM100D, Binthen CV01A, Zemismart M515EGB, Tuya DT82LEMA-1.2N |
By publishing to zigbee2mqtt/[FRIENDLY_NAME]/set
various device attributes can be configured:
{
"options":{
"reverse_direction": xxx
}
}
- reverse_direction: (
true
/false
, default:false
). Device can be configured to act in an opposite direction.
How to use device type specific configuration
invert_cover
: By default the position/tilt values mean: open = 100, closed = 0. This can be inverted by setting this option to true (so open = 0, close = 100).
Although Home Assistant integration through MQTT discovery is preferred, manual integration is possible with the following configuration:
{% raw %}
cover:
- platform: "mqtt"
availability_topic: "zigbee2mqtt/bridge/state"
command_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
value_template: "{{ value_json.position }}"
set_position_template: "{ \"position\": {{ position }} }"
set_position_topic: "zigbee2mqtt/<FRIENDLY_NAME>/set"
position_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
sensor:
- platform: "mqtt"
state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
availability_topic: "zigbee2mqtt/bridge/state"
unit_of_measurement: "lqi"
value_template: "{{ value_json.linkquality }}"
icon: "mdi:signal"
{% endraw %}