GitHub

Sonoff S61

Sonoff’s Beken smart plug, sold as the S61S (iPlug Gen2, Matter over Wi-Fi), model S61STPF for the European plug. The firmware calls itself S61: its eWeLink model is SN-BK7238-S61-01, its board id FWSW-01-S61-BK, and the module is the WBBK_01P_V1.3. This folder holds or links everything specific to the S61; the tooling it shares with other Beken plugs is in tools/beken/, and the emulation that worked all of this out is described in docs/beken-s61-emulation.md.

Chip BK7238 (ARM968E-S), 4 MB flash
Relay P26
Button P9, active low, pull-up
Relay LED, Wi-Fi LED P0, P1, both lit low
Power meter BL0937: CF P8, CF1 P6, SEL P24; 1 mΩ shunt, 2040:1 divider
Stock stores EasyFlash V4 at 0x3e2000 (Wi-Fi, elecCalibCoef) and 0x3f6000; never written by a conversion
Stock bootloader table app 0x11000, download slot 0x286000 (where it applies an rt_ota update), radio calibration 0x3e0000