Video není dostupné.
Omlouváme se.

Home Assistant Energy Monitoring and Presence Detection

Sdílet
Vložit
  • čas přidán 17. 08. 2024
  • I will show you how to install and set up a power meter "PZEM 004T" In Home Assistant.
    For real-time power monitoring. How to set up automation, in case we leave the house without turning off high-power electrical appliances.
    All files are available on my GitHub page.
    github.com/Pri...
    -------- Contents of this video --------
    00:00 Intro
    00:06 Explanation of Ideas
    00:21 What is needed to repeat this project
    00:33 Assembly
    01:22 ESPHome configuration and ESP-01s Firmware Upload
    01:48 Installation in the Breaker box
    02:03 Sensor Integration into Home Assistant
    02:59 Presence Detection setup
    03:56 Automation Example
    04:22 Future project "Droplet" Irrigation System for Home Assistant
    -------- Parts used in this video --------
    Power Supply 3.3v - s.click.aliexp...
    Power Meter - s.click.aliexp...
    ESP-01s and Programmer - s.click.aliexp...
    -------- My Equipment --------
    Soldering Station AIXUN T3A - s.click.aliexp...
    Soldering Station AIXUN T3B - s.click.aliexp...
    Soldering Hot Air + Soldering Iron - s.click.aliexp...
    Soldering Hot Plate - s.click.aliexp...
    Reflow oven T-962A+ - s.click.aliexp...
    PCB Holder - s.click.aliexp...
    PCB Cleaning Brush - s.click.aliexp...
    Tweezer - s.click.aliexp...
    Soldering Silicone Mat - s.click.aliexp...
    Solder Paste - s.click.aliexp...
    Soldering Wire - s.click.aliexp...
    Flux - s.click.aliexp...
    Syringe Handle - s.click.aliexp...
    -------- Digital Equipment --------
    Smart SMD Tweezer - s.click.aliexp...
    Transistor Tester LCR-T7 - s.click.aliexp...
    Multimeter - s.click.aliexp...
    Power profiling - www.nordicsemi...
    -------- My Video Equipment ---------
    Camera - amzn.to/3gShpJD
    Light - amzn.to/3x1mDsb
    Microphone - amzn.to/2UIH5jv
    Turntable amzn.to/3E9qs2D
    #homeassistant #smarthome #esphome

