logo elektroda
logo elektroda
X
logo elektroda

[BK7231T][WB3S] Tuya Smart Valve Controller (water switch)

dmitridiavo 
Hello to all
In this post, I will share teardown of Tuya Smart Valve controller.

These controllers come with different chips. I bought this one from aliexpress. It contains a chip wb3s.
For firmware, it is enough to remove one cover. Connecting to the chip is easy.

I successfully flashed it with OpenBK7231T using usb-to-uart-3.3v and standard connection (TXD1, RXD1, GND, VCC and CEN for reset).
The diagram below is a bottom view. When connecting, do not confuse left and right.

Pins need to be configured like this:
PinVal
1Led
6Rel
24Btn
Thank you for your attention

About Author
dmitridiavo wrote 4 posts with rating 7 . Been with us since 2022 year.

Comments

p.kaczmarek2 29 Dec 2022 19:10

Thank you, this is most likely the first water valve controller on our forum, nice. If I may ask, what are you going to use it for? Yes, this is unfortunate, other modules have their drawing from... [Read more]

dmitridiavo 29 Dec 2022 19:25

I connected it and the water leakage sensor to the home assistant (via MQTT). And created automation to close the water in case of a leak. HA config for valve controller: Next I will install this controller... [Read more]

gulson 30 Dec 2022 09:47

Thank you for the presentations. A very nice solution. No need to change the water valve, just overlap the existing valve and valve knob. Thanks to the firmware change, you can integrate with your other... [Read more]

Anonymous 30 Dec 2022 14:43

Hello. It's hard for me to tell from the picture. There is a servo + return spring in the valve, or just the servo? What if there is a power loss? Personally, I prefer a pulse counter + solenoid... [Read more]

adversus 30 Dec 2022 19:12

Servo (no spring, not this model :) and it is powered by 12V. Generally, it is enough to make a little effort and everything is described on the internet, my friend. [Read more]

haydendepeiza 16 Jan 2023 12:16

Hi good day, my smart valve controller is stuck in lock off position and wont reset via the switch, do you know a way to hard reset or short the board for it to reset? [Read more]

paulp 08 Mar 2023 21:07

I doubt this is still relevant, but for future reference: If it is stuck in any position, pull the keyring on the bottom of the valve housing. This will disengage one of the gears in the gearbox and break... [Read more]

haydendepeiza 08 Mar 2023 21:16

Thanks for the suggestion, however it seems to be more of a main board or software issue as the device would not reset. I have pulled the pin but it just releases and then returns to the last position.... [Read more]

NorthernMan54 21 Jul 2023 15:03

This is the config from my Gowfeel WiFi Smart Valve that I purchased from Amazon { "vendor": "Tuya", "bDetailed": "0", "name": "Gowfeel WiFi Smart Water Valve", "model": "Gowfeel", "chip":... [Read more]

alexandrumilitaru 04 Apr 2024 09:04

Hi all, Not sure if this is still active, but I flashed the same device, it worked like a charm then, after being without power for a few months, it seems it reverted by itself to the original Tuya... [Read more]

p.kaczmarek2 04 Apr 2024 09:06

I don't think it's possible. Are you saying that you flashed BK7231 with OpenBeken and after few months it has returned to Tuya? Are you really sure? Maybe you've just got your OBK booted into AP mode... [Read more]

alexandrumilitaru 04 Apr 2024 09:34

https://obrazki.elektroda.pl/4628094900_1712217200_thumb.jpg So, I have not yet taken it out to test. I have it in my maintenance room attached to some water pipes. However the web interface disappeared... [Read more]

p.kaczmarek2 04 Apr 2024 09:55

I don't think that OBK device can revert itself to Tuya because that would require having a Tuya firmware backup in the 2MB flash and there is no space for that. Unless.... How did you flash the... [Read more]

alexandrumilitaru 04 Apr 2024 10:00

I have not done OTA ever (if it's over the air). I will attach some other pictures I took on the day. I used the UART, powered the chip via Arduino and tested everything in the end. If there is anything... [Read more]

p.kaczmarek2 04 Apr 2024 10:25

Well, I can only recommend two things: - try doing fast 5 power off/on cycles to check whether it will appear as OBK access point (maybe it's indeed still OBK, but that Tuya port is strange) - if it's... [Read more]

alexandrumilitaru 04 Apr 2024 10:29

Will do a full read before any write and will update on what I find. Yes initially i paired with Tuya, opened an account in their cloud and connected it there. After that I decided to flash and I did... [Read more]

p.kaczmarek2 04 Apr 2024 10:38

Have you ever restarted this device after flashing OBK by wires and if so, did you restart often? I am asking because as far as I know only reboot is required to start the OTA process so the only way... [Read more]

alexandrumilitaru 04 Apr 2024 11:07

So first your idea gave me an idea, I still have the tuya account configured and the app too. So I powered the valve on and it appeared as online in the Tuya app. So I think your assumption is correct.... [Read more]

p.kaczmarek2 04 Apr 2024 11:11

Your case is extremally rare. i think I have seen such a report maybe one more time at most and we already had hundreds of users and devices. Your Tuya firmware has started the update, so it pulled... [Read more]

%}