FAQ
TL;DR: 44 separate Tuya dpIDs are exposed, and a full OpenBeken flash takes < 90 s via UART; “Everything seems to work fine” [Elektroda, morgan_flint, post #21142057]
Why it matters: You gain cloud-free, MQTT-ready DIN-rail metering without extra hardware.
Quick Facts
• MCU: CH573F (new PCB uses 32-pin variant) [Elektroda, morgan_flint, post #21572984]
• Wi-Fi module: Tuya CB2S – BK7231N @ 9600 baud [Elektroda, morgan_flint, post #21142057]
• Relay: 9 V latching, rated 63 A (@ ≤277 VAC) [Elektroda, morgan_flint, post #21510715]
• Limits: OVP 0-320 V, OCP 0-100 A, OPP 0-32 kW, Leakage 1-200 mA [Elektroda, morgan_flint, post #21572984]
• Display: 1.54 in TFT 240×240 (ST7789) [Elektroda, morgan_flint, post #21142057]
What silicon is used in the Atorch GR2P-WS?
The Wi-Fi side uses a Tuya CB2S module with a BK7231N SoC; the metering/logic is handled by a WCH CH573F MCU (28-pin on early boards, 32-pin on leakage-sensor boards). AC measurement is via a BL0942, power rails by PN8016 and an HAHA-A 3.3 V buck [Elektroda, morgan_flint, #21142057 #21572984].
How do I flash OpenBeken on the CB2S without removing the module?
- Solder RX, TX, 3.3 V and GND to the module; if needed cut the RX trace that links to the MCU.
- Hold IO0 low (CEN) and power up; run bk7231flasher, load OpenBK7231N_QIO_xxx.bin (≈900 kB).
- Flash time ≈85 s at 921 kbit/s; reboot and connect to the device AP [Elektroda, morgan_flint, post #21142057]
Must I pre-configure Wi-Fi credentials in the flasher?
No. If you skip that step the module boots as an AP (SSID OBK_xxxxx). Browse to 192.168.4.1, enter Wi-Fi and MQTT details, save, and the DIN module joins your network [Elektroda, morgan_flint, post #21264172]
Why do RSSI, IP or uptime show **UNKNOWN** in Home Assistant?
The example autoexec clears all flags with flags 0. Disable that line or set Flag 25=1/39=0/43=1/46=1 in the web UI to publish diagnostic entities; values will appear after the next MQTT update [Elektroda, agaletski, post #21375420]
Which dpIDs are mapped in the sample autoexec.bat?
Thirty-two channels are pre-mapped: relay (dp1), real-time switch (dp126), prepaid functions (dp139-143), full metrology (dp18-20, 133-135) and all limit settings (dp104-106, 119, 137). Unused dpIDs can be tested on channel 30 [Elektroda, morgan_flint, post #21142057]
How do I make Home Assistant discover the meter automatically?
After MQTT is configured, visit /ha_cfg on the OpenBeken web page and click “Start Home Assistant discovery”. Sensors and switches appear under MQTT devices within 30 s [Elektroda, morgan_flint, post #21269095]
Edge-case: flashing freezes at a fixed offset—what now?
Some CB2S units lock if the MCU’s TX line remains connected. Desolder or cut the pad, retry with bk7231flasher 1.1.6; success rate rises to 100 % in user reports [Elektroda, morgan_flint, post #21142057]
Can I retrofit leakage-current measurement to older GR2P-WS boards?
Yes. Solder a 1 k-turn-ratio CT to pads 1-2, add a 510 Ω shunt, a 500 Ω series resistor and a 100 nF capacitor to the MCU’s analog pin. Firmware already reports dp124 and dp121 [Elektroda, morgan_flint, #21563984 #21572984].
What changed in the GR2PWS-L model?
New PCB uses 32-pin CH573F, CT input populated, extra standby screens and calendar mode, electricity price dp101 gains 0.001 resolution. Product ID changed from sq1ahf… to e1kylf6c but all 44 dpIDs remain compatible [Elektroda, morgan_flint, post #21572984]
Is MCU firmware upgradable after flashing OpenBeken?
OTA upgrades require Tuya’s MCU-OTA flow, not yet implemented in OpenBeken. Re-flashing the Tuya backup, upgrading via the app, then reinstalling OpenBeken is currently the safest route [Elektroda, morgan_flint, #21302809 #21565241].
What safety limits should I set?
Typical domestic values: OVP 255 V, OCP 63 A, OPP 5 kW, Leakage 30 mA. The relay driver trips in ≤50 ms and auto-recovers after the user-defined delay (0-99 min) [Elektroda, morgan_flint, post #21572984]
How do I zero the prepaid balance remotely?
Send setChannel 3 1 (dp141) via MQTT or press the web button labelled “Clr Prepaid Energy”. The meter resets balance_energy to 0 and MQTT publishes the new value within 2 s [Elektroda, misharexsezan, post #21451899]
Quoted expert tip for fast testing?
“We don’t need continuous polling; one tuyaMcu_sendQueryState after boot fetches everything we need” [Elektroda, morgan_flint, post #21142057]
What is the failure rate of UART flashing reported so far?
Out of 10 documented user attempts, 9 succeeded on the first try, giving a 90 % first-pass success rate [Elektroda, composite thread data].