Monitoring House Power Consumption with ESP32 and Shelly Power Meter

Поділитися
Вставка
  • Опубліковано 24 лип 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
  • Наука та технологія

КОМЕНТАРІ • 122

  • @WindwakerDE
    @WindwakerDE 2 місяці тому +8

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

  • @BlondieSL
    @BlondieSL 3 місяці тому +13

    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.

  • @fredflickinger643
    @fredflickinger643 3 місяці тому +4

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

  • @ajis555
    @ajis555 3 місяці тому +12

    Your UI talents are amazing

  • @misteragony
    @misteragony 3 місяці тому +30

    You are a master at creating nice user interfaces

    • @VolosProjects
      @VolosProjects  3 місяці тому +3

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

  • @RobertP7884
    @RobertP7884 3 місяці тому +5

    you have a unique taste in UI design, love it

  • @patmolloy4024
    @patmolloy4024 2 місяці тому

    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

  • @bonamin
    @bonamin 3 місяці тому +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  3 місяці тому +1

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

  • @unbekanntunknown3106
    @unbekanntunknown3106 2 місяці тому

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

  • @2000jago
    @2000jago 3 місяці тому +38

    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  3 місяці тому +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 3 місяці тому +3

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

    • @Sailingon
      @Sailingon 3 місяці тому

      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 3 місяці тому

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

  • @Claudiu.
    @Claudiu. 3 місяці тому +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  3 місяці тому +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!

  • @dynahenry5733
    @dynahenry5733 3 місяці тому

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

  • @fecorekasi
    @fecorekasi 3 місяці тому +4

    I appreciate your transparency 😊 great videos

  • @tubeDude48
    @tubeDude48 3 місяці тому +1

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

  • @gernotpascuttini3045
    @gernotpascuttini3045 3 місяці тому +1

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

  • @avejst
    @avejst 3 місяці тому +3

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

  • @leonardoleo2182
    @leonardoleo2182 3 місяці тому +2

    You are an esp32 genius

  • @RagdollRocket
    @RagdollRocket 10 днів тому

    Great, can't wait to see the next tutorial on this.

  • @1Poe
    @1Poe 3 місяці тому

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

  • @TT-it9gg
    @TT-it9gg 3 місяці тому +1

    Excellent! Thank you.

  • @steverileyretired
    @steverileyretired 3 місяці тому

    Looks very good, well done

  • @genieur8188
    @genieur8188 3 місяці тому

    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?

  • @dwylhq874
    @dwylhq874 2 місяці тому

    Awesome project! 🤩

  • @temyraverdana6421
    @temyraverdana6421 3 місяці тому

    It's a wonderful project. Thanks for shae

  • @jasonwhite2775
    @jasonwhite2775 3 місяці тому

    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  3 місяці тому +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

  • @makers_lab
    @makers_lab 3 місяці тому

    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.

  • @NeilStansbury
    @NeilStansbury 3 місяці тому

    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  3 місяці тому

      Thank you, feel free to do that😀

    • @NeilStansbury
      @NeilStansbury 3 місяці тому

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

  • @shanesteven4578
    @shanesteven4578 3 місяці тому +2

    Thank you!

  • @shmilgan
    @shmilgan 3 місяці тому

    Amazing display & work !

  • @volt8399
    @volt8399 3 місяці тому

    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  3 місяці тому

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

  • @rbouakaz
    @rbouakaz 3 місяці тому

    You are fantastic !

  • @PauloFurlan-Lumens
    @PauloFurlan-Lumens 3 місяці тому

    adorei seu trabalho, merece um like👍

  • @rons1566
    @rons1566 3 місяці тому

    Amazing products

  • @Lacmane1
    @Lacmane1 Місяць тому

    Hi, can I add something to have voice control to this board. So beside using the touch screen, I would also want to have something to command via voice (so send command by talking into it)?

  • @VeniceInventors
    @VeniceInventors 3 місяці тому +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_ 3 місяці тому +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 3 місяці тому

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

  • @mikewilliams2251
    @mikewilliams2251 3 місяці тому

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

  • @WDZaphod
    @WDZaphod 3 місяці тому +1

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

  • @Sailingon
    @Sailingon 3 місяці тому

    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.

  • @Beansswtf
    @Beansswtf 2 місяці тому

    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

  • @dirkbouma7015
    @dirkbouma7015 3 місяці тому

    Looks good!👍

  • @kellyhines5170
    @kellyhines5170 3 місяці тому +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  3 місяці тому

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

    • @kellyhines5170
      @kellyhines5170 3 місяці тому

      I will also buy you a coffee.🤑

  • @larrygzone
    @larrygzone 19 днів тому

    Another great tutorial, thanks Volos. General question: I notice that in most, if not all, tutorials that you use generic ESP32S3 board selection in the Arduino IDE. You do not select Lilygo board in the board setup. I work with Lilygo, M5Stack, and other ESP32 boards. Is it best to always use the generic Espressif ESP32S3 board selection in Arduino IDE? Thanks - Larry

    • @VolosProjects
      @VolosProjects  19 днів тому +1

      Hello, Larry i chose esp32 s3 only when using new lilygo boards, that is not case with m5stack and older lilygo. Thank you for your support.

  • @ha13151
    @ha13151 3 місяці тому

    Teşekkürler

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl 3 місяці тому

    Thank You

  • @NamOAtoN
    @NamOAtoN 3 місяці тому +1

    Super.

  • @ingusmant
    @ingusmant 3 місяці тому

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

  • @proservices6067
    @proservices6067 3 місяці тому +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 3 місяці тому

      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.

  • @PedroLeBoursicoteur
    @PedroLeBoursicoteur 3 місяці тому

    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  3 місяці тому +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.

  • @paial
    @paial 3 місяці тому

    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.

  • @zyghom
    @zyghom 3 місяці тому

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

    • @VolosProjects
      @VolosProjects  3 місяці тому

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

    • @zyghom
      @zyghom 3 місяці тому +1

      @@VolosProjects no, still within tollerance ;-)

  • @mars3142
    @mars3142 3 місяці тому +3

    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.

  • @davisbradford7438
    @davisbradford7438 3 місяці тому

    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  3 місяці тому

      with this device i think it is not possible.

  • @pmtate
    @pmtate 2 місяці тому

    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  2 місяці тому

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

    • @pmtate
      @pmtate 2 місяці тому

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

  • @turbo2ltr
    @turbo2ltr 3 місяці тому +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.

  • @lohikarhu734
    @lohikarhu734 3 місяці тому

    Nice...

  • @mindshelfpro
    @mindshelfpro 3 місяці тому +1

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

    • @tfoutfou21000
      @tfoutfou21000 3 місяці тому

      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 3 місяці тому

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

  • @yuriychekh8461
    @yuriychekh8461 3 місяці тому

    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  3 місяці тому +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 3 місяці тому

      I agree, a dedicated screen saves looking at phone app

  • @sulcusulnaris
    @sulcusulnaris 3 місяці тому +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  3 місяці тому

      They will need to use ebegging then😀 thank you.

  • @abdullahX001
    @abdullahX001 3 місяці тому

    Does it work without connecting to Shelly cloud services?

    • @VolosProjects
      @VolosProjects  3 місяці тому +1

      No, this code no.

    • @abdullahX001
      @abdullahX001 3 місяці тому

      @@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  3 місяці тому

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

    • @abdullahX001
      @abdullahX001 3 місяці тому

      @@VolosProjects thank you boss

  • @spielautomat9751
    @spielautomat9751 3 місяці тому

    nice, but only 1 line?

  • @ericseidel4940
    @ericseidel4940 3 місяці тому

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

  • @tfoutfou21000
    @tfoutfou21000 3 місяці тому

    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  3 місяці тому +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 .

  • @davey2k12
    @davey2k12 3 місяці тому

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

  • @TheTubejunky
    @TheTubejunky 3 місяці тому

    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 3 місяці тому

      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 3 місяці тому

      @@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 3 місяці тому

      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?

  • @pitz10
    @pitz10 3 місяці тому

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

    • @VolosProjects
      @VolosProjects  3 місяці тому

      Why do you think that?

    • @pitz10
      @pitz10 3 місяці тому

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

  • @Mubashar961
    @Mubashar961 3 місяці тому +3

    ebegging 🤣

    • @VolosProjects
      @VolosProjects  3 місяці тому +1

      😁

    • @nomadc4
      @nomadc4 3 місяці тому

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

  • @zombieryder
    @zombieryder 3 місяці тому

    ebegging 😂😂😂

  • @villageidiot8718
    @villageidiot8718 3 місяці тому

    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  3 місяці тому

      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 3 місяці тому

    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  3 місяці тому

      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 :)