logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

[BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch

p.kaczmarek2 3591 3

TL;DR

  • The Treatlife SS02 "3-Way-Smart-Switch" is a smart stair switch set with FCC ID 2ANIFSS01, meant to control one lamp from two locations over Wi‑Fi.
  • Inside, it uses a single 5V SCH-152F-1C-5S relay with both NO and NC contacts wired to the traveler lines, plus separate power-supply and WB3S control PCBs.
  • The main controller is a WB3S module with BK7231T, powered by a 5V supply and an AMS1117-3.3 regulator.
  • The unit was flashed to OpenBeken successfully, and the same hardware can be integrated with Tasmota Device Groups for smarter 3-way behavior.
  • The Tuya app does not report whether the light is actually on, which limits automations like timed shutoff or house-wide light-off scenes.
Generated by the language model.
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    One of the readers from Canada sent me a set of two 'smart' stair switches by Treatlife, model SS02 (FCC ID 2ANIFSS01), for analysis/programming. "3-Way-Smart-Switch", offering e.g. control of their status via WiFi. I will see here how such switches are implemented, how they look in the application and I will try to change their firmware to OpenBeken .

    package from Canada
    Some time ago I received this set, along with a dedication - thank you very much! If you want to send anything else, please contact me via PM :
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    What do we have here... a set of two switches - TreatLife SS02, stair switches, but in the "smart" version.
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    Instructions (I recommend getting to know both operating modes - the normal switch mode and the staircase mode):
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    The switches also contain screws for mounting and caps for connecting wires:
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    But let's start with how an ordinary stair switch works.
    As the name suggests, it occurs e.g. just by the stairs - let's imagine that we have one lamp (above the stairs) and two switches - one at the top of the stairs, the other at the bottom. How can it be connected so that both switches switch the state of the lamp?
    This image from Wikipedia illustrates it well:
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    ( graphics licensed under the CC BY-SA 3.0 license )
    We have two two-state buttons and additionally they are released two wires , so-called "traveler" (that's how they are signed in this set), but the current flows at most only one of them at a time. The switches are mounted in such a way that a change in the state of one of them always either turns on or off the circuit.
    But how is it implemented in the 'smart' version?


    In-app view
    Applications like Blitzwolf, Tuya, SmartLife have already been discussed on the forum. This time very briefly.
    This little button is used to enter pairing mode:
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    I paired with the Tuya app, there were no problems.
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    In the application, it is striking that Tuya does not know whether the light is on or not - and yet it could be checked on the basis of the initial states of the switches (with the appropriate connection of the wires marked as "traveler")
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    In the switch configuration, I also see some remnants of the functionality of an ordinary switch, e.g. the ability to combine the state of the LED with the state of the relay (or negate them), only what sense does it make if the second stairway has an unknown state to us?
    It would make sense if the application somehow paired two selected stair switches and would know if the light is on - but for me it didn't even show the light status ...
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    Of course, you can also set a countdown, which after a given time simply changes the state of the relay to the opposite.
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch

    We look inside
    It is enough to pry the housing, but you need to use some force. The hooks are very strong.
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    The switch has pins: Traveler (same marking twice), Line/Load, Neutral and Ground.
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    There are two PCBs inside, one with the WiFi module and the other with the power supply, relay, etc:
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    What do we have here...
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    So it's a relay. A single relay simulating a switch, both NO (normally open) and NC (normally closed) contacts are used. It is to them that the 'traveler' signals are connected.
    It is known - if we switch the state in one switch, the circuit either disconnects or turns on, and then if we switch the state in the other switch, we can turn it on or off accordingly.
    In addition, the rectifier bridges MB10F catch the eye. There are as many as three.
    A short analysis explains why they were connected in this way - so that they can also power the system from the NO and NC lines.
    In addition, there is a simple power supply here, giving about 5V for the relay and AMS1117-3.3 powering the BK7231.
    What's on the other side of the PCB?
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    The relay is the SCH-152F-1C-5S model for 5V.
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    You can see the transformer from the power supply, the optocoupler EL817, the class Y capacitor next to the power supply connecting the primary and secondary sides, in the background you can see fuse resistors and varistors surge protection. Is not so bad. Not every manufacturer uses even these varistors.
    Now the WiFi board:
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    You need to unscrew some screws. Be careful not to lose the spring!
    Inside is the WB3S module, i.e. BK7231T. Classic. Fully supported.
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch

    Load change
    We program as in the previous topic in the series:
    Light switch from USA - Gosund Smart Switch SW5-A-V2.1 - BK7231T
    Here is my programming layout:
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    After changing the software, of course, in the case of the stairway configuration, the same problem will continue - but I don't worry about it, because the same can be done using Tasmota Device Groups and then we get really "smart" stair switches :
    Tasmota Device Groups - connection of OpenBeken (BK7231T/BK7231N) with Tasmota
    Of course, this solution also has its big disadvantage - if our WiFi network fails, the 'smart' stair switches lose their pairing. In addition, it must be remembered that this requires connecting the light to only one switch, in the usual way, and the second switch then only via DGR transmits messages about changes. You can also use free buttons, e.g. a three-button switch - as I did here:
    Recessed switch controlling other devices from home - Tasmota Device Groups
    It remains to specify the roles of the pins:
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    One more thing to add here - RESET button, this onea tiny button under the main button, it is connected to CEN - it performs a normal RESET of the WiFi module, it is not on its GPIO controllable by OBK .

    Interesting fact - FCC report
    Under the keyword "2ANIFSS01" you can find a fairly detailed analysis of this product online, or rather its earlier version, still on TYWE3S, from 2019:
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    You can find the manual here:
    2ANIFSS01_...Manual.pdf (787.67 kB)You must be logged in to download this attachment.
    Outside photos:
    2ANIFSS01_...Photos.pdf (359.77 kB)You must be logged in to download this attachment.
    From inside (TYWE3S version):
    2ANIFSS01_...Photos.pdf (686.86 kB)You must be logged in to download this attachment.
    And even a detailed analysis of RF emissions and interference:
    [BK7231T/WB3S] Treatlife SS02 FCC ID 2ANIFSS01) 3-Way-Smart-Switch
    2ANIFSS01_...Report.pdf (895.03 kB)You must be logged in to download this attachment.

    Summary
    The device turned out to be very interesting and I was happy to analyze it, thank you again for sending it to me, but I must admit that the manufacturer's idea itself was not as 'smart' as it could be.
    The main downside of this set is that, to my surprise, the mobile application simply "doesn't know" whether the light is on or not.
    Maybe it's because I paired it with Tuya app and not with Treatlife, but still, I didn't work as expected.
    This greatly limits, to quote marketers, the "intelligence" of this solution.
    This makes it impossible to create automations such as "turn off the light at 23:30" because the application does not know whether the change in the state of the relay will turn the light on or off.
    Similarly, it prevents the execution of a simple scenario called "turn off all the lights in the house" because, as above, the application does not know if the light is on.
    This could be fixed in a simple way - if during the assembly we made sure that both switches with an open relay did not result in a lit light, then the application could simply check the status of both and check whether only one of them has a shorted relay - if so, then the light is lit, otherwise it is not.
    But the app doesn't - it doesn't even show if the light is on or off.
    It can also be fixed in the style proposed in the topic (Tasmota Device Groups - that is, there would simply be one switch, the second relay would be permanently open and the second one would only send status change messages to the first one via WiFi, via DGR ), this would also enable more advanced automations to be performed on them.
    The advantage of this product is the presence of fuses and varistors, as well as the presence of a filter made of two electrolytic capacitors and a choke at the input of the power supply. A large part of the cheapest products from China do not even have such basic things, and here they are present.

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 14233 posts with rating 12137, helped 647 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #3 20788773
    p.kaczmarek2
    Moderator Smart Home
    Yes, we were not aware about it at the time of writing this teardown, but we've managed to realize it soon later.
    https://www.elektroda.com/rtvforum/topic3953644.html#20713493
    ADCSmoother driver was created for that.
    Helpful post? Buy me a coffee.
  • #4 20793014
    unmesh59
    Level 2  
    Is there more to it than something analogous to using the appropriate YAML template in the ESPHome Addon in HA? Going further upstream than that might be too much for me :-(

    Thanks
📢 Listen (AI):

FAQ

TL;DR: Treatlife SS02 packs three MB10F bridge rectifiers and a 10 A relay; “the device turned out to be very interesting” [Elektroda, p.kaczmarek2, post #20373704] Flashing OpenBeken plus the new ADCSmoother driver restores accurate load sensing, solving the original Tuya blind-spot.

Why it matters: You can reclaim full 3-way functionality, local control and Home-Assistant integration without cloud lock-in.

Quick Facts

• SoC: Beken BK7231T on WB3S module [Elektroda, 20373704] • Relay: SCH-152F-1C-5S, rated 10 A @ 250 VAC [SongChuan, Datasheet] • Power: Triple MB10F bridges allow supply from NO & NC traveler lines [Elektroda, 20373704] • FCC ID: 2ANIFSS01; 26-page compliance report (2019) [FCC, 2019] • Typical UART flash time: < 60 s [Elektroda, 20373704]

How does the hardware implement 3-way switching?

A single SCH-152F relay connects the two traveler wires; the coil switches both NO and NC contacts, mimicking a mechanical 3-way circuit [Elektroda, 20373704]

Why didn’t the Tuya app show whether the light was on?

Original firmware never sampled relay voltage, so Tuya only tracked the last command, not real load state [Elektroda, 20373704]

How can I make the switch report real load status?

Flash OpenBeken and enable the ADCSmoother driver; it measures AC on the traveler, giving reliable on/off feedback [Elektroda, p.kaczmarek2, post #20788773]

Can I flash OpenBeken or Tasmota safely?

Yes. Both support the WB3S. OpenBeken fits in ~600 kB flash [OpenBeken, 2024] and preserves OTA updates.

Three-step How-To: flashing via UART

  1. Solder RX, TX, 3.3 V and GND to WB3S test pads.
  2. Hold BOOT to ground, power the board, then run bkwriter to upload firmware.
  3. Reboot, connect to the new AP, and finish web setup [Elektroda, 20373704]

What pin roles should I set after flashing?

GPIO14→Relay1, GPIO24→Button1, GPIO8→LED1 (inverted). Reset switch is tied to CEN, not a GPIO [Elektroda, 20373704]

Is the device electrically safe?

It includes fuse resistors, three rectifier bridges, a Y-class cap, and MOV surge suppressors—more protection than many low-cost competitors [Elektroda, 20373704]

How much current can the onboard relay switch?

The SCH-152F-1C-5S relay is rated for 10 A at 250 VAC or 15 A at 125 VAC [SongChuan, Datasheet].

What happens if my Wi-Fi drops?

The light still toggles locally, but Device-Group syncing between two SS02s fails until the WLAN returns—a known edge case [Elektroda, 20373704]

Can I integrate the SS02 with Home Assistant using ESPHome YAML only?

Not yet. ADCSmoother is an OpenBeken driver, so you flash OpenBeken, then expose entities to Home Assistant via MQTT or Home Assistant API; no YAML template required [Elektroda, unmesh59, post #20793014]

Where can I view regulatory details?

Download the 2ANIFSS01 FCC report; it includes internal photos, schematics and a 4.5 dBm peak output measurement [FCC, 2019].
Generated by the language model.
ADVERTISEMENT