divadiow wrote:for sure @spin55?
I suppose that if you ask that question it is because you doubt that it is because you have problems when trying it.
The process is clearly described throughout the thread and confirmed by @Nanganator.
{
"vendor": "Tuya",
"bDetailed": "0",
"name": "Full Device Name Here",
"model": "enter short model name here",
"chip": "BK7231T",
"board": "TODO",
"flags": "1024",
"keywords": [
"TODO",
"TODO",
"TODO"
],
"pins": {
"8": "IRRecv;0",
"26": "IRSend;0"
},
"command": "",
"image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
"wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
}startDriver TuyaMCU
startDriver NTP
ntp_setServer 192.168.4.45
ntp_timeZoneOfs 10:00
setChannelType 1 temperature_div10
linkTuyaMCUOutputToChannel 101 val 1
setChannelType 2 Humidity
linkTuyaMCUOutputToChannel 102 val 2TL;DR: Average TH06/S09 draw is 25 mA at 5 V (≈0.15 W) and “flashing was disgustingly easy!” [Elektroda, p.kaczmarek2, #19532446; Nanganator, #20575359]. Cloud-cutter works on firmware ≤1.1.80, but 2.1.17 units need wired flashing.
Why it matters: Knowing the hardware limits and flash paths saves hours of trial-and-error.
• Supply: 5 V DC, 20–30 mA running, 0.15 W typical [Elektroda, 19532446] • Sensors: AHT10 or AHT20, ±0.3 °C, ±2 % RH accuracy (datasheet) • UART link: 9600 bps, 8 N 1, header 0x55 0xAA [Elektroda, 19532446] • IR pins: P14 (older S09) or P26 (new PCB) for transmit; P8/PWM2 for receive [Elektroda, #20672815; #20359963] • Exploit: tuya-cloudcutter supports WB3S firmware ≤1.1.80; CB3S/N firmware ≥2.1.17 unpatchable OTA [Elektroda, post #21061247]
cmnd/<device>/IRSend 0xE0E040BF for Samsung power, for example [Elektroda, 20672815]
value_template: "{{ (value|float*0.1-1.3)|round(1) }}"
adds a −1.3 °C correction. Humidity uses +3.6 [Elektroda, 20577583]python uartprogram OpenBK7231T_UA.bin -d COMx -w.