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)

Slacky-DIY TS0041-M001-SlD

ModelTS0041-M001-SlD
VendorSlacky-DIY
DescriptionTuya wireless switch with 1 buttons with custom firmware
Exposesbattery, switch_actions, switch_type, scene_id, group_id, action
PictureSlacky-DIY TS0041-M001-SlD

Original project description

OTA updates

This device supports OTA updates, for more information see OTA updates.

Options

How to use device type specific configuration

  • simulated_brightness: Simulate a brightness value. If this device provides a brightness_move_up or brightness_move_down action it is possible to specify the update interval and delta. The action_brightness_delta indicates the delta for each interval. Example:
simulated_brightness:
  delta: 20 # delta per interval, default = 20
  interval: 200 # interval in milliseconds, default = 200

Exposes

Battery (numeric)

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

Switch actions (enum, 1 endpoint)

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

Switch type (enum, 1 endpoint)

Switch type. Value can be found in the published state on the switch_type_1 property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"switch_type_1": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"switch_type_1": NEW_VALUE}. The possible values are: toggle, momentary, multifunction, brightness_level, scene.

Scene id (numeric, 1 endpoint)

Scene ID. Value can be found in the published state on the scene_id_1 property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"scene_id_1": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"scene_id_1": NEW_VALUE}. The minimal value is 0 and the maximum value is 255.

Group id (numeric, 1 endpoint)

Group ID for scenes. Value can be found in the published state on the group_id_1 property. To read (/get) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get with payload {"group_id_1": ""}. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"group_id_1": NEW_VALUE}. The minimal value is 0 and the maximum value is 65527.

Action (enum)

Triggered action (e.g. a button click). Value can be found in the published state on the action property. It's not possible to read (/get) or write (/set) this value. The possible values are: on_1, off_1, toggle_1, hold_1, single_1, double_1, triple_1, quadruple_1, quintuple_1, release_1, brightness_move_to_level_1, brightness_move_up_1, brightness_move_down_1, brightness_step_up_1, brightness_step_down_1, brightness_stop_1, recall_1, store_1, add_1, remove_1, remove_all_1.

Help to make the docu better and edit this page on Github ✌
Last Updated: 4/11/26, 11:08 AM