Every Apartment needs this Upgrade! (WhatsApp/Telegram Notifications)

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 พ.ค. 2024
  • Free Altium Designer Trial: altium.com/yt/greatscott!
    Previous video: • Your Components are pr...
    Home Assistant video: • DIY Home Automation In...
    Facebook: / greatscottlab
    Twitter: / greatscottlab
    Instagram: / great.scott.lab
    Support me for more videos: www.patreon.com/GreatScott?ty=h
    More project information here: / 67124049
    You can get the parts for this project here (affiliate links):
    Aliexpress:
    ESP8266: s.click.aliexpress.com/e/_9RWw7d
    Resistors: s.click.aliexpress.com/e/_9yPdxh
    5V Power Supply: s.click.aliexpress.com/e/_AmIdk7
    Amazon.com:
    ESP8266: amzn.to/3N1RUmT
    Resistors: amzn.to/3lXYxdX
    5V Power Supply: amzn.to/3lXupPX
    Amazon.de:
    ESP8266: amzn.to/3N4r3Xm
    Resistors: amzn.to/3M3NbzA
    5V Power Supply: amzn.to/3a6kV28
    In this project I will be solving a problem that I had for a while. Since I love listening to music I always miss the doorbell. That is a big problem for me because there is always a postman at the door trying to deliver the components for the next project. So in this video I will show you how to add an ESP8266 to an intercom so that it can send WhatsApp/Telegram notifications to a phone. This way I and maybe you will never miss the doorbell again ;-) Let's get started!
    Websites which were shown/used in the video:
    asset.conrad.com/media10/add/...
    www.nicht-trivial.de/index.ph...
    www.callmebot.com/blog/free-a...
    github.com/witnessmenow/push-...
    / brianlough
    www.twilio.com/
    giphy.com/gifs/free-real-esta...
    Thanks to Altium for sponsoring this video.
    0:00 My Doorbell Problem
    1:30 Intro
    2:09 Plan Overview
    2:58 Intercom Investigation
    4:46 uC WhatsApp Notifications
    6:54 uC Telegram Notifications
    7:36 Adding the uC to the Intercom
    9:31 Verdict
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 1.4K

  • @BrianLough
    @BrianLough ปีที่แล้ว +2129

    Thanks for the shout-out! I'm really glad people are still finding the telegram library useful, I still think it's the easiest way to do push notifications on an esp device!

    • @greatscottlab
      @greatscottlab  ปีที่แล้ว +173

      Thanks for your great work :-)

    • @ubiquitousingit
      @ubiquitousingit ปีที่แล้ว +23

      I wasn’t aware of the library and ended up sending the POST request instead. Will be trying it out in my next project.

    • @ChunkySteveo
      @ChunkySteveo ปีที่แล้ว +23

      Brian's last name is pronounced "lock", you were close Scott!

    • @efrenbg1
      @efrenbg1 ปีที่แล้ว +6

      Use it for everything! Complete and easy to use

    • @BuyitFixit
      @BuyitFixit ปีที่แล้ว +9

      Thank you for the library. I used it myself about a year ago with a PIR sensor to detect rat activity in one of the barns.

  • @SilentlyPrickable
    @SilentlyPrickable ปีที่แล้ว +1231

    5:22 The problem with the notification delay is due to Android's standby services (Doze Mode, to be more specific) since like A8, so you need to define "priority: high" parameter (look into dev documentation for HomeAssistant), then it bypasses it and notifications are pushed instantly.

    • @greatscottlab
      @greatscottlab  ปีที่แล้ว +320

      Thanks for the tip

    • @LuLeBe
      @LuLeBe ปีที่แล้ว +49

      Is it just doze mode and not something else as well? Afaik doze activates when the device is not in use for quite some time while stationary. So really he should only have issues when it's sitting on a desk for half an hour, not even in a pocket or so. But android devices have also picked up the habit of trying to shut off everything that's not high priority, even without doze, unfortunately.

    • @SilentlyPrickable
      @SilentlyPrickable ปีที่แล้ว +31

      ​@@LuLeBe In my experience with multiple Samsung phones, it's basically only the Doze, after disabling it via adb, everything works perfectly fine. Unfortunately without root it needs to be disabled after every restart, soo... after many headscratches I was insanely glad I found that there is something like a critical notification and it's possible to fix it at least for HomeAssistant. But sure, it could be also affected by other processes. (I'm more like stubborn tinkerer than a developer xD )
      Btw: Doze intereferes even after 5minutes of "idle" (phone on a desk with display turned off), but it could be manufacturer dependant.

    • @WX4CB
      @WX4CB ปีที่แล้ว +19

      and not to mention that well.. it's the internet and you're relying on someone else not being overloaded (IE the bot or telegram)

    • @LC-hd5dc
      @LC-hd5dc ปีที่แล้ว +29

      the SMS/messaging round trip is also incredibly slow and unreliable. i imagine it would be much faster to send some magic packet across your LAN to your device(s), that way you can even get desktop notifications or use something like Tasker on your phone to alert accordingly

  • @seanthiar
    @seanthiar ปีที่แล้ว +32

    That was the reinvention of the tire. Had the same problem - the solution was a simple system for under 20€ from Reichelt with a sensor next to the bell that sends a wireless signal when it 'hears' sound and a receiver with a second bell or a light that flashes when the bell rings. No significant delay (maybe a few milliseconds) and you don't need an external service (a big plus). Something like that is sold for years for people that are deaf or need hearing aids or have a loud environment and works for every bell.
    Ritto, the company that built your house phone, has relays in their catalogue to switch external non Ritto products when the bell rings and offers additional wireless remote bells or remote flashing lights. Other companies even offer a high power relay (8KW) that you can integrate in a fuse box to flash all lights when someone rings the bell. It is used when all people in a household are deaf.

    • @ritterkeks
      @ritterkeks หลายเดือนก่อน +2

      Well yes and no. I did also use a wireless sender/receiver product for my grandma, so she does not miss the bell when she is in the living room with the TV turned all the way up. Not as cheap as an ESP but a lot less hassle for sure! That said, the solution provided here is applicable (and used) for much more than deaf/hearing impaired/working in loud environments or with headphones! Since it is in fact NOT locally extending the bell alert, one can get notified away from home that somebody rang the doorbell and with the second contact mentioned even trigger the door buzzer remotely…. something the local RF extender cannot do.

    • @kebman
      @kebman 16 วันที่ผ่านมา +3

      Something tells me that this project is not for those who want easy solutions. xD It's a kind of fun all of its own to tinker about in electronic boards and chips and find out which pin does what, to then make some sort of system out of it with just a soldering iron and some cheap electrical components. Oh and an overpriced Rπ ofc.

  • @JohnDoe-nz3wq
    @JohnDoe-nz3wq ปีที่แล้ว +133

    As a landlord myself, I would strongly recommend using an optocoupler. These intercom systems are not as stable as you would think. The connected ground and the y capacitor in your smps are some troublemaker.

    • @wildekek
      @wildekek ปีที่แล้ว +12

      Yep. Especially when other tenants trigger the door opener, you can see huge voltage spikes on these systems caused by the inductor in the door opener.

    • @MattFixesStuff
      @MattFixesStuff 2 หลายเดือนก่อน

      Why is everyone suggesting optocpuplers. I mean I love optocouplers (theyre so cool *-*..) but couldnt you just also simply use a relais ?

  • @pesterenan
    @pesterenan ปีที่แล้ว +498

    So cool to see old tech being "modernized" with the help of a little microcontroller :D

    • @greatscottlab
      @greatscottlab  ปีที่แล้ว +41

      I think so too :-)

    • @uvuvwevwevweossaswithglasses
      @uvuvwevwevweossaswithglasses ปีที่แล้ว +10

      Thats not a little microcontroller though. Its pretty powerful for a micro controller

    • @Engineer9736
      @Engineer9736 ปีที่แล้ว +10

      @@uvuvwevwevweossaswithglasses The dimensions are little.

    • @yashaswikulshreshtha1588
      @yashaswikulshreshtha1588 ปีที่แล้ว +1

      @@greatscottlab U can sell cute little greatscott electronic components plushies!! I think people may buy them ! lol..

    • @tristan6509
      @tristan6509 ปีที่แล้ว +5

      @@uvuvwevwevweossaswithglasses a micro controller is little, it literally has the word 'micro' on it...

  • @randycarter2001
    @randycarter2001 ปีที่แล้ว +551

    I would have used an optocoupler. That way the ground of my system won't be connected to the ground outside of the apartment. At any time someone can change the wiring and blow things up. Also reduces the possibility of anything I'm doing creating a shock hazard for others.

    • @gavster89
      @gavster89 ปีที่แล้ว +31

      I was going to say the same thing. Also gets around the level shifting too.

    • @m3mem4chine86
      @m3mem4chine86 ปีที่แล้ว +9

      This. You're also assuming that the 5V supply isn't grounded.

    • @randycarter2001
      @randycarter2001 ปีที่แล้ว +20

      @@m3mem4chine86 From the looks of the layout the supply is basically floating. It can assume any voltage above ground it needs to. When you're running cables a long distance isolation is your friend. You have no control over what can happen on the other end of the wire.

    • @hillppari
      @hillppari ปีที่แล้ว +5

      Europlugs dont have ground connection that the powersupply used.

    • @tw38203
      @tw38203 ปีที่แล้ว +21

      I actually did it this way and it works perfectly. Tho my bell sits at 18V normally and rises up to 24V when ringing, so I put a zener infront of the optocoppler. Furthermore two optocopplers were used to be able to activate the push buttons on the intercom wirelessly (using homeassistant). Works like a charm!

  • @remus6649
    @remus6649 ปีที่แล้ว +40

    TLDR How to get notifications on WhatsApp: Uninstall it, then get Telegram

  • @ericjohnson2193
    @ericjohnson2193 ปีที่แล้ว +8

    A lot of apartments around me in the US have really analog systems with terminals by TekTone. They have a dedicated wire for the "warble" tone when the doorbell is pressed. So I put a current-transformer around that and use it as an input in ESPHome, which works reliably. And I figured out what terminals to connect to trigger the door strike and connected a relay to them. It works really well and doesn't even require soldering since all the connections are at the screw-terminals.

  • @HochFrequenzFreak
    @HochFrequenzFreak ปีที่แล้ว +19

    Did this also to my doorbell. I also connected a relay to the door opener, so the postman can come up to my apartment while I am moving to the door :) I used nodered for the Telegram message receive handling to open the door.

    • @joluas_
      @joluas_ ปีที่แล้ว +4

      I think this is the better approach. If he already opened the intercom, connected an external power supply and created a whole new enclosure, the door opener would have made this project a 10 out of 10 for me.

  • @zrxav
    @zrxav ปีที่แล้ว +28

    Something cool you might add to the system you’ve already built is controlling the buttons to open up the door or answering the intercom from your smartphone without having to walk to your intercom

    • @JeppeBeier
      @JeppeBeier ปีที่แล้ว +5

      Answering the intercom might be a bit tricky, but something like opening the door should be relatively simple given that it's done through a simple momentary switch. Main issue with it would be interfacing in a non-destructive way so that it leaves no traces if you eventually move out again.

    • @henriksundt7148
      @henriksundt7148 ปีที่แล้ว +1

      @@JeppeBeier The mic and speaker of the handset should be quite easy to intercept, as they are analog and accessible via the connector.

    • @user-en3lz5lv6t
      @user-en3lz5lv6t 3 หลายเดือนก่อน

      @@JeppeBeier i actually did that using a SONOFF RE5V1C whose switch is decoupled from power voltage although it was abit more weird cause my intercom uses 16v AC.

    • @black11189
      @black11189 2 หลายเดือนก่อน

      @@user-en3lz5lv6tlooking for doing this project, with open notification AND open door with this PCB but i’m afraid to breack the intercomms system

  • @birdpump
    @birdpump ปีที่แล้ว +2

    Great video Mr. Scott. I love how you make your videos in such a way where it is useful for everyone, and not a very specific project.

  • @evilmonkeywithissues
    @evilmonkeywithissues ปีที่แล้ว +3

    I am definitely going to be making some modifications to my front door now. I can never hear when people knock when I'm in my room tinkering, but I usually have a video running on my phone, so push notifications are the perfect solution for me.

  • @HawkX189
    @HawkX189 ปีที่แล้ว +17

    You definitely need the same sound as your door bell as notification message sound for that telegram chat 😂

  • @smitcher
    @smitcher ปีที่แล้ว +152

    Neat project but I think, given the size and infrequency of visitors to your door you should have just added a lipo battery, bypassed the 5v->3.3v regulator and created a trickle charge circuit to draw

    • @fredfred2363
      @fredfred2363 ปีที่แล้ว +5

      Yup 👍🏻🇬🇧

    • @der94alex
      @der94alex ปีที่แล้ว +6

      an pcb edge connector wouldve been neat, agree

    • @NEOX128
      @NEOX128 ปีที่แล้ว +9

      a buck converter like 2596 board is near 90% eficient, so 5v * 0.1a ( 80ma + loss) its .5w in 24v line not 6va

    • @casemodder89
      @casemodder89 ปีที่แล้ว +13

      and one day the lipo bulges, catches fire while he's not at home and the landlord WILL be mad if his house is burned down from a not officially approved "smart home" device.

    • @sayyidsahal1996
      @sayyidsahal1996 ปีที่แล้ว

      @@casemodder89 he can use a joule theif

  • @Red24DryBones
    @Red24DryBones ปีที่แล้ว +4

    Really cool & useful system,. yet what I find most impressive is how he has cable cover/duct on a wall that has significant texture. Long ago I gave up on using any cable ducts on textured walls because they never last a month before loosing grip.

  • @BuyitFixit
    @BuyitFixit ปีที่แล้ว +1

    I did something similar a while back. I used an esp + telegram library and a PIR module to detect rats in one of the barns. Worked really well.

  • @07_sev52
    @07_sev52 ปีที่แล้ว +16

    I've done pretty much exactly the same thing about a year ago. I just used a shelly to send a notification to my phone using MQTT and home assistant. It can also be used to controll the lights which would be quite helpful to a deaf person lol.

  • @calvinbrowne2126
    @calvinbrowne2126 ปีที่แล้ว +5

    In the beginning of your video, I was thinking "this is a job for the telegram botfather". Now that you've started down this road, you'll find you can get homeassistant to talk to the channel as well.
    My home talks to a house telegram channel, pushing notices as need, such as "hey, do you realise you've left the main gate open for more than five minutes?"
    And the whole family can subscribe to the channel - win win!

  • @Mare0912
    @Mare0912 ปีที่แล้ว +2

    Two days ago I was talking to some friends, that I need some kind of smartification for my apartment's bell. TH-cam's algorithm led me to you. Thanks for sharing the experience! :)

  • @lynnashley6247
    @lynnashley6247 ปีที่แล้ว +2

    It's fortunate for you that your delivery people actually let you know that a package is being delivered. Where I live in the US, they refuse to do that, even though the doorbell is only 18 inches (~ 1/2 meter) directly above where they set the packages.

  • @ChessIsJustAGame
    @ChessIsJustAGame ปีที่แล้ว +62

    A light that flashes in your work space. A hard of hearing relative of my wife had a system that flashes rapidly if phone rings (old school home phone) and flashes a slower signal if the door bell is rung. Both elderly passed away more than a decade ago. It was part of a commercial security system that is long gone, but great idea.

    • @TheRailroad99
      @TheRailroad99 ปีที่แล้ว +1

      And super easy to implement with common smart home software (like ZigBee lamps)

    • @jort93z
      @jort93z ปีที่แล้ว +2

      If you have home automation you could probably even make the normal lights flash.

    • @Etacovda63
      @Etacovda63 ปีที่แล้ว

      This could be done with WLED and http notifications - only a few lines of code in the existing esp8266

    • @ChristianBrugger
      @ChristianBrugger ปีที่แล้ว +1

      This is what I would have done. A big flashing light. So much more reliable and easier to integrate than what was presented here.

  • @xTerminatorAndy
    @xTerminatorAndy ปีที่แล้ว +3

    This is a great project Scott. Not only for your convenience but also great for people with a hearing impairment that cannot get permission from the landperson to install adapted doorbels

  • @Mr.Engine993
    @Mr.Engine993 ปีที่แล้ว +18

    Although this kind of projects might sound boring, it's my favorite (after the super crazy ones) because it solves those annoying little problems that end up being completely frustrating.

  • @TheBimboBread
    @TheBimboBread ปีที่แล้ว +1

    I've same idea a few month ago, It's awesome you have implemented!! Totally respect to you man

  • @sschueller
    @sschueller ปีที่แล้ว +31

    That looks like a standard PCB edge connector. You could also have used one of those and avoided soldering to the board directly.

    • @irishRocker1
      @irishRocker1 ปีที่แล้ว +1

      Yes, agreed it would be better solution in an apartment you are renting in. If landlord sees you modified something like this they can take your deposit when you leave.

  • @grimd8788
    @grimd8788 ปีที่แล้ว +12

    "Wife alert!" LOL 😆 I love it.

  • @systemofapwne
    @systemofapwne ปีที่แล้ว +2

    I also built something similar about 3 years ago with an arduino nano and an nrf24l01 which directly used the power of my Ritto door opener. I also added a solid state relay to turn on/off the bell at will and to fire the buzzer at the front door. It was really a fun project and extremely useful. Now after moving to my new apartment, I opted for a commercial solution: Nuki Door Opener. That thing is extremely easy to integrate with not much tinkering / reverse engineering the original door opener PCB. But OFC way more expensive (~100 Bucks).

  • @ethzero
    @ethzero ปีที่แล้ว +1

    I've never had an excuse to tinker with an ESP before but knowing you can trivially do this kinda stuff I'll almost certainly be adding it to my collection of RPis, Picos and Arduinos :)

  • @ohnejayla
    @ohnejayla ปีที่แล้ว +3

    Thanks so much.
    I wanted to tackle the same system a year ago without reverse engineering the whole circuit board. (I've got the 4 button version without the phone handle)
    Was about to use ldr and a relay to trigger incomming bells and opening the door but decided against it as it would probably end up pretty unreliable.
    This makes it a lot easier. I'll probably use an optocoupler and a relay for opening to not interfere with the board but finally some guiding light without interfering with that complicated bus protocol.
    As said: Thanks! Got new motivation :)

  • @Alintja
    @Alintja ปีที่แล้ว +66

    Awesome project, I pretty much did the same thing last year to the exact same intercom system. Take a look at pushover, I used that instead of telegram to add a custom button to the notification, which can immediately open the door as well.
    Super handy when you forgot the key or someone arrived earlier than you btw

    • @pearcomputers2542
      @pearcomputers2542 ปีที่แล้ว +11

      Yep, i would also recommend taking a look at pushover.

    • @greatscottlab
      @greatscottlab  ปีที่แล้ว +16

      Thanks for the tips!

    • @kekkocheng
      @kekkocheng ปีที่แล้ว +19

      @@greatscottlab You can also cut the the middleman without using universal telegram library and just send a POST request through Telegram API if it's just a one-way communication from ESP to telegram.

    • @rocktheworld2k6
      @rocktheworld2k6 ปีที่แล้ว +4

      @@greatscottlab Pushover is great, it's also integrated into Home Assistant so you can add everything to Home Assistant and do all your automations and other such stuff there as well, and I found it quick and reliable for pushing notifications.

    • @ethzero
      @ethzero ปีที่แล้ว +4

      +1 for Pushover. Excellent messaging API. I use it and a backup channel for critical server monitoring notifications so both speed and reliability is key. In practice I almost always get the Pushover message a second or two before the email; the email is configured to send *first* 😛

  • @Juandachu
    @Juandachu ปีที่แล้ว +1

    I've had something similar built into my intercoms for years. The first one was easy because there was a pin like yours where I could extract the ring signal. The second one I had to get creative, because I couldn't find such a pin and decided to trigger it based on speaker activity. I also added a relay to control the opening button remotely and this allowed me to open up the door from the Telegram notification itself :P
    I recently moved and have to open up the new intercom to investigate. Just might start doing that today...

  • @testman9541
    @testman9541 ปีที่แล้ว +8

    You could have used a supercap to provide power for the peeks. This would have enabled the whole thing to fit inside the original enclosure... Also you could have used bluetooth LE notifications so that your phone sound only if you are at home 👍

  • @seanman6541
    @seanman6541 ปีที่แล้ว +20

    Personally, I would recommend placing a small (100nf) capacitor between the ESP's GPIO pin and ground. This capacitor and the upper resistor of the voltage divider form an RC filter that will help to reduce any transient interference which might cause false triggering. I might also suggest a bidirectional TVS diode in the same location to protect against any large voltage spikes or ESD.

  • @0ZeldaFreak
    @0ZeldaFreak ปีที่แล้ว +7

    There are some things to note. Android Smartphones can be very tricky with engery savings, resulting in delayed or even no notification. A deeper look into the settings may help. There are a few things. Usually allowing an app to run it in the background and maybe even start itself and fideling with the engery settings of an app. Some apps can handle it better than others.
    Maybe it can be even an issue of the app itself. With push notifications there are different types. Usually push means a server is pushing a message to your phone. An old way and a slow one is when the app needs to pull the notification itself.
    When you are not happy on how apps work with these things, asking for help in the forums might give you options to change and help you to make it work for you better.
    With the energy I must say that pulling energy from the intercom might be illegal. It can be considered theft. In apartment buildings its usually powered from outside your apartment and meaning the community pays for it.
    There are smart home door solutions that are aware of it and they have options to power it from your end, so you don't steal energy.
    In reality it might be hard to spot and the landlord doesn't care. But let's not forget, everyone is paying for it, for something you only use.
    I also want to mention that this idea isn't new. There are solutions to connect an intercom to your phone. It's for the landline phone. You can control your intercom with it. It's usually for businesses. Also it's not that cheap, especially when you don't have a landline setup at home. But when your intercom supports it, you could open your door and speak to the intercom from your phone. You may not require a landline phone, because there are systems that support soft phones, meaning software phones and that means you could use a smartphone app. It's like a phone call.
    I think a remote opening might be useful for deliveries. This gives you the time to go to the door, when the delivery guy is going up the stairs.
    I'm not quite happy with the solution. It relys on external services. I would prefer a solution that doesn't need any external services. It would be nice when you could speak through the intercom via your phone and maybe even open it. The opening part should be optional, because this is a security risk and it might be good enough when you can speak to the person until you are at the door.

  • @FreeUghhh
    @FreeUghhh ปีที่แล้ว +2

    Thanks for the info, I was able to have my old 1970's doorbell to send notifications to my phone but i had to make some modifications to the code and the pins!

  • @AB-pb8oo
    @AB-pb8oo ปีที่แล้ว

    I built one last year, after my son got the noise-cancelling AirPods pro and started wearing them all the time. Incredibly useful upgrade!

  • @zaprodk
    @zaprodk ปีที่แล้ว +4

    I believe Brian's surname is pronounced "lock" :) - I'm glad you selected his library. He did a good job on it!

    • @epender
      @epender 2 หลายเดือนก่อน

      More like a Scottish/German ch :)

  • @SmilingRob
    @SmilingRob ปีที่แล้ว +47

    Seeing how much effort this took, I can see why you didn't have time to make the ESP play text-to-speech when you type a whatsapp message to it.

    • @gn2b445
      @gn2b445 ปีที่แล้ว +9

      @BBMS Official pateron

    • @Sol_Rosenberg
      @Sol_Rosenberg ปีที่แล้ว +1

      @BBMS Official true. This is a difference between public and private videos.

    • @FixTronics
      @FixTronics ปีที่แล้ว +1

      @BBMS Official
      Not 11 but 12 days ago😅

    • @SmilingRob
      @SmilingRob ปีที่แล้ว +1

      @BBMS Official sorry I should be more careful not to cause paradoxes in the time continuum.

  • @andrebartels1690
    @andrebartels1690 ปีที่แล้ว

    Hey Great Scott, I like your videos a lot. They're a good bit above my electronics understanding, still I like your hands-on attitude. And I think your new intro is quite fresh 👌

  • @tinkmarshino
    @tinkmarshino ปีที่แล้ว

    I always learn something watching your vid's.. Great Scott! and old dog learning new trick! unheard of.... This was great Scott thanks..

  • @emaker1233
    @emaker1233 ปีที่แล้ว +8

    Some time later when Scott moves out and forgets the box.
    New occupant: "Gets a ring*
    Scott's phone: *Get a notification*
    Scott: "Oh crap forgot to remove that"

    • @jur4x
      @jur4x ปีที่แล้ว

      Yeah, he might forget about that while taking kitchen apart.

  • @EFazy
    @EFazy ปีที่แล้ว +20

    i did almost the same in my flat years before :) I used a small mic, glued next to the ring speaker, and - since there was no ESP32 back then (or at least i don't had one) I made a louder alarm sound closer, where I usually stay :)

    • @xmfclick
      @xmfclick ปีที่แล้ว +1

      Yes, early in the video I thought to myself, "Why doesn't he just rig up a louder ringer?" But then, he wouldn't have got a YT video out it!

    • @Jehty21
      @Jehty21 ปีที่แล้ว

      @@xmfclick because you won't hear a louder ringer in the basement or garden.

    • @maker_pt
      @maker_pt ปีที่แล้ว

      @@xmfclick There are maybe a few more ups to it. Because he get's notified even outside of his flat. Also he can use it for automations. I for example built a "Party mode" in mine. If party mode is set to on, it will automatically buzzer the entry door or if at the apartment door, open the nuki. So people arriving to the party or going for a smoke don't need a key or rely on somebody to let them in again.

  • @michaelmolter8828
    @michaelmolter8828 ปีที่แล้ว +1

    Definitely considered this. Especially a system that I could text to, and have it trigger the door latch button for me. But man, if you short or fry something, what a mess! Those systems are ancient, and finding a new main board would be crazy expensive!

  • @balls2bone
    @balls2bone ปีที่แล้ว +2

    I designed similar a few years back for my local hackspace. Difference was that the ring signal was PWM 12V so I used a fat capacitor to smooth it out and an opto isolator as wanted it isolated. Then it pumps out MQTT and PA plays a doorbell sound to all rooms.
    There was also a relay! ;-)

    • @wl11lm
      @wl11lm 4 หลายเดือนก่อน

      do you have any documentation?

  • @zeendaniels5809
    @zeendaniels5809 ปีที่แล้ว +8

    Upgrade idea: Add an option to open the door from your workbench... Either an option in Telegram or a physical button.

    • @ubiquitousingit
      @ubiquitousingit ปีที่แล้ว

      A relay can be added and commanded by ESP to short the “door open button” contacts. But probably he wants to listen to the person on the other side before opening the door!

    • @zeendaniels5809
      @zeendaniels5809 ปีที่แล้ว +1

      @@ubiquitousingit Lol... Right.
      A better idea then!
      Add a camera to the ESP like the one he uses for security, facing outwards. The moment someone knocks the message contains a picture of whoever is at the door.
      Seems feasible 👌🏼

    • @wayland7150
      @wayland7150 ปีที่แล้ว

      Skynet.

    • @unutilisateurdeyoutube1256
      @unutilisateurdeyoutube1256 ปีที่แล้ว

      Not sure this is a really secure way to do this.

  • @KallePihlajasaari
    @KallePihlajasaari ปีที่แล้ว +4

    Important to implement a Opto Isolation if you connect your power supply to any other ground referenced circuits so you do not have strange effects due to multiple grounding points-

    • @humphet3750
      @humphet3750 ปีที่แล้ว

      Yes, its not more complicated then voltage divider. I'm surprised such "solution"

  • @RestoreTechnique
    @RestoreTechnique ปีที่แล้ว +2

    Cool project! I was thinking you could of gotten a long range wireless doorbell, wired the button into the intercom system so that when you press the intercom button it triggers the receiver, which you could have sitting on your desk. You could even add flashing lights to the receiver (some already come with this feature) so it's not just an audio chime alerting you. You obviously aren't notified when not at home though.

  • @theNWdigital
    @theNWdigital ปีที่แล้ว

    Thanks for this ingenious idea!
    I recently figured out that the door opener signal from my parent's house intercom (as you know, intercoms are pretty common in Germany) terminates in the door unit. Ugly security flaw, because the door unit can be disassembled easily (2 screws) and simple shorting opens the door. The open trigger pulse will stay inside the house after my modification. Plus I add an ESP32 (with photocoupler) which enables opening via fingerprint reader (Wiegand protocol) and via HTTP call. Will add a Telegram notification functionality, too.

  • @CH_Pechiar
    @CH_Pechiar ปีที่แล้ว +4

    Nice project. I now have interest in more info about the telegram bot. Anyways, I would have added a optocupler between your hardware and the intercom so as to fully isolate both systems.

  • @florians.4034
    @florians.4034 ปีที่แล้ว +19

    Just a word of warning: it is easy to fry the controller in the basement and sometimes just adding a wire to e.g. the door opening button can make the bus lock up due to some EMV. And the controllers are really expensive so maybe putting a microphone next to the piezo is a more non invasive way :)
    And yes, I witnessed these kind of projects going wrong three times

    • @jucaesar4961
      @jucaesar4961 ปีที่แล้ว +4

      The problem with a microphone next to the piezo is that vacuuming near the door can, if the noise level is sufficient, also trigger a constant stream of messages. My little brother has cochlear implants, and my father installed a bell add-on in our house such that my little brother would receive an extra audible and visible notification to his room.
      It was unfortunately also triggered by vacuuming near the door, essentially making it quite useless.

    • @Mrcaffinebean
      @Mrcaffinebean ปีที่แล้ว

      I bet more of them where from shorting the pins than anything else. It’s an easy mistake to make.

    • @florians.4034
      @florians.4034 ปีที่แล้ว +1

      @@Mrcaffinebean nope, definitely not. A 10m long cable attached to the door open buttons to operate it from a table locked up the system, removing the wire then allowed it to be used again

  • @DirkSarodnick
    @DirkSarodnick ปีที่แล้ว

    I did a very similar thing more then two years ago. We have a HAT-402 in our appartment and there is a RSR-402 control relay on Amazon, which is basically an upgrade/extension you can more or less plug in. As it is a relay, it was very easy to wire it to an ESP32 like a button. It was my first electronic project and I spend days reading the HAT-402 manual to not mess up anything, but it felt great and it still works like a charm. Fun fact: I can even track the length of each door bell pressing, because the relay closes while the door bell is pressed. 😎
    I also used telegram, but I build my own bot. Another plus for telegram: I do not use it for messaging, therefore I can better distingiush between smart home notifications and normal messages. 😉

  • @cubiee-sci6190
    @cubiee-sci6190 ปีที่แล้ว +1

    Awesome project i implemented a similar system in my home. Brians library is really awesome, but as an alternative telegram bots can be integrated directly into home assistant. Combined with sensors based on esphome you can archive the same result with minimal coding experience and you can use the huge amount of possibilities in home Assistent like logging and automations

  • @RamiR0000
    @RamiR0000 ปีที่แล้ว +5

    Thank you for every inspiring video you post, but i would have to say that this time i was faster on creating similar system with a bit more functionalities. The one i built uses ESP32 and Uses battery as power source all enclosed inside the intercom itself. In addition to the regular notification that uses HA, i wired one of the pin to the unlock button, and using ESPhome that create a sensor, with some useful information such how many times my door being rang a month. I wanted to take that further, so i built an automation that will send actionable notification if i am home or away, but if i am at the building door but not inside the flat the system will trigger the unlock for me. so i do not need keys for the below door. it takes 7 seconds for the system to wake up from deep sleep, and trigger the door or send the notification.

    • @basilconscious
      @basilconscious ปีที่แล้ว +1

      Can you provide more information on this please?

    • @alphawarriorthegrandmaster
      @alphawarriorthegrandmaster ปีที่แล้ว

      This will be awsomw if you could explain this a bit, and do you think it is possible to use this with also a video feed, i gave a comelit with video

  • @obd6HsN
    @obd6HsN ปีที่แล้ว +54

    Did you consider putting an opto-isolator between the intercom and the ESP, rather than connecting the intercom's 5v signal directly to the ESP?

    • @greatscottlab
      @greatscottlab  ปีที่แล้ว +34

      Not really.....

    • @a1nelson
      @a1nelson ปีที่แล้ว +26

      @@greatscottlab I appreciate the honest response - no joke. An optocoupler does seem like a good idea. At minimum, it avoids a potential ground loop from the second (5V) supply many meters away from the system’s supply. Also, who knows how the system will react during power-up, power-down, lightning, etc. It also protects you and your equipment from any other electronics experimenters in your building :).

    • @jasond.valentine5931
      @jasond.valentine5931 ปีที่แล้ว +3

      curious newbie here, what problem would an octo solve?

    • @obd6HsN
      @obd6HsN ปีที่แล้ว +7

      @@jasond.valentine5931 the two main ones for me would have been 1) decoupling the 5v reference of the other system. Who's to say that the ground references can be relied upon to be the same? 2) no risk of the controller putting voltage *out* back on to the intercom for example if the pins are briefly configured as outputs before your code starts to run on boot-up.

    • @obd6HsN
      @obd6HsN ปีที่แล้ว

      @@jasond.valentine5931 there is another comment made around the same time as mine which has gained more traction with a bunch more answers, so search for that one for more ideas

  • @ChibaCityBlues
    @ChibaCityBlues ปีที่แล้ว

    I did something similar using Home Assistant. The compainion app notifies me, and HA saves the state of all lights, changes all lights to red and restores the state of all lights.
    So useful!

  • @James-fe7wd
    @James-fe7wd ปีที่แล้ว

    This was super cool, given me some ideas for how to accomplish some projects I've been wanting to do for years now!

  • @andreasu.3546
    @andreasu.3546 ปีที่แล้ว +3

    9:34: Four seconds from pushing the doorbell and message appearing on the phone. Where I live, that's more than enough time for the delivery person to drop the package at some neighbor's house and race out of sight.

  • @M_ark19
    @M_ark19 ปีที่แล้ว +3

    Nice would be to add remote door unlocking also, if you can send a message back to the controller you could just close the circuit of the unlock button

  • @quadracycle4000
    @quadracycle4000 ปีที่แล้ว

    That's amazing! I love these little home DIY solutions

  • @OrbitalCookie
    @OrbitalCookie ปีที่แล้ว

    Projects are the reason why I am subscribed.

  • @PioneerAxon
    @PioneerAxon ปีที่แล้ว +6

    You could also integrate the telegram notifications with the Home Assistant. That way, you not only can send the notification, but also trigger the door lock with telegram actions from your phone.

    • @greatscottlab
      @greatscottlab  ปีที่แล้ว +3

      Also a good idea :-)

    • @gmourao
      @gmourao ปีที่แล้ว

      That's not hard. Hard is listening the intercom with the phone to see if you can really open the door.

  • @HighVoltages
    @HighVoltages ปีที่แล้ว +8

    From watching your tutorials as a university student to get featured in your video (indirectly though 5:38 ). I never knew this is going to happen. Thank you for your tutorials which helped me learn alot!!!

  • @ljsystems5694
    @ljsystems5694 ปีที่แล้ว

    Ich bin so froh, das ich dein Video entdeckt habe, da ich genau die gleiche Türklingel habe. Werde ich auf jeden Fall mal nachbauen!

  • @NerdPirateRadio
    @NerdPirateRadio ปีที่แล้ว +1

    That video intro was a nice surprise, very cool. also cool, a sponsor to a video that is actually relevant to the views.

  • @rklauco
    @rklauco ปีที่แล้ว +15

    Interesting - I would take DC2DC converter and convert the 24+-V to 3.3V of the ESP. It uses peak 70mA, normally around 40mA, on 3.3V that makes 230mW peak, with 20% losses of the DC buck converter you get to 280mW max. No problem for neighbors :)

    • @smitcher
      @smitcher ปีที่แล้ว

      The 8266 can draw up to 400ma in certain situations so you would definitely need a supercap or a lipo at least...

    • @SuperMineMatteo
      @SuperMineMatteo ปีที่แล้ว

      It's not a bad idea but I think the DC-DC converter could introduce EMI in the system

    • @EdHayes3
      @EdHayes3 ปีที่แล้ว

      I was going to say the same thing! A DC-DC converter could easily power an ESP. Even at full ESP power, you have PLENTY of headroom. And if there was any worry about EMI, etc, you could just reduce it to 4/5v, and have the 3.3LDO drop the rest.

  • @cowidster
    @cowidster ปีที่แล้ว +15

    Simply put a relay to the push button of the intercom/doorbell, cable it into a dedicated bright lamp in your room. 😃

  • @arthurkortekaas7357
    @arthurkortekaas7357 ปีที่แล้ว

    i had the same problem, i installed a second buzzer next to my pc and connected it to the doorbell with the coax cable i no longer use but was still in the wall. but your solution is much more elegant haha.

  • @JimmyDSausDE
    @JimmyDSausDE ปีที่แล้ว

    I have the exact same doorbel and I used a shelly uni to do this without soldering (just some plugs that fit on the Ritto PCB). I integrated that with home assistant and I have a lamp on my desk that flashes a particular colour when the doorbel rings (and also other stuff like flash another colour when I leave the fridge door open for a couple minutes, which is read with a magnetic door sensor on the fridge door). Since shelly uni has a potential-free output, it can also open the door for you (I'm sure you can do this on the D1 mini as well), so I then used the email integration to read the email that Amazon/DHL sends that a package is arriving today and it automatically opens the door even if I'm not home, so I don't have to go pick up the parcel, the delivery person will simply leave it in front of my appartment door or downstairs inside the building (I can trust my neighbours). The only problem with my setup was that the power supply cannot handle the shelly uni and the voltage stops rising to 5V when ringing after a couple of weeks but your solution is just great to finally make my setup fully functional!

  • @Dachaz
    @Dachaz ปีที่แล้ว +6

    Out of curiosity - have you looked into Nuki? It’s not DIY, but similarly to your build attaches to the intercom and offers (remote) unlocking as well. I’ve been using it for a few years and it’s been a game-changer.

  • @andreburre8991
    @andreburre8991 ปีที่แล้ว

    Neat stuff, I created something similar myself a while ago.
    When I'm away for a few days, an ESP waters my plants once a day. If I feel they have to be watered again, I can activate the pumps manualy.
    A little bit like your greenhous automation.
    Good work, though, realy enjoy your Channel!

  • @avejst
    @avejst ปีที่แล้ว

    great project 👍😀
    great video as always 👍🙂
    thanks for sharing your experience with all of us 👍🙂

  • @Waves0815
    @Waves0815 ปีที่แล้ว +3

    I'm so sorry for you having that intercom. Those things have become a personal nightmare over the past few years.
    Also
    I've seen a lot of people do something like this.
    BUT From the perspective of the guy searching an entire apartment building for whatever causes the intercom system to stop working.
    Always again fun.

    • @firefly2472
      @firefly2472 ปีที่แล้ว

      Been there, done that. It sucks. Dont do this ppl.

  • @Leonvolt28
    @Leonvolt28 ปีที่แล้ว +3

    Nice project. But integrating it with esphome and home assistant would have been way better. Home assistant does intergrade with telegram and you could have added an led strip at your desk that could flash a couple times when someone's at the door.

    • @alphawarriorthegrandmaster
      @alphawarriorthegrandmaster ปีที่แล้ว

      Leaving a comment for if anyone explains on how to do this and also in combo with maybe a video feed, because i have a comelit with video 2 wire config and trying to figure it out but i am not that technical, only a bit 😅

  • @benoit616
    @benoit616 ปีที่แล้ว

    Nice project ! You also could use the Home Assistant notification service if you have the app installed on your phone. Pretty simple to do that with the Home Assistant REST API. With that solution, you depend on nothing else than your own Home Assistant installation running on your Pi.

  • @markusmitph8987
    @markusmitph8987 ปีที่แล้ว

    Wow, what a great idea!! Thank you for sharing this video!

  • @jackofutzi
    @jackofutzi ปีที่แล้ว +4

    Wouldn´t it be better to use a optocoupler between ESP and the phone circuit for electrical separation?

    • @laudas11
      @laudas11 ปีที่แล้ว

      Yes, and No, given a near buy Lighting Strike could induce many KV's into the intercom wiring, the optocoupler may be of no value. So I would give this design a fail.

  • @AltairScorpio
    @AltairScorpio ปีที่แล้ว +3

    Have an idea, to use that intercom system to call to your phone. You can probably use SIM800 modules or similar ones. You can control answering button with esp/arduino also. :) Good video by the way ;)

    • @soufi7356
      @soufi7356 ปีที่แล้ว

      That system is actually in use in some apartment buildings, at my uncle's house they get a call whenever someone rings the bell and they can talk to the person at the door. I think it's opened by pressing a certain number key on the phone.

  • @HBProductions.
    @HBProductions. ปีที่แล้ว

    fantastic video! definitely a must do project along with the other integrations you mentioned.

  • @blitzdose
    @blitzdose ปีที่แล้ว

    Really cool project! I already thought about that too with my system in my apartment. I was also thinking about adding a SwitchBot (or something else) to be able to open the front door with e.g my smartphone

  • @elmariachi5133
    @elmariachi5133 ปีที่แล้ว +3

    OMG! I have exactly the same doorbell system in my terrible apartment, and the alarm sounds are just super painful, each time nearly giving me a heart attack! What do you think about a project that would give that crappy system some more pleasant ring tones? xD
    And I also have another idea:
    I'm in great fear of loosing my keys, because of the high cost to have some service open the door and possibly replace the door lock - so do you think you could create a system that opens your apartment's door by entering a programmable code sequence using the bell (like some letters in morse code or such..)

  • @anotheruser9876
    @anotheruser9876 ปีที่แล้ว +4

    Next episode: how to extinguish a fire because the heat gun was left on while answering the doorbell.

  • @TiagoSantos-dp9rl
    @TiagoSantos-dp9rl ปีที่แล้ว

    Very nice project Scott, really liked it. Keep it up 💪

  • @innomkr
    @innomkr ปีที่แล้ว +1

    Interesting topic. A while ago, I did a similar project with intercom but for opening the door at the entrance. The problem in my case was also powering the ESP because on the intercom only 24V AC was available. I tried using a FULL BRIDGE RECTIFIER :D but apparently connecting loads to this 24V AC source caused noice in the earpiece not only on this intercom but on every intercom in the building. So I ended up using an external power source as you did.

  • @drkalamity4518
    @drkalamity4518 ปีที่แล้ว +5

    tbh i like the old intro better. I find the real physically built LED sign to be more satisfying. plus im sure most of us can appreciate how long that took to make haha

  • @benschick86
    @benschick86 ปีที่แล้ว +3

    Hi. Super Video. Ich suche schon ewig nach genau dieser Lösung. Würdest du vielleicht den Code auf Github o.ä. teilen? Würde mich sehr freuen.

    • @taylenmoodley
      @taylenmoodley ปีที่แล้ว +1

      The code is in the description
      Der Code steht in der Beschreibung des Videos

  • @sygad1
    @sygad1 ปีที่แล้ว +1

    pressure mat outside the apartment, coupled with a peep hole camera and a permanent display next to where you're working

  • @TheKaylich
    @TheKaylich ปีที่แล้ว +5

    By far the most overcomplicated, overenginieered, unsafe, half-finished, unreliable, overkill semi-permanent solution to a non-problem. Absolutely loved it!

  • @toekie3352
    @toekie3352 ปีที่แล้ว +4

    wait is that allowed by your landlord/law? I wanted to do something similar when I was living in an apartment but apparently (for me tho) it was illegal to mess with the intercom since I did not 'own' the the intercom.

  • @bbenich
    @bbenich ปีที่แล้ว

    Lol, I just did this exact thing with a slightly different model; Glad more resources are available for such a DIY solution!

  • @tamas-ruszka
    @tamas-ruszka ปีที่แล้ว

    I had the very same phone in my previous flat and I did a very similar project, (I even found the same post :D) the only difference is that I used a HC-12 to send a signal and the receiver was on my table while I was working. Initially I also tried to connect to the phone's power connection, which only worked when you ringed the bell using the switch next to our doors. (It was funny, because we didn't notice it for a week, so no packages for us)
    Sadly for my new flat I had to change the design a bit, because someone painted on the phone and I couldn't remove the cover without destroying the wall around it, but I used a light sensor, printed a closed box for it and I glued to the flashing button. (which I don't use anyway) It's working suprisingly good. I'm using a LiPo battery to power and a low voltage alarm to see when I need to recharge (every half a year) and the signal is immediately sent this way.

  • @DeDeNoM
    @DeDeNoM ปีที่แล้ว +5

    And this is where you realise the delivery guy never actually rang your doorbell in the first place.

    • @greatscottlab
      @greatscottlab  ปีที่แล้ว +3

      Haha that really happens sometimes....

    • @ddpxl
      @ddpxl ปีที่แล้ว

      knock knock

    • @DeDeNoM
      @DeDeNoM ปีที่แล้ว

      @@ddpxl Who's there?

    • @NiHaoMike64
      @NiHaoMike64 ปีที่แล้ว

      ESP32 camera module would solve that, just need to find a way to mount and power it.

  • @alireda646
    @alireda646 ปีที่แล้ว

    I'm very very happy I'm always learning from you, this my first time I make something I taught myself long time before you teach me
    I'm extremely happy
    Thank you

  • @27p
    @27p ปีที่แล้ว

    I love projects like this

  • @Heisenberg2097
    @Heisenberg2097 ปีที่แล้ว

    I'm actively working on switching off notifications. I work with bi-polar regularly.. so I am happy to be relaxed without interruptions.

  • @SuperBrainAK
    @SuperBrainAK ปีที่แล้ว

    I got tired with my apartments 60's era thermostat to control the heat exchanger fan (central heat/cool and all we have is a heat exchanger and a fan in our unit). The Thermostat is a bimetallic switch with a very large hysteresis and excessive drift. I decided one day to replace it with a digital thermostat. So I got a 22v power supply and a 24v relay. I then wired the PSU into the digital thermostat and connected the fan contact to the relay coil (I also wired in a thermistor to the outlet of the coolant pipe using the "outdoor" temperature contacts). Then I wired the contacts of the relay in parallel with the bimetallic switch but instead of going to the heat/cold selector switch I made sure to be on the combined output of that switch.
    Now I have a digital thermostat that works in parallel to the original, I just set the temperature of the original one to a really high or low temperature and let the digital one turn on first. That way if a maintenance guy wants to mess with it he can without needing to know how the digital one is set. The on/off and speed selector switches still work like they used to.
    I get really consistent temperatrues that dont drift over the week and I can monitor the coolant temp to see if they switched from heat to cool or how well the chiller is doing to cool things down or if it has shut down completely like it always does if someone breathes wrong!

  • @albertolaurella9168
    @albertolaurella9168 ปีที่แล้ว

    I was making a project for this EXACT reason and you go and do it for me? nice

  • @DustinRogersinMO
    @DustinRogersinMO ปีที่แล้ว +1

    I’ve had pretty good results using a webhook via IFTTT and sending a push notification to the IFTTT app from various devices. Whether it be from a raspberry Pi, an ESP32, or a Particle Photon. You can structure the message using various values passed to the webhook. Anything from door opening notifications to low battery monitors, notifications have been pretty quick, usually within a second or two.
    I need to check out that Telegram library though just for some other options.

  • @davidfekete4409
    @davidfekete4409 ปีที่แล้ว +1

    Nice solution! The hass inconsistent respond time also boder me in this kind of projects!

  • @fabianlam4992
    @fabianlam4992 ปีที่แล้ว

    Great project and thanks for your sharing!!

  • @willemjansen9409
    @willemjansen9409 ปีที่แล้ว +1

    Nice build! However, I would go for MQTT(S) and leave the more complicated protocolls to proper CPUs. Then you get to