DS 102 - qtoggle/espqtoggle GitHub Wiki
Device
Description
DS-102 is a smart lightswitch.
By default, it runs Tuya proprietary firmware.
The following models are available (with or without neutral requirement):
- 1 channel
- 2 channels
- 3 channels
Configuration
Provisioning configuration names:
espqtoggle/various/ds-102/1-channel
espqtoggle/various/ds-102/2-channel
espqtoggle/various/ds-102/3-channel
Flash Parameters
- flash mode: QIO
- flash frequency: 40MHz
Pins
1 & 2 channels
Number | Function | Remarks |
---|---|---|
0 | status LED | active low |
1 | LED 2 | active low |
3 | push button 1 | active low |
4 | relay 2 | active high |
5 | push button 2 | active low |
13 | relay 1 | active high |
14 | LED 1 | active low |
3 channels
Number | Function | Remarks |
---|---|---|
0 | status LED | active low |
1 | LED 3 | active low |
3 | push button 2 | active low |
4 | relay 2 | active high |
5 | push button 3 | active low |
12 | push button 1 | active low |
13 | relay 1 | active high |
14 | LED 2 | active low |
15 | relay 3 | active high |
16 | LED 1 | active low |
Ports
Id | Type | Description | Range/Unit | Remarks |
---|---|---|---|---|
push_button1 |
boolean | on/off button 1, setup button | ||
push_button2 |
boolean | on/off button 2 | only models with 2 and 3 channels | |
push_button3 |
boolean | on/off button 3 | only models with 3 channels | |
led1 |
boolean | on/off LED 1 | ||
led2 |
boolean | on/off LED 2 | ||
led3 |
boolean | on/off LED 3 | only models with 3 channels | |
relay1 |
boolean | relay 1 | ||
relay2 |
boolean | relay 2 | only models with 2 and 3 channels | |
relay3 |
boolean | relay 3 | only models with 3 channels | |
button_held |
button_held | button held status |
Installation
Follow the Tuya Convert OS procedure.
Next Steps
You can now power your device by connecting it to mains. Follow the initial setup instructions to connect the device to Wi-Fi and add it to your qToggle system.