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

Sdílet
Vložit
  • čas přidán 9. 06. 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
  • Věda a technologie

Komentáře • 1,4K

  • @BrianLough
    @BrianLough Před 2 lety +2185

    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  Před 2 lety +177

      Thanks for your great work :-)

    • @ubiquitousingit
      @ubiquitousingit Před 2 lety +24

      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 Před 2 lety +25

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

    • @efrenbg1
      @efrenbg1 Před 2 lety +6

      Use it for everything! Complete and easy to use

    • @BuyitFixit
      @BuyitFixit Před 2 lety +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 Před 2 lety +1262

    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  Před 2 lety +325

      Thanks for the tip

    • @LuLeBe
      @LuLeBe Před 2 lety +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 Před 2 lety +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 Před 2 lety +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 Před 2 lety +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

  • @remus6649
    @remus6649 Před rokem +63

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

  • @JohnDoe-nz3wq
    @JohnDoe-nz3wq Před 2 lety +138

    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 Před 2 lety +13

      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 Před 3 měsíci

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

  • @pesterenan
    @pesterenan Před 2 lety +504

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

    • @greatscottlab
      @greatscottlab  Před 2 lety +41

      I think so too :-)

    • @uvuvwevwevweossaswithglasses
      @uvuvwevwevweossaswithglasses Před 2 lety +10

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

    • @Engineer9736
      @Engineer9736 Před 2 lety +10

      @@uvuvwevwevweossaswithglasses The dimensions are little.

    • @yashaswikulshreshtha1588
      @yashaswikulshreshtha1588 Před 2 lety +1

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

    • @tristan6509
      @tristan6509 Před 2 lety +5

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

  • @randycarter2001
    @randycarter2001 Před 2 lety +554

    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 Před 2 lety +31

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

    • @m3mem4chine86
      @m3mem4chine86 Před 2 lety +9

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

    • @randycarter2001
      @randycarter2001 Před 2 lety +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 Před 2 lety +5

      Europlugs dont have ground connection that the powersupply used.

    • @tw38203
      @tw38203 Před 2 lety +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!

  • @seanthiar
    @seanthiar Před rokem +39

    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 Před 2 měsíci +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 Před měsícem +4

      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.

  • @zrxav
    @zrxav Před rokem +29

    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 Před rokem +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 Před rokem +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 Před 4 měsíci

      @@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 Před 3 měsíci

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

  • @HochFrequenzFreak
    @HochFrequenzFreak Před 2 lety +21

    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_ Před 2 lety +6

      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.

  • @ericjohnson2193
    @ericjohnson2193 Před 2 lety +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.

  • @birdpump
    @birdpump Před 2 lety +3

    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 Před rokem +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.

  • @smitcher
    @smitcher Před 2 lety +153

    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 Před 2 lety +5

      Yup 👍🏻🇬🇧

    • @der94alex
      @der94alex Před 2 lety +6

      an pcb edge connector wouldve been neat, agree

    • @NEOX128
      @NEOX128 Před 2 lety +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 Před 2 lety +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 Před 2 lety

      @@casemodder89 he can use a joule theif

  • @HawkX189
    @HawkX189 Před 2 lety +17

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

  • @Mare0912
    @Mare0912 Před rokem +2

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

  • @calvinbrowne2126
    @calvinbrowne2126 Před 2 lety +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!

  • @sschueller
    @sschueller Před 2 lety +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 Před rokem +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.

  • @ChessIsJustAGame
    @ChessIsJustAGame Před 2 lety +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 Před 2 lety +1

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

    • @jort93z
      @jort93z Před 2 lety +2

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

    • @Etacovda63
      @Etacovda63 Před 2 lety

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

    • @ChristianBrugger
      @ChristianBrugger Před rokem +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.

  • @Red24DryBones
    @Red24DryBones Před 2 lety +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.

  • @07_sev52
    @07_sev52 Před 2 lety +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.

  • @Alintja
    @Alintja Před 2 lety +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 Před 2 lety +11

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

    • @greatscottlab
      @greatscottlab  Před 2 lety +16

      Thanks for the tips!

    • @kekkocheng
      @kekkocheng Před 2 lety +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 Před 2 lety +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 Před 2 lety +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* 😛

  • @xTerminatorAndy
    @xTerminatorAndy Před 2 lety +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 Před 2 lety +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.

  • @grimd8788
    @grimd8788 Před 2 lety +12

    "Wife alert!" LOL 😆 I love it.

  • @ohnejayla
    @ohnejayla Před 2 lety +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 :)

  • @testman9541
    @testman9541 Před 2 lety +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 👍

  • @TheBimboBread
    @TheBimboBread Před rokem +1

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

  • @BuyitFixit
    @BuyitFixit Před 2 lety +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.

  • @zaprodk
    @zaprodk Před 2 lety +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 Před 3 měsíci

      More like a Scottish/German ch :)

  • @SmilingRob
    @SmilingRob Před 2 lety +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 Před 2 lety +9

      @BBMS Official pateron

    • @Gideon_Judges6
      @Gideon_Judges6 Před 2 lety +1

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

    • @FixTronics
      @FixTronics Před 2 lety +1

      @BBMS Official
      Not 11 but 12 days ago😅

    • @SmilingRob
      @SmilingRob Před 2 lety +1

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

  • @FreeUghhh
    @FreeUghhh Před rokem +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!

  • @ethzero
    @ethzero Před 2 lety +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 :)

  • @seanman6541
    @seanman6541 Před 2 lety +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 Před 2 lety +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.

  • @AB-pb8oo
    @AB-pb8oo Před 2 lety

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

  • @systemofapwne
    @systemofapwne Před 2 lety +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).

  • @andreasu.3546
    @andreasu.3546 Před 2 lety +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.

  • @EFazy
    @EFazy Před 2 lety +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 Před rokem +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!

    • @Jehty_
      @Jehty_ Před rokem

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

    • @maker_pt
      @maker_pt Před rokem

      @@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.

  • @Juandachu
    @Juandachu Před rokem +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...

  • @andrebartels1690
    @andrebartels1690 Před 2 lety

    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 👌

  • @zeendaniels5809
    @zeendaniels5809 Před 2 lety +8

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

    • @ubiquitousingit
      @ubiquitousingit Před 2 lety

      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 Před 2 lety +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 Před 2 lety

      Skynet.

    • @unutilisateurdeyoutube1256
      @unutilisateurdeyoutube1256 Před rokem

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

  • @emaker1233
    @emaker1233 Před 2 lety +9

    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 Před 2 lety

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

  • @OrbitalCookie
    @OrbitalCookie Před 2 lety

    Projects are the reason why I am subscribed.

  • @tinkmarshino
    @tinkmarshino Před 2 lety

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

  • @M_ark19
    @M_ark19 Před 2 lety +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

  • @CH_Pechiar
    @CH_Pechiar Před 2 lety +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.

  • @James-fe7wd
    @James-fe7wd Před rokem

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

  • @sygad1
    @sygad1 Před 2 lety +1

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

  • @florians.4034
    @florians.4034 Před 2 lety +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 Před 2 lety +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 Před 2 lety

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

    • @florians.4034
      @florians.4034 Před rokem +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

  • @obd6HsN
    @obd6HsN Před 2 lety +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  Před 2 lety +34

      Not really.....

    • @a1nelson
      @a1nelson Před 2 lety +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 Před 2 lety +3

      curious newbie here, what problem would an octo solve?

    • @obd6HsN
      @obd6HsN Před 2 lety +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 Před 2 lety

      @@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

  • @quadracycle4000
    @quadracycle4000 Před 2 lety

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

  • @davidfekete4409
    @davidfekete4409 Před 2 lety +1

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

  • @HighVoltages
    @HighVoltages Před 2 lety +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!!!

  • @KallePihlajasaari
    @KallePihlajasaari Před 2 lety +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 Před rokem

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

  • @balls2bone
    @balls2bone Před 2 lety +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 Před 5 měsíci

      do you have any documentation?

  • @NerdPirateRadio
    @NerdPirateRadio Před rokem +1

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

  • @drkalamity4518
    @drkalamity4518 Před 2 lety +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

  • @Dachaz
    @Dachaz Před rokem +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.

  • @fns58
    @fns58 Před měsícem

    Exactly the problem I am facing in my new house! I live in Spain and our system is the same. I also hate how it sounds lol but I cannot change it.
    Will seriously consider this, thank you!

  • @bbenich
    @bbenich Před 2 lety

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

  • @rklauco
    @rklauco Před 2 lety +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 Před 2 lety

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

    • @SuperMineMatteo
      @SuperMineMatteo Před 2 lety

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

    • @EdHayes3
      @EdHayes3 Před 2 lety

      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.

  • @MCsCreations
    @MCsCreations Před 2 lety

    Fantastic work, dude! It's just brilliant! 😃
    Really well done!!!
    Stay safe and creative there! 🖖😊

  • @alireda646
    @alireda646 Před rokem

    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

  • @RamiR0000
    @RamiR0000 Před 2 lety +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 Před 2 lety +1

      Can you provide more information on this please?

    • @alphawarriorthegrandmaster
      @alphawarriorthegrandmaster Před 2 lety

      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

  • @PioneerAxon
    @PioneerAxon Před 2 lety +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  Před 2 lety +3

      Also a good idea :-)

    • @gmourao
      @gmourao Před 2 lety

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

  • @avejst
    @avejst Před 2 lety

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

  • @Waves0815
    @Waves0815 Před 2 lety +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 Před 2 lety

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

  • @AltairScorpio
    @AltairScorpio Před rokem +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 Před rokem

      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.

  • @boylinux
    @boylinux Před 2 lety

    Omg. Just what the doctor order. Excellent.

  • @ljsystems5694
    @ljsystems5694 Před rokem

    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!

  • @cowidster
    @cowidster Před rokem +15

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

    • @selvammatthys
      @selvammatthys Před rokem +5

      Or a small microphone, tuned to the bell noise and activating a smartlamp on his desk. No fiddling with wires.

    • @runforitman
      @runforitman Před rokem

      That doorbell is very far away from the door... its an apartment

    • @runforitman
      @runforitman Před rokem

      ​@@selvammatthys sound recognition is exponentially harder and more sensitive.

    • @selvammatthys
      @selvammatthys Před rokem

      @@runforitman The bell is not citing Shakespeare, it is a very distinguish sound that a frequency filter and loudness resistor can handle.

    • @cowidster
      @cowidster Před rokem

      @runforitman if it is multi storey apartment with addressed doorbel to each unit, then you can relay a lamp from the doorbell speaker in your room.

  • @Leonvolt28
    @Leonvolt28 Před 2 lety +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 Před 2 lety

      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 😅

  • @TiagoSantos-dp9rl
    @TiagoSantos-dp9rl Před 2 lety

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

  • @ChibaCityBlues
    @ChibaCityBlues Před rokem

    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!

  • @TheKaylich
    @TheKaylich Před 2 lety +5

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

  • @elmariachi5133
    @elmariachi5133 Před 2 lety +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..)

  • @DirkSarodnick
    @DirkSarodnick Před 2 lety

    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. 😉

  • @michaelmolter8828
    @michaelmolter8828 Před 2 lety +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!

  • @jackofutzi
    @jackofutzi Před rokem +4

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

    • @laudas11
      @laudas11 Před rokem

      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.

  • @anotheruser9876
    @anotheruser9876 Před 2 lety +4

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

  • @RestoreTechnique
    @RestoreTechnique Před 2 lety +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.

  • @albertolaurella9168
    @albertolaurella9168 Před 2 lety

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

  • @benschick86
    @benschick86 Před rokem +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 Před rokem +1

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

  • @toekie3352
    @toekie3352 Před 2 lety +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.

    • @montolio
      @montolio Před 2 lety +1

      The main legal problem is the power supply. Use the power from the intercom is stealing. That is the reason commercial systems like Nuki use batteries

    • @greatscottlab
      @greatscottlab  Před 2 lety +3

      I am not interfering with the intercom in any way. I use my own power and basically only listen for a certain signal. That is why I think it is kind of like a grey zone. But like always, rebuild it at your own risk.

    • @cryingwater
      @cryingwater Před 2 lety +3

      @@greatscottlab I think you should've used a connector or something. Soldering directly onto the PCB could be considered tampering with it

    • @agnag1
      @agnag1 Před 2 lety

      The biggest issue with the solution may be that he soldered the wires on the connector tabs. At least when he forgets to remove the wires and solder when moving out, so adding an accessory with the proper connector there would involve additional work.
      And some contractor may just say that it has been altered and needs to be replaced entirely.

    • @ddpxl
      @ddpxl Před 2 lety

      @@agnag1 If he just clips the wires inside the case, i doubt anyone would ever open it up, if it still works ofc. They will probably not even care at all, till someone tells them that it's not working. Just imagine the contractor opening all electronics and power outlets just to see if everything behind is still how it's "supposed to be" .. not gonna happen, ever.

  • @mixerD1-
    @mixerD1- Před 2 lety

    Aw man...I'm so jealous of your drawing....excellent.👌👌
    Savage imagination too. Thank you.

  • @JimmyDSausDE
    @JimmyDSausDE Před rokem

    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!

  • @DeDeNoM
    @DeDeNoM Před 2 lety +5

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

    • @greatscottlab
      @greatscottlab  Před 2 lety +3

      Haha that really happens sometimes....

    • @ddpxl
      @ddpxl Před 2 lety

      knock knock

    • @DeDeNoM
      @DeDeNoM Před 2 lety

      @@ddpxl Who's there?

    • @NiHaoMike64
      @NiHaoMike64 Před 2 lety

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

  • @AaronSchwarz42
    @AaronSchwarz42 Před 2 lety

    I like your English accent, you "sound" Dutch ? cool video too! Love the applied tech & DIY nature of it

  • @FedeBo91
    @FedeBo91 Před rokem

    fantastic project! I also made it for my home! thank you from Italy 👍🏻👍🏻👍🏻🇮🇹

  • @Taliesin6
    @Taliesin6 Před 2 lety

    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.

  • @HolgerNestmann
    @HolgerNestmann Před 2 lety +1

    This is very cool! Since most deliveries dont need signatures any more, I personally would love to be able to answer the door to let the delivery driver in and put it in the hall. I can cycle a few minutes from the office to get it to safety :) One could plugin into the the actual door button and the phone - but anyhows very cool!

  • @theNWdigital
    @theNWdigital Před 2 lety

    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.

  • @HBProductions.
    @HBProductions. Před rokem

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

  • @akshaykushawaha2160
    @akshaykushawaha2160 Před rokem

    Exactly what i was searching for, was trying to sort out a solution for my doorbell too!! Just got the ESP delivered!!
    Love u loads!!!!!

  • @Reckless-mindfulness
    @Reckless-mindfulness Před rokem

    This is awesome, i was thinking about this for quite sometimes! but for not only ring but unlocking door.

  • @NetScalerTrainer
    @NetScalerTrainer Před rokem

    Super cool. I need something like this for a normal stand alone doorbell.

  • @markusmitph8987
    @markusmitph8987 Před rokem

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

  • @fabianlam4992
    @fabianlam4992 Před rokem

    Great project and thanks for your sharing!!

  • @SmartLifeEnthusiast
    @SmartLifeEnthusiast Před 2 lety +1

    Next, hook up your LED strip behind your desk to an ESP32 with WLED or ESPHome and FastLED, and have it blink when the doorbell rings

  • @Heisenberg2097
    @Heisenberg2097 Před 2 lety

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