Kettle Hack: DIY Programmable Smart Kettle for Scheduled Brews with Home Assistant

Поделиться
HTML-код
  • Опубликовано: 7 июл 2024
  • PCB Prototypes and assembly at PCBWay - www.pcbway.com/setinvite.aspx...
    WARNING!
    This video deals with mains voltage; if you are uncomfortable working with it, please do not attempt to replicate it. By replicating the project, you accept that you understand the risks involved and that you are the only one responsible for any consequences. The project is running on 240V and it is not suited to be done for 110V as the wires handling the load need to be substantially thicker. Additionally, my kettle is rated at 1800W and it is within specs on the relay. Any higher load than that needs to be handled by a better relay!
    --------------------------------------------------------------------------
    In this video I'm transforming an ordinary electric kettle into a smart device that I can schedule to turn on in the morning and have the hot water ready when I go to the kitchen after I wake up.
    The kettle is controlled by a Wemos D1 Mini board, running ESPHome and it is timed by Home Assistant, being plugged to my smart home setup.
    The trick is to have an inline relay with its normally closed contacts that can be turned on to set the kettle into arm mode and then when the time comes the relay will turn off and if the kettle is turned on on the normal switch, it will boil the water.
    Tools and materials used in the video
    Wemos D1 Mini - s.click.aliexpress.com/e/_m0r...
    5V relay Module - s.click.aliexpress.com/e/_mKa...
    HLK-PM01 Power Supply - s.click.aliexpress.com/e/_om6...
    Prototyping PCBs - www.pcbway.com/project/sharep...
    Rework Station - s.click.aliexpress.com/e/_oka...
    Helping Hand - s.click.aliexpress.com/e/_oDd...
    Electrical Box - s.click.aliexpress.com/e/_mND...
    Push Button - s.click.aliexpress.com/e/_EQM...
    Mini PC for Home Assistant - s.click.aliexpress.com/e/_okA...
    The code for the device can be found on the related article on my website:
    www.tastethecode.com/diy-smar...
    Support my work on Patreon so I can continue producing free content and tutorials!
    / taste_the_code
    My recording gear:
    Canon M50 Mark ii - s.click.aliexpress.com/e/_ALp9Sp
    GT10 Pro 5G Android Phone - s.click.aliexpress.com/e/_oDn...
    Dragon Touch 4K Action Camera - s.click.aliexpress.com/e/_mrc...
    USB Condenser Microphone - s.click.aliexpress.com/e/_DF5...
    Tripod - s.click.aliexpress.com/e/_Del...
    Phone tripod mount - s.click.aliexpress.com/e/_s9WaiJ
    Kettle Hack: DIY Programmable Smart Kettle for Scheduled Brews with Home Assistant
    #kettle #smartHome #HomeAssistant #DIY #tastethecode
    Main Site and blog: www.tastethecode.com
    Facebook: / tastethecode
    Instagram: / taste_the_code
    Twitter: / taste_the_code
    Get exclusive Taste The Code t-shirts and merch at
    teespring.com/taste-the-code
    Hosting discounts over at Dreamhost
    click.dreamhost.com/SHiw
    00:00 - Kettle Problem Description
    00:58 - Device Explanation
    02:06 - Operation principle of the kettle
    02:46 - Enclosure preparation
    03:06 - Sponsored section
    03:53 - PCB Layout Definition
    04:50 - Build Timelapse
    09:12 - Final Test
    10:38 - Attach to kettle cable
    11:48 - Final Device Demo
    12:48 - Code walkthrough in Home Assistant
    15:14 - Closing and next steps
    This video is a part of a 26 video series on Home Automation DIY Devices as part of the Alphabet Superset challenge! www.alphabetsuperset.com/
    #alphabetsuperset

