[BK7231N CB2S] Moes Smart Switch 1 gang WiFi - MS-104
Module name: Moes Smart Switch Module MS-104
Protocol: WiFi 2,4GHz
Input Voltage: 90 - 250V AC 50/60Hz
Max Current: 10A
Wifi module: Tuya CB2S (BK7231N) datasheet
This is the 1 gang vesion of the module there is also a 2 gang version available (obviously with the same PCB based on tear-down).
Bought it on aliexpress from MOES Online store. It has also Zigbee, Zigbee+RF, WiFi+RF versions.
4 gang version has different internals, see tear-down in other topic: Link
Flashed latest release with python flasher: hid_download_py
Pictures of the module:
Tear-down of the module:
Pin config:
Pin23: Button1
Pin24: Relay1
Pin26: Buzzer (works as PWM)
Edit:
One easy way I have found to put CB2S into programming mode to put a solder blob between CSN pad and the cooling pad next to it to ground it:

Protocol: WiFi 2,4GHz
Input Voltage: 90 - 250V AC 50/60Hz
Max Current: 10A
Wifi module: Tuya CB2S (BK7231N) datasheet
This is the 1 gang vesion of the module there is also a 2 gang version available (obviously with the same PCB based on tear-down).
Bought it on aliexpress from MOES Online store. It has also Zigbee, Zigbee+RF, WiFi+RF versions.
4 gang version has different internals, see tear-down in other topic: Link
Flashed latest release with python flasher: hid_download_py
Pictures of the module:
Tear-down of the module:





Pin config:

Pin23: Button1
Pin24: Relay1
Pin26: Buzzer (works as PWM)
Edit:
One easy way I have found to put CB2S into programming mode to put a solder blob between CSN pad and the cooling pad next to it to ground it:

Comments
Thanks! I haven't seen a device with buzzer on configurable pin yet. Do you think it would be useful to add some scriptable commands for playing tunes with buzzer? [Read more]
Well, I don't have a use case in mind for the buzzer in my setup. But some people might want to play around with it for like an alarm or smart doorbell. [Read more]
How was it working with original Tuya firmware? [Read more]
Well I haven't tried it with Tuya fw. My guess is that it's the same as the dimmer version with the Tuya MCU: Link Perhaps the idea was to notify connection issues by sound when the module is installed... [Read more]
I have created a PIR motion sensor mod of this sensor. See pictures below. Used the place of the second relay for this. Checked the PCB and found out that one of the holes for the relay has 5V. There... [Read more]
Very nice mod. Given enough free GPIOs, you can still connect more sensors, like a DHT11 which requires just one GPIO and can give you temperature and humidity measurements. [Read more]