The 10$ Gocomma Wifi Door Sensor on Gearbest seems to use ESP8266

I was searching around HA products on Chinese sites and I found this Wifi Door reed sensor on Sale by a company called GoComma.

I noticed that it has ESP82*6 in the chip on the Screenshots. The * part looks like thier 5,6,8.
Most likely a 6. But I’m not 100% sure.

Any geeks and hackers want to get this and try to make it work with MQTT for OpenHab and HomeAssistant?

WiFi door and window sensors were my next esp project. I’ve ordered 4 and will have a go at reverse engineering them and seeing if I can get them working with esphomeyaml.

I’m curious how long will the battery last. Even in powered down state associating with a Wi-Fi AP is a huge power draw.

1 Like

I’m messing with the ESP32 deep sleep mode at the moment. I can get it down to 7uA sleeping and 300-400mA when awake. I can connect and update a few MQTT sensors in less than 40 seconds.


The battery is 3.V x 850mAh = 2.55Wh

Lets say my door opens an average of 4 times a day, = 160 sec active = 0.353160/60/60 = 47mWh / day

The energy used asleep is orders of magnitude less than this at 0.5 mWh/day.

2.55Wh / 47.5 mWh/day = 54 days.

At $3.50 AUD per battery, that’s an annoying 6 non rechargeable battery changes a year at a total cost of $24 AUD - per door.

To last two years the device would have to draw 3.5mWh a day. That would require the door to be opened only once per day and to be able to wake and transmit the MQTT message in 10 seconds. Sending only one mqtt message this might be possible.

BUT the ESP2866 sleep current is 3 times as large (20uA).

Hmmm. Not sure how they can claim “Battery life: 2 years”.

1 Like

And let’s not forget that batteries self-discharge, and also, their voltage drops when it gets cold. Door/Windows sensors are meant to be attached to the coldest part of the room - the door/window.

They look the same PCB as the NAS-DS01W Reliable and cheap door/window sensors

I gave up trying to reflash them in the end. I could get them into programming mode but couldn’t flash them. There must be something interfering with the chip on the PCB.

I’ll give reverse engineering the circuit a go first. Then try re-flashing.

I actually tried to cancel my order but GearBest conveniently didn’t reply to my ticket until after they had shipped.

They do work with IFTTT as a last resort. Although I am yet to do any automations using IFTTT.

Thanks. The GearBest page says to use the Tuya app. There’s a Tuya HA component but it has no door sensor. I’m not a fan of cloud apps anyway.

Haven’t tried this yet but it could be an option;

Bit of an update. I totally failed to get tuya convert to discover them. Also failed using this (ignore the title it works with the Neo Coolcam door window sensors as well):

I could get it into boot mode but not flash it with the esphome flash tool. If you can do that the bin file generated from ESPhome should work.