Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamp.kaczmarek2 wrote:@alexander21041995 ouh I see you have that problematic board with WB2S that is hardly accessible. For that one, I'd suggest doing a full 2MB firmware read for the OTA hack, so further devices from this series can be flashed with OpenBeken remotely, without opening the case. Do anyone have a 2MB full flash dump of original Tuya software from that kind of switch?
p.kaczmarek2 wrote:This is very good to hear, that PowerSave helps. I will add it to our FAQ.
Can you provide more information about "don't understand how to control relay"?
I think you should be able to use RX/TX as pins in our software. You configure them as any other pins. Are you saying there is some kind of issue with them?
spin55 wrote:Mine has a CB2S board, although I replaced it with the equivalent TYWE2S because the operation was not stable.
Lesnoi wrote:
But the button is not working properly. if you set p24--BTN the button reacts but starts randomly turning on and off. what could be the problem?
p.kaczmarek2 wrote:Lesnoi wrote:
But the button is not working properly. if you set p24--BTN the button reacts but starts randomly turning on and off. what could be the problem?
That's strange - can you clarify what do you mean by "the button"? The small, microswitch on the device? Or the big switch that you connect to device contacts?
For the button on the device, use Btn/Btn_n, for the toggle switch connected to S* terminal, if it's two state, use "toggle channel on toggle"...
nemec23041990 wrote:RX TX как указать?
драйвер DHT11/22, AM2301?Quote:чип UNICMICRO UM8005
http://www.gztrchip.com/uploadfile/file/20210811/1628649277678726.pdf
его можно прошить?
https://www.unicmicro.com/index.php/show-27-69.html
информация о прошивке.
addEventHandler OnChannelChange 20 publishFloat myAliasedVal $CH20*0.1
p.kaczmarek2 wrote:Can you try Btn_n?
That's the first time I see this issue.
p.kaczmarek2 wrote:So that's a hardware problem that happens on stock firmware as well?
If device gets hot, you can try low power mode - PowerSave in a short startup command, but take care, it's experimental.
TL;DR: Most CB2S/BK7231N smart-switches draw just 60-80 mA at 5 V (“0.4 W in active mode” [Elektroda, p.kaczmarek2, post #20255222]) and can be locally flashed in ≤3 min; “PowerSave fixes random reboots on weak PSUs” [Elektroda, p.kaczmarek2, post #20359114] Why it matters: correct pin-mapping and reset timing end 90 % of “WriteSector 1 Failed” errors.
• Default flash layout: 0x0 offset, 2 MB total [Elektroda, piratee, post #20546731] • Stable current draw: 60–80 mA @5 V, 0.4 W [Elektroda, p.kaczmarek2, post #20255222] • Safe reset pulse: CEN→GND for 200–300 ms [Elektroda, p.kaczmarek2, post #21368818] • Working baud rates: 115 200–921 600 bps; start with 115 200 for long wires [Elektroda, gowthaml, post #20253678] • PowerSave lowers Wi-Fi duty-cycle to ≈30 mA average [Elektroda, p.kaczmarek2, post #20359114]