Skip to content

User documented device config

Rayan Khan edited this page Feb 21, 2022 · 18 revisions

Below is a list of configurations for devices by users of the plugin. Please follow the example template below, and include a link to the device.

Air Conditioner:

Air Purifier

Convector

Dehumidifier

Dimmer

Simple Dimmer

Treatlife Dimmable Smart Plug for Lamps

Tested plugin version: 2.0.1

Tested by: @benwtf

Link to buy: Amazon

Working/non-working capabilities: On / off and dimming working. Timers and configuring dimming mode must be done from Tuya app.

  • On/Off
  • Dimming
  • Timer (Use Tuya app)
  • Dimming Config (Use Tuya app)

Config:

            {
                "type": "SimpleDimmer",
                "name": "Lamp",
                "id": "xxx",
                "key": "xxx",
                "manufacturer": "Treatlife",
                "model": "WiFi Smart Dimmer Plug",
                "scaleBrightness": 1000
            }

Schema/DP's:

Treatlife Dimmable Smart Plug DP12

Tested plugin version: 2.0.1

Tested by: @benwtf

Link to buy: Amazon

Notes: Works for plug 1. Can't figure out how to get Plug 2 set up yet.

Config:

             {
                "type": "SimpleDimmer",
                "name": "TreatLife Dimmer",
                "id": "ab123c45cde6fgh789",
                "key": "111a22b3333cd444",
                "manufacturer": "TreatLife",
                "model": "DP12",
                "dpPower": 1,
                "dpBrightness": 2,
                "scaleBrightness": 1000
            }

Schema/DP's:

      "status": [
        {
          "code": "switch_led_1",
          "value": true
        },
        {
          "code": "bright_value_1",
          "value": 528
        },
        {
          "code": "brightness_min_1",
          "value": 528
        },
        {
          "code": "led_type_1",
          "value": "led"
        },
        {
          "code": "countdown_1",
          "value": 0
        },
        {
          "code": "switch_led_2",
          "value": false
        },
        {
          "code": "bright_value_2",
          "value": 183
        },
        {
          "code": "brightness_min_2",
          "value": 183
        },
        {
          "code": "led_type_2",
          "value": "led"
        },
        {
          "code": "countdown_2",
          "value": 0
        },
        {
          "code": "light_mode",
          "value": "relay"
        }
      ],

Fan

Fan v2

Garage

Heater

Lights

Simple Light (No Color)

TW Light (Tunable White Light)

Merkury Innovations Dimmable 75W Equivalent Wi-Fi Smart Bulb, Color - BW904

Tested plugin version: 2.0.1

Tested by: @clarionite

Link to buy: WalMart

Capabilities:

  • - Adaptive Lighting
  • - Brightness
  • - Color Temperature

Config:

             {
                    "type": "RGBTWLight",
                    "name": "Merkury Color",
                    "id": "ab123c45cde6fgh789",
                    "key": "111a22b3333cd444",
                    "manufacturer": "Merkury BW904 Smart Bulb",
                    "model": "MI-BW904-999W",
                    "dpColorTemperature": 4
                }

Schema/DP's:

Treatlife Smart Tunable White Bulb

Tested plugin version: 2.0.1

Tested by: @benwtf

Link to buy: Amazon

Capabilities:

  • - Adaptive Lighting
  • - Brightness
  • - Color Temperature
  • - Timer (Use Tuya app)

Config:

                {
                    "type": "TWLight",
                    "name": "Office Lamp",
                    "id": "xxx",
                    "key": "xxx",
                    "manufacturer": "Treatlife",
                    "model": "Smart Light Bulb",
                    "dpPower": 20,
                    "dpBrightness": 22,
                    "dpColorTemperature": 23,
                    "minWhiteColor": 154,
                    "maxWhiteColor": 370,
                    "scaleBrightness": 1000,
                    "scaleWhiteColor": 1000
                }

Schema/DP's:

RGBTW Light (Red, Green, Blue, Tunable White Light)

ChangM e16 Chandelier Bulb

Tested plugin version(s): (1.4.0 -> 2.0.1)

Tested by: @iRayanKhan

Link to buy: Amazon (removed)

Capabilities:

  • - Adaptive Lighting
  • - Brightness
  • - Color

Config:

                {
                    "name": "A Light",
                    "type": "RGBTWLight",
                    "manufacturer": "Rayan Khan",
                    "model": "OoogaBooga",
                    "id": "xx",
                    "key": "xx",
                    "scaleBrightness": 1000,
                    "dpPower": 20,
                    "dpMode": 21,
                    "dpBrightness": 22,
                    "dpColor": 24,
                    "colorFunction": "HSB"
                }

Schema/DP's:

Oil Diffuser

Outlet

Treatlife Smart Plug

Tested plugin version: 2.0.1

Tested by: @benwtf

Link to buy: Amazon

Capabilities:

  • On/Off
  • Timers (Use Tuya app)

Config:

            {
                "type": "Outlet",
                "name": "Subwoofer",
                "id": "xxx",
                "key": "xxx",
                "manufacturer": "Treatlife",
                "model": "Smart WiFi Plug"
            }

Schema/DP's:

Switch

Thermostat

Clone this wiki locally