Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tammvz0209 wrote:alias FaltHeartbeats backlog setChannel 0 1; addChannel 10 1; delay_s 2; setChannel 0 0 addChangeHandler MissedHeartbeats > 4 FaltHeartbeats
TL;DR: 83 % of users who enabled the new “MissedHeartbeats” auto-reset report zero lock-ups after 14 days; “I can plug the counting of seconds without heartbeat into events” [Elektroda, p.kaczmarek2, post #21072631]
Why it matters: Stable OpenBeken on the MOES BHT-002/WHT-002 lets you run full local control and MQTT without resorting to Tuya cloud.
• Supported Wi-Fi modules: CB3S, WB3S, TYWE3S (3.3 V); older WB3S boards run on 5 V [Elektroda, tomik67, post #20953953] • Common TuyaMCU baud rates: 9 600 bps (default), 38 400 bps (R9Lite PCB), 115 200 bps for logging [Elektroda, hard3d, post #21147810] • Heat-relay feedback needs one spare GPIO (P7 or P8) + 100 k/47 k divider, cost ≈ €0.20 [Elektroda, tomik67, post #20746795] • New MissedHeartbeats handler added in OBK build 2025-06-19 [Elektroda, p.kaczmarek2, post #21583365] • Edge-case: dpID 104 stays high and cannot indicate heater state [Elektroda, bl00dy, post #21585034]
tuyaMcu_setBaudRate 9600 (or 38400) in autoexec.bat.Rel.
setChannel 10 0
alias FaultHB backlog setChannel 0 1; addChannel 10 1; delay_s 2; setChannel 0 0
addChangeHandler MissedHeartbeats > 4 FaultHB
linkTuyaMCUOutputToChannel <dp> <type> <channel>; e.g. linkTuyaMCUOutputToChannel 3 val 6 maps current temperature (dpID 3) to channel 6 with Temperature_div2 type [Elektroda, tomik67, post #20762664]_div2 or _div10 scale raw values. In HA template sensor use {{ value|float*0.5 }} for div2 or *0.1 for div10 [Elektroda, hard3d, post #21143111]setChannelType 5 ReadOnly with dInput_n role to publish true relay status [Elektroda, tomik67, post #20746795]tuyaMcu_sendCmd 0x6A <hex>; e.g. 50 % brightness for 22:00-06:00:
tuyaMcu_sendCmd 6A 0834 1654 0258 32 01.PowerSave 1 lowers Wi-Fi duty cycle and drops module temperature by ~4 °C in lab measurements [Elektroda, p.kaczmarek2, post #21043553]