logo elektroda
logo elektroda
X
logo elektroda

WiFi door/window opening sensor - test, interior, integration with the rest of t

p.kaczmarek2 

Hello my dears
Here I will present in detail how to configure and inside the battery-powered WiFi door/window sensor compatible with the SmartLife smart home control application. I will also show here how you can configure its work scenarios, e.g. automatically turn on the light bulb when the door is opened. Finally, I will also measure the power consumption of the sensor.

Purchase of WiFi Smartlife door/window opening sensor
I found the sensor on the Internet under the slogan "Smart Wifi Door Window Sensor Burglar Security Alarm For Alexa Google Tuya" for less than $ 10, i.e. PLN 40:

The graphics prepared by the seller well illustrate its operation:

An Android phone will allow us to keep track of the status of the door and receive notifications about their opening or closing, no matter where we are. You only need to register the sensor in our WiFi network (traffic goes through the manufacturer's servers).
Specification acc. seller:
Quote:

Two Status: Open & Close
Battery: 2 * 1.5V AAA Batteries(not included)
Standby Current:

About Author
p.kaczmarek2
p.kaczmarek2 wrote 11871 posts with rating 9950 , helped 568 times. Been with us since 2014 year.

Comments

austin007 25 Jan 2021 17:26

Thanks for the description. PLN 40 is quite expensive. Especially the WiFi version and from majfriend without FV. Can it be converted by flashing the batch to Zigbee 3.0? I've seen zigbee versions... [Read more]

p.kaczmarek2 25 Jan 2021 17:55

good question, I checked now and it turns out that the 'closed' state is detected when it is about 1.5cm, and 'open' when it is less than 2cm (or subtract these 3mm more from the housing,... [Read more]

prosiak_wej 25 Jan 2021 18:16

And as soon as the manufacturer shuts down the server or the Internet provider fails, it's all about the edge of ... break! :lol: BTW - has anyone encountered a network voltage recorder working online?... [Read more]

krzbor 25 Jan 2021 22:13

Too bad it's not ESP. The comparison of this system and ESP12f looks interesting: https://obrazki.elektroda.pl/4131105500_1611609016_thumb.jpg https://obrazki.elektroda.pl/6875923400_1611609027_thumb.jpg... [Read more]

p.kaczmarek2 25 Jan 2021 23:48

it is also worth adding that the famous TYWE3S from many 'smart' devices is compatible with ESP12 pins https://obrazki.elektroda.pl/5221453600_1611614194_thumb.jpg I have this module: ... [Read more]

Lantis 26 Jan 2021 09:25

Nice gadget, but this communication with the manufacturer's servers disqualifies it for me. I wonder if there are any "open source" solutions... Just out of curiosity - what practical application... [Read more]

p.kaczmarek2 26 Jan 2021 13:01

I didn't find it, but I played with this SDK and I think it's all you need to make your own firmware. There is, for example, an example of AT commands: https://github.com/XradioTech/XR809SDK/tree/a3ec55fffe1678b9433be96b1f82fd82872cdc85/project/at_demo ... [Read more]

krzbor 26 Jan 2021 22:11

Do you see any significant advantage of XR809 over ESP8266 or ESP32S? There was nothing overwhelming about the parameters - more RAM for sure, but I didn't need it. ADC 12bit - there is no madness... [Read more]

p.kaczmarek2 26 Jan 2021 23:12

Rather not, and at the moment I have not seen any place where you can buy the XR3/XR809 module alone. It's more about giving the opportunity to upload your own firmware (independent of the manufacturer's... [Read more]

MiG25 30 Jan 2021 08:46

After extracting "deviceid" and "local key" there are programs that control it locally, without the Internet. [Read more]

Oskaeg 03 Dec 2021 02:13

I bought it because of the very good description of the topic founder. I live in the forest and the internet is via GPS and it is weak. I managed to download the TUJA applications but I haven't been... [Read more]

p.kaczmarek2 03 Dec 2021 03:26

@oskaeg - what exactly do you want to achieve? What do you want to enable? How locally have you considered placing a Home Assistant? https://www.elektroda.pl/rtvforum/topic3777098.html There is some... [Read more]

Oskaeg 03 Dec 2021 04:58

Thank God. I don't have much time... It's great that you replied so quickly, I was even going to write to you... I need to know if the door is open or closed. I need to do it discreetly, so I wanted... [Read more]

p.kaczmarek2 03 Dec 2021 05:21

But you want to check this door opening status from your phone, being in the same WiFi network as the device? Do you have your own WiFi there? If you just want to be able to check the status of... [Read more]

Oskaeg 03 Dec 2021 06:11

I wrote a PM message. I will also write about the TUYA application itself, in my case it turned out that the problem is not the Internet connection itself, as I thought before, but the application's... [Read more]