Komentáře • 45

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

    I hope you find it useful, thanks for watching and subscribing. 😉

  • @RoofusKit
    @RoofusKit Před rokem +4

    The Sense energy monitor is a commercial product designed to do just what you described, monitor the whole home consumption and try to infer what devices are using electricity at any given time. I've never heard of anyone who was pleased with its accuracy.

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

    Thanks for this great video! I absolutely love how you got straight to the point without making the video too long

  • @hermannweinzierl5731
    @hermannweinzierl5731 Před 5 měsíci +1

    great idea!!m Do it

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

    Thanks for sharing. The only missing part is the wiring connection from TTL port to ESP01S. It would be great if you can clarify on this.

    • @PricelessToolkit
      @PricelessToolkit  Před 2 lety

      Hi, Need to be connected like any other uart device "Transmitting ligne to receiving ligne" ( ESP TX to RX ESP RX to TX )

    • @FelixSEgea
      @FelixSEgea Před rokem

      Hi! Ttl port need 5vdc to work and you use 3,3vdc, can you explain betterthis point?

  • @bartmulder6995
    @bartmulder6995 Před 7 měsíci

    When you are far away from home 😂😂

  • @G6EJD
    @G6EJD Před rokem +1

    Without a Powerfactor reading to apply to the results the values are largely inaccurate eg V.A.PF = Watts even more important if you have solar

    • @PricelessToolkit
      @PricelessToolkit  Před rokem +1

      HI, David, subscriber "Nunu00" fixed reactive power 15 days ago, see new "pmeter.yaml"

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

    Thanks for the video, I have one clarification In PZEM Module data sheet it needs 5vdc so please advise 3.3Vdc is Ok ?

  • @wernerbotes4261
    @wernerbotes4261 Před rokem +1

    Hi thanks for the video works perfectly on my system. Question is there a way to program the ESP32 to have a more accurate reading on the PMeter_current took a clamp meter and the reading is off by 0.2amp.

    • @PricelessToolkit
      @PricelessToolkit  Před rokem

      Hi, I think there is no way to calibrate "Current" in esphome, maybe I'm wrong.

    • @PricelessToolkit
      @PricelessToolkit  Před rokem

      Sorry, the first time I read your comment I did not understand your question 🙂, yes, you can "calibrate_linear" esphome.io/components/sensor/index.html#calibrate-linear

    • @wernerbotes4261
      @wernerbotes4261 Před rokem

      @@PricelessToolkit Hi thanks will test and see if I get it going, I'm not a programmer LOL.

  • @tronronboyd
    @tronronboyd Před rokem +1

    Hi there. Thank you for this great video. I was able to successfully get it working, first time. Do you have code that would allow the use of the PZEM meter with the four seven segment displays on it? I understand it uses a different protocol. HA help files describe a program to do this but it is serial only, not OTA using the ESP-01s.

    • @PricelessToolkit
      @PricelessToolkit  Před rokem

      Hi, I'm glad everything worked. Do you mean the second ESP module with the segment display? If so, then I don't have the ready code, but it's easy to do 1. (esphome.io/components/sensor/homeassistant.html) 2. (esphome.io/components/display/index.html)

    • @tronronboyd
      @tronronboyd Před rokem

      @@PricelessToolkit No, I was referring to the PZEM-004, which I understand is not modbus.

  • @ToTo-od9wz
    @ToTo-od9wz Před 2 lety +1

    How we can do same thing for a triphasic power net?

    • @PricelessToolkit
      @PricelessToolkit  Před 2 lety

      Hi, easy! community.home-assistant.io/t/how-to-use-pzem004t-energy-monitor-with-esphome/107083/114?u=madman

  • @eduardofranca5805
    @eduardofranca5805 Před rokem +1

    Hi, your video is great!!! BUT, TTL port need 5vdc to work and you use 3,3vdc, can you explain it? tks

    • @PricelessToolkit
      @PricelessToolkit  Před rokem

      Hi, it works with 3.3V too. Many people use 3.3v and have no problem.

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

    What if I have three phase power?

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

      There are other power meters with multiple transformers, or zorruno.com/w/EnergyMonitoringPZEM004T

  • @00xeno00
    @00xeno00 Před 2 lety

    Did you modify the pzem module adding 1k ohm resistor? It should work 5v otherwise....

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

      No, I didn't, It working with 3.3v TTL without a problem.

  • @fouadkhalifa520
    @fouadkhalifa520 Před 2 lety

    I successfully connect it, but all the reading indicate unknown, did you know how i could fix that?
    thanks for your support

  • @varunkumaran2624
    @varunkumaran2624 Před 2 lety

    Reactive power is unknown... What shld we do then?? Shld I wait a bit longer ?

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

      Hi, yes I know about it. In YAML calculation for "Reactive power" is wrong. I put this part in the config in the hope that someone will fix it and share it :)

    • @varunkumaran2624
      @varunkumaran2624 Před 2 lety

      Ohh okayyy

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

    this should work in autstralia right?

    • @PricelessToolkit
      @PricelessToolkit  Před 2 lety

      Hi. It has a range of 80-260V so yes!

    • @EpicDesignSolutions
      @EpicDesignSolutions Před 2 lety

      @@PricelessToolkit excellent.. thanks for the reply. And subbed

    • @EpicDesignSolutions
      @EpicDesignSolutions Před 2 lety

      @@PricelessToolkit and do you think its possible to make a wireless smart button to trigger Google routins? Maybe next project?

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

      @@EpicDesignSolutions I plan to make like a Battery powered"stream deck" but smaller for HA . But next project is "Droplet" you can check community tab. Thanks for Sub !!!!!!

  • @iecasyed6397
    @iecasyed6397 Před 2 lety

    you need to adjust the content