Home Assistant Energy Monitoring with Shelly EM - fuse-box install

99,440
0
Published 2020-03-17
EDIT: With Home Assistant 2021.8, there are even more reasons to get Shelly EM - for Energy monitoring dashboard.
Today we will install and configure Shelly EM - Energy meter for smart Home and we will integrate it with Home Assistant using HACS - Home Assistant Community Store.
shelly.cloud/shelly-energy-meter-with-contactor-co…
github.com/StyraHem/ShellyForHASS
Don't forget to check also Utility meter video as second part of this video for Shelly EM home power monitoring.

00:00 Intro

This will be a bit different then my previous videos since first we have to install Shelly inside fuse box.

WARNING - if you are not sure what you're doing please ask help from certified electrician.

00:51 - For start - let's prepare all required tools - Shelly EM, some wires, screwdriver with testing tool and wire-strippers.

Please read carefully manual on how to wire and check, check and re-check what you're doing.

02:47 - Next, after disabling main line, I'll put on clamp on main wire, connect Shelly to negative and live wire for power supply. Remember that even after flipping of main power line, there is still live wires inside fuse box!

05:40 - Check once again and if everything looks OK, I'll flip power back on.

06:10 - Second step is to configure Shelly EM to connect to home wife. You should see new SSID shellyem-nnnnnn (where nnnnnn is ID of your device).
In your browser go to default IP address - 192.168.33.1

Connect to it and minimum is toconnect to your home WiFi. Also, check that you have selected 50A/120A in configuration as it should match clamp you are using.
If you see negative value (as in my video) - you should just remove clamp from wire and turn it upside-down.

09:57 - In Home Assistant, we will use HACS (Home Assistant Community Store) to install Shelly Integration - called "Shelly for HASS". Just press install.

11:13 - After it finishes installing it, we need to add one line in configuration.yaml file:

shelly:

11:42 - check your configuration and restart Home Assistant.

After restart, go to Configuration and Integrations and you should see your device there soon.

If you don't see anything after few minutes, you can force connection, by adding "discover_by_IP" and IP address in configuration.yaml - here is example:

shelly:
discover_by_ip:
- '192.168.1.71'

Now you can add your Shelly EM and start tracking your home energy usage.

And this is it for yet another Home Assistant integration.

Please, give me a thumb up if you liked this video, subscribe if you still haven't and I'll see you next time!

Have fun!
BeardedTinker

🧡 If you would like to support me and this channel, you can JOIN and become channel member!
youtube.com/BeardedTinker/join

✅Twitter: @BeardedTinker
✅Discord: discord.gg/HkxDRN6
#ShellyEM #HomeAssistant #shelly

All Comments (21)
  • @Thamli
    I cracked myself up when reading the chapter called 'connect shelly em to home wife' 🤣🤣
  • @PeterScargill
    I've only recently come to realise that Europe has (to me) the strangest wire colours for live and neutral - for what it is worth - Black for live and blue for neutral in this video - as a Brit I can esily go along with lue for neutral - we used to use black for neutral - both look "cold" - in the UK we use blue for neutral and brown (warm-sh) for live - we used to use red (hot colour) which seems more sensible to me. I now live in Southern Spain - tyou may not believe the colour coding there.
  • @jensschroder8214
    You only have one hot live wire. Shelly 2EM can measure that. But Shelly 2EM cannot measure three-phase current. That's what the Shelly 3EM is for.
  • @lentilgod58
    Thank you for this step-by-step detailed instruction video. Subscriber gained for you :)
  • @andrejsersen59
    Hey! Thanks for your video tutorial! Great and funny :). Just one question: did you install it on only 1 phase or do you have 3 phases? I have 3 phases for my heat pump and it will probably not work with shelly em? Have any suggestions? Thanks again and kind regards from Slovenia!
  • @alcorza3567
    Hello from Cape Town, South Africa! Awesome video... I'd love to see a similar project for water mains coming into a home to measure water flow and calculate water consumption.
  • @ducsue751
    Great job. This video is posted on Shelly's site. I am thinking about purchasing this device. When you hook up clamp to the positive main terminal, the arrow that is shown on the clamp should be pointed towards the terminal connection or away from it?
  • @LeiChat
    Thanks for the informative video. Will the 120A clamps be less accurate at measuring lower Amperage loads? I have recently seen the Shelly EM with 2x 120A clamps available at a discount but for my intended installation the 50A clamps would suffice. If there's no loss in accuracy using the 120A clamps though... I do like a bargain. haha
  • @vk2him
    Great video - can you please advise the frequency of updates to power for each of the two clamps - is it one per second, every 10 seconds or longer? Can this be changed? I'd like to measure instant power, so hopefully it updates at least once per second.
  • @CristianImbir
    Great video, I plan to purchase one as well. How do I know if I need a 50A or 120A clamp? Thanks
  • @cascer123
    You mention that you usually use black for power and blue for neutral, but I don't think that's always the case. In DC circuits here, red is positive and black is negative. In AC circuits, Brown is phase and black is neutral.
  • @salvamipc
    Hi, I have one question, the switch whats is it for? Turning it on or off, doesn't change anything in the readings
  • Hi there and thank you for the great video. Please, could you let us know how to do the other graphs that appear in the main picture of your video? Thanks you in advance.
  • Hi BeardedTinker, as per my previous comments I installed a Shelly EM and is working very well, however, on the Home Assistant graph, most of the time is showing 0 for both instant consumption entities. I've noticed there are a lot of options on the yaml / gui configuration, but can't figure how to have a more reliable view. Thanks
  • @ogaanca
    Hi BeardedTinker, can you make a video about your setup. All the addons you are using and all your layouts? PS. Pozdrav iz BG-a
  • @davidheron1505
    B.T., given the August HA release is built around energy management, is it worth re-visiting this topic in order to see there any improvements, if any? A reasonable idea?
  • @makoesim
    Hi, thanks for your video, may i know the update interval and is it suitable to use it as a real time energy monitor? Also i noticed that there is no Voltage entity in home assistant
  • @stevefromuk
    Hi so you're wiring into the unit directly. Is that just to power the shelly ? Can I wire it into a fused plug and just plug it into a socket instead ? Thanks