Комментарии • 28

  • @davidjobe9876
    @davidjobe9876 6 месяцев назад

    That's another cool video Bill.
    My best wishes for the new year.
    And lots of electronics fun and lots of subscribers.

    • @TasteTheCode
      @TasteTheCode  6 месяцев назад

      Thank you David! All the best to you and your family!

  • @aboabdrahmanaziz8752
    @aboabdrahmanaziz8752 6 месяцев назад +1

    Thnks

    • @TasteTheCode
      @TasteTheCode  6 месяцев назад

      You are welcome! Thanks for watching!

  • @illeseszterhas2622
    @illeseszterhas2622 6 месяцев назад +3

    Just don't. Please, it is terribly unsafe. Issues: There is no separation of the high and low voltage part. You are working on the same demo board. The relay might be rated for the continuous operation of the kettle but definitely not for the switch on transient. The cables you are using seems to be just normal low voltage demo cables. Have you checked the rating? You need min 18AWG to safely handle the load. Have you checked the IP rating of the box? And with all this, you implement a 10USD smart plug.

    • @TasteTheCode
      @TasteTheCode  6 месяцев назад +1

      Hey, thanks for the concerns but I don't think it is that bad. The wire is stranded at 1mm thickness and the kettle is rated at 1800W so it should be OK. The load on the relay is in it's off position so I don't think it will be too big of a deal. The kettle operates for only a few minutes so it should be fine. Of it is not, then one can always use an SSR. Additionally, one big aspect of the DIY approach is the learning in making something, including getting feedback like this so thanks again! In a worst case scenario, the house is equipped with an RCD and proper fuses so except for some exciting bang, nothing serious should happen.

  • @fairozjaffer8811
    @fairozjaffer8811 5 месяцев назад

    Nice project for other implementations. It would be cheaper and easier to use a smart plug or a Sonoff basic.

    • @TasteTheCode
      @TasteTheCode  5 месяцев назад +1

      Thanks. To be honest I never thought of using a ready made plug before it was mentioned in the comments. I always think of the DIY route first as it is an awesome learning opportunity and learning is what I'm after.

  • @funkylosik
    @funkylosik 6 месяцев назад +1

    i think some weight sensor should help with "no water" scenario.

    • @TasteTheCode
      @TasteTheCode  6 месяцев назад

      Cool, thanks for the idea. I guess an additional base can be created with the weight sensor.

  • @Southernstar-RINO
    @Southernstar-RINO 2 месяца назад

    In prison guys would put 2 bent peices of foil in the socket and place cup of water up to the 2 peices of foil (dinner tray) and boil their water for coffee of tea.

    • @TasteTheCode
      @TasteTheCode  2 месяца назад

      Yes, I'm aware of that. They use the resistance of the water as a heating element. However, I don't see how that relates to the project...

  • @zyghom
    @zyghom 6 месяцев назад

    I don't think this is safe at all. What will happen if there is no water?

    • @TasteTheCode
      @TasteTheCode  6 месяцев назад +1

      The kettle has a thermal switch built in. There is nothing preventing you to turn it on without water even as it is from the factory. The thermal switch will trigger once it detects temperature close to 100 Celsius.

    • @zyghom
      @zyghom 6 месяцев назад

      @@TasteTheCode my kettle is 3200W that is way above this blue relay can do. It even burnt the smart socket that was supposed to carry 16A. you are playing with the death here

    • @TasteTheCode
      @TasteTheCode  6 месяцев назад

      This one is 1800W and we have 240V here so it should use ~8A on full power. I haven't measured this but it should be close to that. The relay is rated at 10A at 240V so theoretically it should be OK. Worst case scenario if it blows, I have an RCD on the entire house and proper fuses so it should be still OK and not cause any serious issue.

    • @SteveMasonCanada
      @SteveMasonCanada 6 месяцев назад +2

      Lots of "shoulds" in that statement.

    • @zyghom
      @zyghom 6 месяцев назад

      @@SteveMasonCanada I know that playing with such load is DANGEROUS.

  • @simonburke6681
    @simonburke6681 6 месяцев назад

    💀 for petes sake people buy a smart plug and do not do this. I hope taste the code is wearing rubber gloves or gumboots when that active wire melts and shorts out ☠️

    • @TasteTheCode
      @TasteTheCode  6 месяцев назад

      Should I also wear bomb proof suit?? Even if it melts and causes short circuit, there are safety mechanisms built into the house electrical wiring that will prevent any major mishap. Yes, there might be a bang, but that's about it!

    • @simonburke6681
      @simonburke6681 6 месяцев назад

      That comment is evidence that idiot proofing continues to make better idiots.

    • @TasteTheCode
      @TasteTheCode  6 месяцев назад

      Instead of being rude, how about that you are helpful for a change? How did you came to a conclusion that the wire will melt? Did you measured its diameter? Do you know the power rating of the kettle? Do you know what voltage system I have???

    • @simonburke6681
      @simonburke6681 6 месяцев назад

      It's not hard to see that wire is not rated for mains, it has been pointed out by others along with other bad practice and played down. I'm not going to sugarcoat it when this is something that can burn down a house or kill people.

    • @TasteTheCode
      @TasteTheCode  6 месяцев назад

      Still no knowledge shared just a bunch of assumptions and presumptions...