Skip to content

Commit ce488a0

Browse files
authored
Update lsc_smart_connect_0742978017955 (#1808)
1 parent 4b648bf commit ce488a0

File tree

1 file changed

+49
-42
lines changed

1 file changed

+49
-42
lines changed

_templates/lsc_smart_connect_0742978017955

Lines changed: 49 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -11,67 +11,74 @@ flash: replace
1111
category: misc
1212
type: Heater
1313
standard: eu
14-
chip: WBR3
14+
chip: CB3S
1515
---
16-
## Functions
1716

18-
- dpID 1 controls device power - turns the device on off
19-
- dpID 2 sets target temperature
20-
- dpID 3 reports ambient temperature using the built in temperature sensor
21-
- dpID 4 control heating modes:
22-
- 0 - day mode
23-
- 1 - eco mode
24-
- 2 - P1
25-
- 3 - P2
26-
- 4 - P3
27-
- 5 - Fr
28-
- dpID 5 control ECO mode (on or off)
29-
- dpID 6 control child lock mode (lock on device controls)
30-
- dpID 10 heating timer in hours
31-
- dpID 11 unknown?!
32-
- dpID 19 timer set in minutes, shown in hours on display
33-
- 0 - timer off
34-
- 1 - timer 60 min
35-
- 2 - timer 120 min
36-
- 3 - timer 180 min
37-
- 4 - timer 240 min
38-
- 5 - timer 300 min
39-
- dpID 20 shown timer in minutes
40-
- dpID 26 error report
41-
- dpID 103 dimming the display
42-
- dpID 104 unknown?!
43-
- dpID 105 unknown?!
17+
18+
19+
20+
### Functions
21+
22+
- `dpID 1` controls device power - turns the device on off
23+
- `dpID 2` sets target temperature
24+
- `dpID 3` reports ambient temperature using the built in temperature sensor
25+
- `dpID 4` control heating modes:
26+
- `0` - day mode
27+
- `1` - eco mode
28+
- `2` - P1
29+
- `3` - P2
30+
- `4` - P3
31+
- `5` - Fr
32+
- `dpID 5` control ECO mode (on or off)
33+
- `dpID 6` control child lock mode (lock on device controls)
34+
- `dpID 10` heating timer in hours
35+
- `dpID 11` unknown?!
36+
- `dpID 19` timer set in minutes, shown in hours on display
37+
- `0` - timer off
38+
- `1` - timer 60 min
39+
- `2` - timer 120 min
40+
- `3` - timer 180 min
41+
- `4` - timer 240 min
42+
- `5` - timer 300 min
43+
- `dpID 20` shown timer in minutes
44+
- `dpID 26` error report
45+
- `dpID 103` dimming the display
46+
- `dpID 104` unknown?!
47+
- `dpID 105` unknown?!
4448

45-
## Configuration
49+
### Configuration
4650

4751
```console
4852
backlog tuyamcu 11,1; tuyamcu 12,103; tuyamcu 98,26; tuyamcu 71,3; tuyamcu 72,2; tuyamcu 81,20; tuyamcu 61,4; tuyamcu 63,19, tempres 0, tuyatempsetres 0
4953
```
5054

51-
- Relay1 maps to dpID1 for power control
52-
- Relay2 maps to dpID103 for dimming the display
55+
- `Relay1` maps to `dpID1` for power control
56+
- `Relay2` maps to `dpID103` for dimming the display
5357

5458
In the webUI an ambient temperature sensor, temperature set sensor and a Timer1 will be shown.
5559

5660
Set temperature using TuyaSend2 2,x where x is the desired temperature (0 decimals allowed).
5761

58-
Label webUI buttons:
59-
62+
##Label webUI buttons:
6063
```console
61-
backlog webbutton1 Power; webbutton2 DimmDisplay
64+
backlog webbutton1 Power; webbutton2 DimmDisplay`
6265
```
63-
## TuyaEnum
66+
### TuyaEnum
6467

6568
As of Tasmota 9.1.0.1 #9769 it is possible to map Type4 dpIDs (such as dpID4) to an Enum fn ID.
6669

67-
Map dpID4 to Enum1 fnID: `TuyaMCU 61,4`
68-
69-
Set Enum1 range (in this case the max enum is 5). `TuyaEnumList 1,5`
70-
71-
Now you can control the heating mode with TuyaEnum1 <x> where x is 0/1/2/3/4/5. If you try a number outside the Enum1 range it will throw an error.
70+
Map dpID4 to Enum1 fnID:
71+
```console
72+
TuyaMCU 61,4
73+
```
74+
Set Enum1 range (in this case the max enum is 5).
75+
```console
76+
TuyaEnumList 1,5
77+
```
7278

73-
To do the same for timer select do TuyaMCU 63,19 then TuyaEnumList 2,5. Control with TuyaEnum2 0/1/2/3/4/5.
79+
Now you can control the heating mode with `TuyaEnum1 <x>` where x is 0/1/2/3/4/5. If you try a number outside the Enum1 range it will throw an error.
7480

75-
```Console
81+
To do the same for timer select do `TuyaMCU 63,19` then `TuyaEnumList 2,5`. Control with `TuyaEnum2 0/1/2/3/4/5`.
82+
```console
7683
TuyaEnumList Enum1,5,Enum2,5
7784
```

0 commit comments

Comments
 (0)