Hello, I am looking to get OpenBeken working on a Smart Power Meter Clamp (Dual Channel CT). It is a Tuya-based device with the FCC ID: 2BL6A-WMDL. Inside, the Wi-Fi module is a CB3S (BK7231N). Power monitoring is handled by the BL0939 chip, but instead of the usual UART connection, it is wired via the SPI interface.
I have reverse-engineered the board tracks and identified the complete pinout configuration:
SPI Pins connected to BL0939:
SDO (MISO): P6
SDI (MOSI): P24
SCLK (Clock): P26
Other Function Pins:
CF (Power Pulse): P14
ZX (Zero Crossing): P23
Relay/Control (RL): P8
Button/LED (1K): P7
Since this device uses two current clamps (CT1 and CT2) via the BL0939 SPI interface, I would greatly appreciate it if support for this specific configuration could be added to the driver list (similar to the existing BL0942SPI driver). I have high-resolution photos of the PCB and I am ready to flash any test binary builds to help debug and calibrate the measurements.
For reference, here is the official Tuya DP structure extracted from the device:
* **General:**
* Device ID:
* **Channel 1 (CT1):**
* Voltage:
* Current:
* Power:
* State:
* Forward Energy (Total):
* Reverse Energy:
* Daily Forward:
* Daily Reverse:
* Record Power:
* **Channel 2 (CT2):**
* Voltage 2:
* Current 2:
* Power 2:
* State:
* Forward Energy:
* Reverse Energy:
* Daily Forward:
* Daily Reverse:
* Record Power:
* **Total:**
* Total Forward:
* Total Reverse:
Thank you for your incredible work on this project!
I have reverse-engineered the board tracks and identified the complete pinout configuration:
SPI Pins connected to BL0939:
SDO (MISO): P6
SDI (MOSI): P24
SCLK (Clock): P26
Other Function Pins:
CF (Power Pulse): P14
ZX (Zero Crossing): P23
Relay/Control (RL): P8
Button/LED (1K): P7
Since this device uses two current clamps (CT1 and CT2) via the BL0939 SPI interface, I would greatly appreciate it if support for this specific configuration could be added to the driver list (similar to the existing BL0942SPI driver). I have high-resolution photos of the PCB and I am ready to flash any test binary builds to help debug and calibrate the measurements.
For reference, here is the official Tuya DP structure extracted from the device:
* **General:**
* Device ID:
bf00d07292695276fczfts
* **Channel 1 (CT1):**
* Voltage:
cur_voltage(DP 20)
* Current:
cur_current(DP 18)
* Power:
cur_power(DP 19)
* State:
cur_state1(DP 105)
* Forward Energy (Total):
add_ele(DP 17)
* Reverse Energy:
ct1_reverse(DP 115)
* Daily Forward:
ct1_day_forward(DP 106)
* Daily Reverse:
ct1_day_reverse(DP 116)
* Record Power:
record_power1(DP 123)
* **Channel 2 (CT2):**
* Voltage 2:
cur_voltage2(DP 114)
* Current 2:
cur_current2(DP 112)
* Power 2:
cur_power2(DP 113)
* State:
cur_state2(DP 108)
* Forward Energy:
ct2_forward(DP 111)
* Reverse Energy:
ct2_reverse(DP 117)
* Daily Forward:
ct2_day_forward(DP 109)
* Daily Reverse:
ct2_day_reverse(DP 118)
* Record Power:
record_power2(DP 124)
* **Total:**
* Total Forward:
total_forward(DP 119)
* Total Reverse:
total_reverse(DP 121)
Thank you for your incredible work on this project!