@@ -11,67 +11,74 @@ flash: replace
11
11
category: misc
12
12
type: Heater
13
13
standard: eu
14
- chip: WBR3
14
+ chip: CB3S
15
15
---
16
- ## Functions
17
16
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?!
44
48
45
- ## Configuration
49
+ ### Configuration
46
50
47
51
```console
48
52
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
49
53
```
50
54
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
53
57
54
58
In the webUI an ambient temperature sensor, temperature set sensor and a Timer1 will be shown.
55
59
56
60
Set temperature using TuyaSend2 2,x where x is the desired temperature (0 decimals allowed).
57
61
58
- Label webUI buttons:
59
-
62
+ ##Label webUI buttons:
60
63
```console
61
- backlog webbutton1 Power; webbutton2 DimmDisplay
64
+ backlog webbutton1 Power; webbutton2 DimmDisplay`
62
65
```
63
- ## TuyaEnum
66
+ ### TuyaEnum
64
67
65
68
As of Tasmota 9.1.0.1 #9769 it is possible to map Type4 dpIDs (such as dpID4) to an Enum fn ID.
66
69
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
+ ```
72
78
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 .
74
80
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
76
83
TuyaEnumList Enum1,5,Enum2,5
77
84
```
0 commit comments