Live data from Hacker News

Convert an existing wired doorbell into a smart doorbell using ESPHome

frenck.dev

11–20 of 75 posts

Re: Convert an existing wired doorbell into a smart doorbell using ESPHome

#11

Am I missing something? Neither schematics nor my limited understanding of physics explains why you need to, nor how it is possible to, bend one of the pins to disconnect GPIO0 (chip-row, 3rd from the left) from the reset pin (edge-row, 2nd from the left)... Is it me? Have I been misusing my 8266s all this time? Otherwise, good article, nice idea, great conclusion!

I’m almost ignorant on this device, but FTA (https://frenck.dev/diy-smart-doorbell-for-just-2-dollar/#2-t...)

“This relay module board for the ESP-01(S), It comes pre-soldered, and the ESP will just slide on top of it.”

So, bending that pin breaks a connection between the CPU board and the relais board, so that pressing the doorbell wouldn’t be able to send a reset signal to the CPU, or, as the article says:

FTA: “Without this modification, a doorbell button push would result in a reset/restart of the chip, which of course, isn’t what we want”

That made me wonder why the hardware is hooked up that way by default in a device that gets sold for this specific purpose.

A few searches learnt me that the device has a deep sleep state where it uses very little power. The only way to wake it up externally from that state is through a reset.

https://johnmu.com/quick-boot-button/ taught me that it can boot in about 100ms, and get WiFi on in a few seconds.

=> I think that keeping that pin in place is the intended way to use this hardware combo.

The device would boot when the bell is rung, first close the relais switch to ring the bell, and then do any home automation stuff a few seconds later. Latencies look acceptable to me.

I ideally would want to power it completely from the button push or, at least, from the same adapter as the doorbell, but both will be challenging. The first doesn’t deliver enough power for long enough, the second likely doesn’t run on 3.3V.

Re: Convert an existing wired doorbell into a smart doorbell using ESPHome

#12

Am I missing something? Neither schematics nor my limited understanding of physics explains why you need to, nor how it is possible to, bend one of the pins to disconnect GPIO0 (chip-row, 3rd from the left) from the reset pin (edge-row, 2nd from the left)... Is it me? Have I been misusing my 8266s all this time? Otherwise, good article, nice idea, great conclusion!

Let me take a swing at this: the chip itself has two GPIO. The dev board the chip is soldered to already uses up one of them for the reset system, allowing the chip to programmatically reset the whole board. You’re basically undoing that so you can use it. I’m guessing the consequence is you can no-longer have the software reset the whole device anymore.

And now if this is wrong, hopefully I’ll be corrected and we’ll learn more. :)

Re: Convert an existing wired doorbell into a smart doorbell using ESPHome

#13

Am I missing something? Neither schematics nor my limited understanding of physics explains why you need to, nor how it is possible to, bend one of the pins to disconnect GPIO0 (chip-row, 3rd from the left) from the reset pin (edge-row, 2nd from the left)... Is it me? Have I been misusing my 8266s all this time? Otherwise, good article, nice idea, great conclusion!

There's some DRMed video that shows how to do it, and some text explaining why:

https://i.imgur.com/nNMMdhF.png

Re: Convert an existing wired doorbell into a smart doorbell using ESPHome

#14

Am I missing something? Neither schematics nor my limited understanding of physics explains why you need to, nor how it is possible to, bend one of the pins to disconnect GPIO0 (chip-row, 3rd from the left) from the reset pin (edge-row, 2nd from the left)... Is it me? Have I been misusing my 8266s all this time? Otherwise, good article, nice idea, great conclusion!

[deleted]

Re: Convert an existing wired doorbell into a smart doorbell using ESPHome

#16
post #5

Earlier quoted context omitted.

Looks completely fine to me. (Safari, latest non-beta iOS)

I'm on android, chrome on S24 Ultra - website is unusable, everything is all over the place.

Fine for me on Firefox/Android. Not a big fan of the header and footer but it seema perfect readable/usable.

Re: Convert an existing wired doorbell into a smart doorbell using ESPHome

#17
post #11

Am I missing something? Neither schematics nor my limited understanding of physics explains why you need to, nor how it is possible to, bend one of the pins to disconnect GPIO0 (chip-row, 3rd from the left) from the reset pin (edge-row, 2nd from the left)... Is it me? Have I been misusing my 8266s all this time? Otherwise, good article, nice idea, great conclusion!

I’m almost ignorant on this device, but FTA ( https://frenck.dev/diy-smart-doorbell-for-just-2-dollar/#2-t... ) “This relay module board for the ESP-01(S), It comes pre-soldered, and the ESP will just slide on top of it.” So, bending that pin breaks a connection between the CPU board and the relais board, so that pressing the doorbell wouldn’t be able to send a reset signal to the CPU, or, as the article says: FTA: “…

> The first doesn’t deliver enough power for long enough

Charge up a capacitor, maybe?

Re: Convert an existing wired doorbell into a smart doorbell using ESPHome

#18
I wouldn't recommend crimping your own hookup wires as a hobbiest, especially not dupont. The unofficial tools for dupont mostly all suck, and the official tools are $400+[1].

[1]: https://www.mattmillman.com/info/crimpconnectors/dupont-and-...

For my own crimping of dupont, I'm using the Iwiss SN-025 which works OK, but even then I've mostly switched to Mini-PV because I was tired of the dupont receptacles wearing out after 5 cycles.

The pictured SN-28B is definitely not good for dupont, which has a totally round cable holding ring. Amazon/Aliexpress sellers don't know anything about what they are selling.

Re: Convert an existing wired doorbell into a smart doorbell using ESPHome

#19
post #15

very cool, but too bulky for what it is. for just 4$ you can have this one https://www.aliexpress.us/item/3256806558695914.html

> too bulky for what it is. for just 4$ you can have this...

...thing that is 2 inches across and 0.5 inches tall to use as a doorbell button?

Re: Convert an existing wired doorbell into a smart doorbell using ESPHome

#20
post #15

very cool, but too bulky for what it is. for just 4$ you can have this one https://www.aliexpress.us/item/3256806558695914.html

> too bulky for what it is. for just 4$ you can have this... ...thing that is 2 inches across and 0.5 inches tall to use as a doorbell button?

+ an external power supply
Post reply on HN