| Pin No. | Symbol | I/O type | Function | 1 | ANT | O | External antenna pad pin | 2 | GND | P | Ground pin | 3 | PWM4 | I/O | Hardware PWM pin, which is connected to the P24 pin on the internal IC | 4 | PWM5 | I/O | Hardware PWM pin, which is connected to the P26 pin on the internal IC | 5 | PWM0 | I/O | Hardware PWM pin, which is connected to the P6 pin on the internal IC | 6 | VCC | P | Power supply pin (3.3 V) |
PowerSave
echo "activate SHT3X Sensor"
startDriver SHT3X
:loop
SHT_Measure
delay_s 1
goto loop
PowerSave
echo "activate SHT3X Sensor"
startDriver SHT3X
addRepeatingEvent 10 -1 SHT_Measure
Info:GEN:No change in channel 0 (still set to 222) - ignoring
Info:GEN:No change in channel 1 (still set to 58) - ignoring
Info:SENSOR:SHT3X_Measure: Temperature:22.289615C Humidity:58.985275%
Info:MAIN:Time 60, idle 51296/s, free 88560, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 POWERSAVE
Info:GEN:dhcp=0 ip=192.168.0.104 gate=192.168.0.1 mask=255.255.255.0 mac=c8:47:8c:00:00:00
Info:GEN:sta: 1, softap: 0, b/g/n
Info:GEN:sta:rssi=-75,ssid=K.Y.A,bssid=e8:94:f6:3a:e5:b4 ,channel=4,cipher_type:CCMP
Info:MAIN:Time 61, idle 59074/s, free 88560, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 POWERSAVE
Info:MAIN:Time 62, idle 56458/s, free 88560, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 POWERSAVE
Info:MAIN:Time 63, idle 56747/s, free 88560, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 2/38 POWERSAVE
Info:MAIN:Time 64, idle 54615/s, free 79936, MQTT 1(1), bWifi 1, secondsWithNoPing -1, socks 3/38 POWERSAVE
Info:GEN:No change in channel 0 (still set to 222) - ignoring p.kaczmarek2 wrote:I think that we will soon change the logic to do a SHT_Measure automatically (make automatic measurement enabled by default, @dheenhasty , and let user override it and set manual mode? So it works without any scripting?)
Info:GEN:No change in channel 1 (still set to 58) - ignoringTL;DR: Flashing a WBLC5 (BK7231T) with OpenBeken takes about 15 minutes; “it’s very easy, it’s like 15 minutes job” [Elektroda, p.kaczmarek2, post #20450565] The SHT30 delivers ±0.2 °C accuracy and ±2 % RH [Sensirion DS, 2022]. Why it matters: one module lets you log temperature, humidity and drive RGB-CW LEDs over MQTT without Tuya cloud.
• BK7231T UART1 pins = 3.3 V, GND, P24 (RX1), P26 (TX1) [Elektroda, p.kaczmarek2, post #20450565]
• SHT30 supply: 2.4–5.5 V, 150 µA active, 0.5 µA sleep [Sensirion DS, 2022]
• OpenBeken build ≥ 1.15.507 fixes I²C LED/SHT conflict [Elektroda, p.kaczmarek2, post #20459538]
• SM2135 LED driver current default 10 mA per channel [Elektroda, p.kaczmarek2, post #20457907]
• MQTT broadcast period set by mqtt_broadcastInterval SECONDS (range 1–86400) [OpenBeken Docs]
startDriver SHT3X
addRepeatingEvent 10 -1 SHT_Measure
Save these lines in autoexec.bat or the LittleFS editor, then reboot [Elektroda, p.kaczmarek2, post #20454182]
mqtt_broadcastInterval 60
mqtt_broadcastItemsPerSec 2
This forces a publish every 60 s per channel whether or not the reading changed [Elektroda, p.kaczmarek2, post #20455491]SM2135_Map r g b c w, replacing each letter with the desired index (0–4). Example for RGB-CW order:
SM2135_Map 1 0 2 4 3
No reboot required; move any slider to view the change [Elektroda, yuretskor, post #20458108]No change in channel to save bandwidth [Elektroda, yuretskor, post #20454637] Override by lowering mqtt_broadcastInterval or forcing repeating events to push unchanged data.#define USE_TM1637. Assign DIO and CLK pins in Web App, then print:
TM1637_Print 0 0 $CH10 ;temperature
Use TMGN_Map to correct digit order if needed [Elektroda, p.kaczmarek2, post #21205344]TMGN_Map permutations until TMGN_Print 0 0 1234 shows 1234. Typical common-anode modules use TMGN_Map 32104567 [Elektroda, p.kaczmarek2, post #21205344]