Monitoring House Power Consumption with ESP32 and Shelly Power Meter

Sdílet
Vložit
  • čas přidán 18. 05. 2024
  • Welcome to our latest video where we delve into the world of smart home energy management! In this video, i will showcase how to monitor the total power consumption of your entire household using the ESP32 microcontroller and the Shelly Power Meter.
    By integrating these two powerful devices, you'll gain real-time insights into your home's electricity usage, allowing you to optimize energy efficiency and reduce costs.
    🔗Links:
    🔧Parts:
    T-Display T4 : www.lilygo.cc/products/t4-s3?...
    Shelly Pro EM 50: www.shelly.com/en/products/sh...
    🛠️CODE: github.com/VolosR/T4Shelly
    ☕️ Support me on:
    KO-FI ko-fi.com/volosprojects
    PATREON: / volosprojects
    👍 Don't forget to subscribe, like, and hit the notification bell for more IoT and ESP32 tutorials!
    #esp32 #espnow #iot #arduino #remoteVoltage # voltageMonitor
  • Věda a technologie

Komentáře • 121

  • @WindwakerDE
    @WindwakerDE Před 22 dny +6

    Shelly is making a mistake Not sponsoring you.
    ... You are the BEST UI Designer around
    Thanks 4 sharing

  • @BlondieSL
    @BlondieSL Před měsícem +12

    I really like your screen designs. Rather than everything looking like flat text on a display, you create an almost 3D effect or "physical counter" with those numbers that look like they are "down inside" like a normal house meter does.
    So well done.

  • @2000jago
    @2000jago Před měsícem +37

    You're in the wrong line of work. You should be designing user interfaces for a living. I've never seen anyone do better.

    • @VolosProjects
      @VolosProjects  Před měsícem +8

      I wish, but i dont know anyone who will hire me , and i dont know where to search. Thank you my friend :)

    • @evanbarnes9984
      @evanbarnes9984 Před měsícem +3

      ​@@VolosProjectswell you've got one hell of a resume posted here on CZcams for when you do find an opportunity!

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

      The only problem with software working for someone are the restrictions on your creativity. I'm sure I saw a forum once that people went on looking for people to write software for their ideas.

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

      It’s true, your dashboard UI is eye catching. What font are used here?

  • @misteragony
    @misteragony Před měsícem +29

    You are a master at creating nice user interfaces

    • @VolosProjects
      @VolosProjects  Před měsícem +3

      Tnx, it is all practice, 4 years ago they were bad, now are decent.

  • @fredflickinger643
    @fredflickinger643 Před měsícem +4

    I like the display design choices for good readability and just the info you need!

  • @ajis555
    @ajis555 Před měsícem +10

    Your UI talents are amazing

  • @RobertP7884
    @RobertP7884 Před měsícem +4

    you have a unique taste in UI design, love it

  • @patmolloy4024
    @patmolloy4024 Před 21 dnem

    Wonderful work. Thanks so much for sharing.!! I just got it working, with a few minor modifications .. the important one was that my data was in em1:0 rather than em1:1

  • @tubeDude48
    @tubeDude48 Před měsícem +1

    This one of the finest projects I've seen you do! 👌 Thank You.

  • @bonamin
    @bonamin Před měsícem +2

    This guy makes some super good looking devices/uis.
    Amazing work.
    I don't know why I haven't tried one of these projects yet ! :D

    • @VolosProjects
      @VolosProjects  Před měsícem +1

      Thank you😀 nice to see comments like this one. I hope you will try few of them.

  • @Claudiu.
    @Claudiu. Před měsícem +2

    A very good looking user interface, congratulations on the hard work. The small details from it are a great addition. Perhaps you can have the space on the left used to have a statistics scroll-toggle section, where you show stats like "+20% from yesterday" or show listed entry values for the kWh consumed in the past 6-7 days. I know since you're using only the Shelly API that some limitation might be in place if you don't consider a database.
    Initially I assumed you would be directly showing data from HomeAssistant, but this is a very cool interface that one can directly use as-is to see the Shelly Cloud values in a great rendered way.
    Thank you for sharing these projects with us and keep up the good quality work! We do appreciate it.

    • @VolosProjects
      @VolosProjects  Před měsícem +1

      thank you, yes you are right this API is limited, or i just need to fihure it out. I wish to add history data , forexample last months or similar. Thank you!

  • @gernotpascuttini3045
    @gernotpascuttini3045 Před měsícem +1

    Like always, great job, thx a lot. Really awesome HMI 👍

  • @fecorekasi
    @fecorekasi Před měsícem +4

    I appreciate your transparency 😊 great videos

  • @leonardoleo2182
    @leonardoleo2182 Před měsícem +2

    You are an esp32 genius

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

    Nico Design. I like it. I have made my own with an other display connected via LoRa to my power meter in the cellar because wifi didn‘t work. It looks not so nice but it works and sends the collected data to my homeassistant. 😉

  • @unbekanntunknown3106
    @unbekanntunknown3106 Před 17 dny

    Thanks for bringing Shelly to my attention. I‘m currently looking for a threephase meter with MQTT and API capabilities.

  • @avejst
    @avejst Před měsícem +3

    Looking great
    Thanks for sharing your experiences with all of us :-)

  • @TT-it9gg
    @TT-it9gg Před měsícem +1

    Excellent! Thank you.

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

    Amazing display & work !

  • @Beansswtf
    @Beansswtf Před 3 dny

    Get rid of the shelly and make your own! It's ridiculously easy and super cheap! £10 for the ct clamp and £10 or so for a high quality external ADC. Would be a really good project to do and you could use an esp and create your own API on board that matches the shelly calls, so you can easily switch between shelly/your own

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

    That's a lovely UI design. I have a similar MaTouch 3.5" ESP32-S3 from MakerFab with an ILI9488 that I intend to do the same thing with. Am going to be stealing some of that lovely UI code!

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

      Thank you, feel free to do that😀

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

      @@VolosProjects I was wondering what graphics library you were using - I've never used TFT_eSPI and I've just found you've done a whole video on using that with sprites too! I have a busy day ahead of me watching your videos😄

  • @1Poe
    @1Poe Před měsícem

    super nice GUI. it beats by far a lot of other OEM solutions (like Sonoff or Shelly display). too bad the T4 display is not as cheap as a tablet running Kiosk for HomeAssistant. Otherwise it is a neat integration, and having the code available puts this LILYGO board on the top of my wish list. Please consider a code update for a 2ch shelly or scenario with PV production. This would be a great visual indication when there is surplus PV energy, and how much is extra. Also in scenario with inverters (like Huawei) connected with a single power line (not separate power in and power out like Voltronic type inverters) the energy coming from PV is reported with negative values (because is returned from Invertor) while the consumed energy from grid to inverter is reported with positive values. Keep On the good work. you were right few months ago tostop making more clock projects.... there are many more intersting applications to be done..

  • @shanesteven4578
    @shanesteven4578 Před měsícem +2

    Thank you!

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

    Your doing great work! You always mention that the coding take a lot time. Have you ever tried LVGL or Squareline? It looks like it could be a little easier and a lot less intimidating to the non programer like me. Also, I love your UI's and coding. I would love to see more projects/ instructionals with more end application examples. like:
    - a the sliding bar moving a servo or controlling a (DC or PWM) motors RPM
    - a tachometer displaying a motor's RPM using IR, or hall effect senor
    - the temperature using thermistors or temperature sensors
    - displaying GPS Data like direction and speed
    - using multiple ESP32's networked together using CAN bus (CJMCU-1051) to send data to a display panel or multiple panels. and or using ESPNow.
    All your videos have been great, and I think I've seen the screen examples of most of the ideas above and some had actual inputs but I would love to see the gap closed and have more real world environmental input that change the values on the screen.
    If not, that's ok, you still inspire me and show me what is possible!
    Thank you!

    • @VolosProjects
      @VolosProjects  Před měsícem +1

      Thank yoi Jason, yes i tried lvgl and sqare line. And i did not like it. I still think sqareline is great tool and lvgl is great library but it is not for me. Also most of time projects made with sqare line look the same becouse people use same template. I will cover aome of your ideas. Thank you again. Cheers

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

    It's a wonderful project. Thanks for shae

  • @VeniceInventors
    @VeniceInventors Před měsícem +2

    The interface looks great!
    It would be interesting to reverse-engineer the power meter communication with the shelly server, so that you can have your router redirect the requests to a local server and thus be able to maintain access to the meter and data even if the internet service is down, or shelly stops providing the cloud service.

    • @ErikHenriksson_
      @ErikHenriksson_ Před měsícem +1

      You can use something like Home Assistant for that, it supports fetching data locally from Shelly devices and has a local API which devices such as this one can use to fetch all data. Also allows you to blend in data from other sensors (such as solar inverters, etc).

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

      @@ErikHenriksson_ Ah great, that makes it easier then. I'm all for merging everything into Home Assistant as it's a great project and saves having to reinvent the wheel.

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

    Looks very good, well done

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

    You are fantastic !

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

    That is beautiful UI. Its also wild that data has to leave the house go onto a cloud platform instead of just some SD card on the device

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

      But when they on cloud you can acces them any time from any place. Using any device.

  • @dwylhq874
    @dwylhq874 Před 21 dnem

    Awesome project! 🤩

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

    Great UI. Not come across the Shelly brand before, but look good. Wondered if you're able to check accuracy, as some in the Amazon reviews report poor accuracy. They also mention freezing and the need for a subscription, which would be a shame.

  • @PauloFurlan-Lumens
    @PauloFurlan-Lumens Před měsícem

    adorei seu trabalho, merece um like👍

  • @genieur8188
    @genieur8188 Před 27 dny

    Wonderful project. Great achievement.
    Do you see an option to a) store the data on a local NAS and b) extend it to three phases or c) the Display can be powered by batteries and therefore be in the kitchen?

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

    Amazing products

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

    Teşekkürler

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

    very cool unit. a question for you- why are you on the cloud??? are you paying for that service??? thanks~!

  • @WDZaphod
    @WDZaphod Před měsícem +1

    Would be cool to use mqtt instead? Nice design btw!

  • @kellyhines5170
    @kellyhines5170 Před měsícem +1

    Great Job Volos! those displays are beautiful!! I have T4 on the way!! Could you help with a temp and humidity sensor with a cool display?

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

      tnx, yes if i have sensor you are planing to use i can help.

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

      I will also buy you a coffee.🤑

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

    Looks good!👍

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl Před 23 dny

    Thank You

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

    Could you get an enclosure made that fits a standard wall light switch back plate and sell this as a project? Or port it to android and sell the app, advertising on home assistant forums.

  • @NamOAtoN
    @NamOAtoN Před měsícem +1

    Super.

  • @proservices6067
    @proservices6067 Před měsícem +3

    Nice work, but i have a question regarding your project.
    Why you did not connect your ESP32 directly to the Shelly ESP32 WiFi to retreive the data, but instead you using the Shelly cloud service.
    Imagine that cloud server goes down and you dont have access to your data.
    Plus that many people do not like cloud services, because of the privacy.

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

      This! We don't have internet or cellular connectivity. Being able to do energy monitoring over a period of time; hour, day week, month, year without cloud services would be great.

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

    in UK we have continously 240V+ althought the country moved to 230V more than 10 years ago ;-)

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

      Do you have problems becouse that? I mean can this harm devices?

    • @zyghom
      @zyghom Před měsícem +1

      @@VolosProjects no, still within tollerance ;-)

  • @PedroLeBoursicoteur
    @PedroLeBoursicoteur Před 27 dny

    I've seen several of your videos, they're really cool. Do you know if it's possible to buy the same amoled screen and connect it to any ESP32?

    • @VolosProjects
      @VolosProjects  Před 27 dny +1

      Thank you. Yes few people also sked me this. But i am not sure, I never saw just display for sale. Also i think this is not display that is easy to conect to any microcontroler.

  • @pmtate
    @pmtate Před 15 dny

    Thanks for this, mirrored your project but amended the json to cope with the simpler Shelly EM. To charge the battery is it as simple as plugging in to a usb c power supply or do I need to add code to charge the battery?

    • @VolosProjects
      @VolosProjects  Před 15 dny

      No just plug your usb, if usb is constantly pkuged than yyou dont need battery

    • @pmtate
      @pmtate Před 15 dny

      ⁠@@VolosProjects thank, but then I have to sort the infuriating red power led.

  • @paial
    @paial Před 27 dny

    NO CLOUD version -> Setup and MQTT broker (server). It can even run on a ESP32. Configure Shelly to send data to said broker (supported nativly). Adapt OPs code to get data (subscribe) from the MQTT broker/topic that the Shelly publishes on.
    The concept works, I have been running like this for at least 2 years with no hiccups. I my case, I use Home Assistant (and not the OPs beautiful ESP32 contraption / UI ) to receive/display the data.

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

    Is it possible to set this up without an internet connection? I'd like to set-up an energy monitor like this on a farm; but, we don't have access to cellular or broadband/DSL. I looked at the iotawatt split phase kit for our sub panel; but, it's quite pricey & we don't need to monitor many individual circuits. We just need to record & display energy consumption for individual different sub panels. We cannot get a secondary meter installed by the local utility. Thanks!

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

      with this device i think it is not possible.

  • @mars3142
    @mars3142 Před měsícem +2

    Your system would be more advanced, if you add a MQTT broker to your setup. So you don't need to use the cloud for getting any data.

  • @turbo2ltr
    @turbo2ltr Před měsícem +1

    Would love to have something like this that doesn't require any third party service. I refuse to buy hardware tied to a service that will make the hardware useless should the company decide to turn it off.

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

    Good work, but why do you need dedicated screen and not just write the app for the cellphone? Everybody have a very good cellphone screen in their pocket so what is the reason to by one more?

    • @VolosProjects
      @VolosProjects  Před měsícem +4

      Thease chanel is about programing thease screens for diferent needs. Shelly meter already comes with mobile app which is free. But my idea was to install this in some panel and data will be visible constantly, i dont like to reach my phone for evrything .

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

      I agree, a dedicated screen saves looking at phone app

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

    Nice...

  • @mindshelfpro
    @mindshelfpro Před měsícem +1

    Any offline solution (no cloud at all, including local time server) with Home Assistant to display the information?

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

      need a little bit more coding , and a few more wire , but is use PZEM-014 that is an offline power meter that you can read directly with an arduino , and then do what you want with the data
      send it via MQTT , send it to cloud , send it to home assistant , send it to display like in the video and so on

    • @paial
      @paial Před 27 dny

      @@tfoutfou21000 Shelly can send MQTT to HA (or any other local broker), mine is configured this way.

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

    I need one for air monitoring, O2, CO2, MO, pm25, all that, anyone knows?

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

    Does it work without connecting to Shelly cloud services?

    • @VolosProjects
      @VolosProjects  Před měsícem +1

      No, this code no.

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

      @@VolosProjects do you know if it possible to locally connect to the Shelly Pro EM-50? Or can it send data to a local mqtt server rather than Shelly cloud?

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

      Yes, it is possible localy. There is no need for shely cloud.

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

      @@VolosProjects thank you boss

  • @sulcusulnaris
    @sulcusulnaris Před měsícem +1

    Once you reach a certain size, companies will approach you to beg to be mentioned in a video or to present a product. You have to be patient.

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

      They will need to use ebegging then😀 thank you.

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

    nice, but only 1 line?

  • @DM-ei6oo
    @DM-ei6oo Před měsícem

    I just noticed this. Your county uses 240V single phase like this power meter does so that means a single device AND I see 50Hz used in most of the world. In America, Canada we have 240V two phase so we would need two of these otherwise we are only measuring the current on one of the two phases. I wish the US used 240 single phase for power efficiency reasons but no one cares what I think.

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

      This meter have two seperate sensors.and two clamps, i am not using second one.

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

      @@VolosProjectsdoes the code support split phase?

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

      if you use two phase , and use only one clamp , the current mesured should be the same , because any current that goes in have to go out to complete the circuit.

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

    the meter is way too pricey
    you can get very efficient meter like the PZEM-014 for less than 10 bucks , i have 20 of them for 5 years and they work very well
    you just need a little bit more programming to read the data from them , but nothing an arduino cant do

    • @VolosProjects
      @VolosProjects  Před měsícem +1

      yes, i agree, but with this you also get colud, phone app, history data, calculation, and more.. easy way to setup and use. Most of people dont know how to use arduino or any development board. This product is not for makers .

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

    You do not finis your test : I would like to see inside the Shelly.

  • @pitz10
    @pitz10 Před 29 dny

    i need this. but i think this not accurate at all. sorry

    • @VolosProjects
      @VolosProjects  Před 29 dny

      Why do you think that?

    • @pitz10
      @pitz10 Před 29 dny

      @@VolosProjects Because I think directly connected is more accurate like our home meter base unlike clamp it's not directly connected to the copper. I'm talking to the clamp meter device. But the design I salute. Beautiful.

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

    So step one BUY OTHER PRODUCT step two USE THAT PRODUCT'S REPORTED DATA... simple enough but not a DIY complete.
    Why not MAKE YOUR OWN? I would be curious to know if there are some github codes out there to use with a simple circuit and that CT.

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

      Maybe because he wants to make something useful and not risk the fire of his house? You don't have to make everything from scratch to call it DIY, he did a portable data display. Or maybe the display wasn't made by him so can't be called like that?
      I bet that there are many custom products on the kickstarter which you could maybe even build yourself.

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

      @@nomadc4 Clamping a CT around a wire WILL NOT cause a fire. I know what he's doing but hes technically NOT monitoring his home's electrical service with the ESP32, He's DISPLAYING it on the esp32. BIG difference. I feel the whole video was to sell the shelly meters.

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

      But you have to connect this clamp somewhere and power it. Everything using main power CAN cause fire if made by non-electrician. Why do you think he made the video only to sell this product when at the beginning he said that they are very expensive? XD you can say that he makes the videos to sell the lilygo products since he's using only them. But do you really see any advertisement in his videos?

  • @Mubashar961
    @Mubashar961 Před měsícem +3

    ebegging 🤣

    • @VolosProjects
      @VolosProjects  Před měsícem +1

      😁

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

      not bad, at least unless you add a "te" at the beginning :D

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

    We in uk can just get smart meter for gas and electric 😂

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

    ebegging 😂😂😂

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

    I like this project. Knowing your cost per kWh, you could also show your cost for the current period.
    Since they didn't even bother to respond to your request, we should buy a similar device from their competition.

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

      yes, that was my plan, but my problem is that cost is diferent at night. And using thie API i can only get sum of whours. But that can be solved also.

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

    odradio si svaka ti cast
    nego mi deluje taj modul malo zeznut za neku montazu u neku kutiju ili na neki panel
    ima li neko resenje koje se nije videlo na klipu ili ...
    pozdrav
    inache uvod je odlican i zao mi ej sto nemogu da posaljem i ja nesto
    ali sam sigurna da c jednog dana da ti se oduzim

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

      da, istina , malo su im svi moduli zeznuti. No trenutno planiram izraditi pcb koji bi služio kao nosač za uređaj, i onda bi se sve šarafalo direktno u zid. ma ne sekiraj se, gledaš svaki video to mi puno znači. Pozdrav tebi i tvojima, i pčelama naravno.
      Moj tata se još više zaludio sa pčelama, stalno je izboden uza svu zaštitnu opremu :)