Video není dostupné.
Omlouváme se.
Home Assistant Energy Monitoring and Presence Detection
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
I hope you find it useful, thanks for watching and subscribing. 😉
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.
its just acurate enught.
Thanks for this great video! I absolutely love how you got straight to the point without making the video too long
great idea!!m Do it
Thanks
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.
Hi, Need to be connected like any other uart device "Transmitting ligne to receiving ligne" ( ESP TX to RX ESP RX to TX )
Hi! Ttl port need 5vdc to work and you use 3,3vdc, can you explain betterthis point?
When you are far away from home 😂😂
😂
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
HI, David, subscriber "Nunu00" fixed reactive power 15 days ago, see new "pmeter.yaml"
Thanks for the video, I have one clarification In PZEM Module data sheet it needs 5vdc so please advise 3.3Vdc is Ok ?
YES!
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.
Hi, I think there is no way to calibrate "Current" in esphome, maybe I'm wrong.
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
@@PricelessToolkit Hi thanks will test and see if I get it going, I'm not a programmer LOL.
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.
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)
@@PricelessToolkit No, I was referring to the PZEM-004, which I understand is not modbus.
How we can do same thing for a triphasic power net?
Hi, easy! community.home-assistant.io/t/how-to-use-pzem004t-energy-monitor-with-esphome/107083/114?u=madman
Hi, your video is great!!! BUT, TTL port need 5vdc to work and you use 3,3vdc, can you explain it? tks
Hi, it works with 3.3V too. Many people use 3.3v and have no problem.
What if I have three phase power?
There are other power meters with multiple transformers, or zorruno.com/w/EnergyMonitoringPZEM004T
Did you modify the pzem module adding 1k ohm resistor? It should work 5v otherwise....
No, I didn't, It working with 3.3v TTL without a problem.
I successfully connect it, but all the reading indicate unknown, did you know how i could fix that?
thanks for your support
Hi, I think you mixed up RX TX
@@PricelessToolkit correct I modify and now working Thanks a lot
@@fouadkhalifa520 Glad to be able to help
Reactive power is unknown... What shld we do then?? Shld I wait a bit longer ?
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 :)
Ohh okayyy
this should work in autstralia right?
Hi. It has a range of 80-260V so yes!
@@PricelessToolkit excellent.. thanks for the reply. And subbed
@@PricelessToolkit and do you think its possible to make a wireless smart button to trigger Google routins? Maybe next project?
@@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 !!!!!!
you need to adjust the content
Hi ?
adjust what?