logo elektroda
logo elektroda
X
logo elektroda

Configuring Door Sensor 19JWT-B (BK7231N) (DeepSleep)

CMY 
Electronic module on a blue circuit board with visible components and a CBU-NL model sticker.

Tuya Wi-Fi door and window sensor with open casing showing battery compartment, and closed unit with branding on the packaging. Close-up of a door sensor circuit board with three casing elements. WiFi Smart Door Magnetic user manual with Alexa logo and specification details.

Very similar to this one: https://www.elektroda.com/rtvforum/topic3964392.html
But uses another pins.
Original app: Smart Life App

Pins
- LED on P15
- MagnetField Sensor on P22
- Battery Relay on P20, ADC on P23
- Button on P14. Has 10k pull up resistor (R8). Plus place for capacitor C2 (but no capacitor in this cheap version)
(I didn't add Button to config yet)

Config and Battery settings
Code: JSON
Log in, to see the code



Firmware update
Close-up of a circuit board with connected wires.
Firmware update can be done via P2, no soldering needed. Step is 2mm, so normal 2.54mm pins cannot be soldered. But 2.54mm wires are good for firmware update.
Pins from left to right:
- TX (orange) - P2-5
- RX (yellow) - P2-4
- CEN (grey) - P2-3
- GND (green) - P2-2
- VCC (not used) - P2-1

Links
Very similar to this one: https://www.elektroda.com/rtvforum/topic3964392.html
Link to aliexpress: https://www.aliexpress.us/item/3256805743653289.htm

About Author
CMY wrote 6 posts with rating 3 . Been with us since 2024 year.

Comments

p.kaczmarek2 12 Jan 2024 22:25

The configuration seems to be missing a button. Do you know which pin is used for button? This can be handy for emergency wakeup feature that we plan to add soon. [Read more]

CMY 12 Jan 2024 22:46

I was sure that button is Reset Button and wired to some CEN or reset. But you are right: Button on P14. Has 10k pull up resistor (R8) I can't check config because my unit was burned by accident. [Read more]

delfinok 28 Feb 2024 22:38

Hi! Will it be added to config templates of OpenBeken Webapp? I do not see it in hw tempalte. Thankx! [Read more]

p.kaczmarek2 28 Feb 2024 22:43

Thank you for pointing that out, we must have missed that. Ok, I have added it now: https://github.com/OpenBekenIOT/webapp/commit/d3e7ab9b3c603002ea13d5e629e51888e21eabf2 [Read more]

delfinok 28 Feb 2024 22:48

Thanks! But you should add P14 Btn too. The config misses that! [Read more]

p.kaczmarek2 04 Mar 2024 17:34

Thank you for pointing that out! This button can be useful as an emergency wake up method. Here is updated template: https://github.com/OpenBekenIOT/webapp/commit/26b08ba3afabbdac2debeb62e563ee4dc4aa... [Read more]

ferbulous 09 May 2024 07:57

Hi, how is the battery life so far? And how quick does it update the open/close status I have a similar one like this but i haven’t flash it yet [Read more]

levsha 26 Jan 2025 22:42

I have this device configured. Everything works well with HomeAssistant. Except one problem: it doesn't turn off WiFi, so it drains a battery just within couple of days. I guess I missed something. Sorry,... [Read more]

p.kaczmarek2 27 Jan 2025 05:43

Do you when DoorSensorWithDeep sleep driver shown as running on your main device page? [Read more]

levsha 27 Jan 2025 08:49

Nope: "0 drivers active". My understanding it should have started automatically? Oh, also "incomplete boots: 1" - could that be the hint of the problem? https://obrazki.elektroda.pl/8427425900_... [Read more]

p.kaczmarek2 27 Jan 2025 10:41

Maybe you have disabled "Autostart drivers" flag. You can also start driver manually in short startup command or via autoexec.bat [Read more]

levsha 27 Jan 2025 17:02

Looks like it, "Autostart drivers" flag was somehow set. I don't remember setting it explicitly. It was probably set because I was trying various configs. So I've reset the sensor to initial settings... [Read more]