Skip to content
Articles

Solar panels and home automation: how to use more of the energy you produce with Shelly

How Shelly home automation measures solar production, consumption and surplus, and switches on the water heater, pool pump or EV charger while the sun is shining.

Published 7 min read By Wolf Smart Home

Short answer

To raise self-consumption, home automation measures what your solar panels produce, what the house uses and what goes to the grid, then switches on appliances that can wait, such as the electric water heater or the EV charger, whenever there is a surplus. With Shelly, this takes a fuse-box meter and relays, without touching the inverter.

Sun, solar panels and a phone app showing solar production, home use and the surplus

Solar panels produce the most around midday, which is often when nobody is home. The result is energy flowing out to the grid while, in the evening, you buy electricity back to heat water or charge the car. Home automation handles the part the panels can’t: deciding where the energy goes.

What self-consumption is and why it matters

Self-consumption means using the electricity your own panels produce, in your own home. In Portugal, the legislative guide published by ADENE (the national energy agency) and DGEG (the Directorate-General for Energy and Geology) defines it as consumption covered by energy from one or more UPACs, the Portuguese term for a self-consumption production unit, under Decree-Law 15/2022 as amended.

Three points from the same guide help frame the subject:

  • Surplus is the energy produced by the installation that is neither consumed nor stored.
  • Under individual self-consumption, the owner may choose whether or not to sell that surplus, through the electricity markets, directly or through a third party.
  • Self-consumers have a duty to size their installation so that production matches consumption as closely as possible, keeping the surplus to a minimum.

In other words, the law itself assumes solar energy is there to be used at home. Every kilowatt-hour the house uses as it is produced is one you don’t have to buy from the grid. The catch is timing: Shelly points out that production peaks at midday, when most people are at work and household demand is low.

How home automation measures production, consumption and surplus

The first step is measuring. Without knowing how much you produce and use at any moment, there is no way to put the surplus to good use.

  • Shelly Pro 3EM: a DIN-rail energy meter fitted in the fuse box. It measures three-phase or single-phase installations with current transformers (clamps), without cutting any circuits. Shelly says it records how much energy is produced, consumed and fed into the grid, and it keeps at least 45 days of minute-by-minute data in its own memory.
  • Shelly Pro EM-50: a two-channel, single-phase DIN-rail meter with a dry-contact relay for driving an external contactor.
  • Production the new system can’t see: if you have older panels or separate microinverters, Shelly suggests putting an EM or PM device on that system’s output, so total production and self-consumption are counted correctly.

With these meters, the app shows production, household consumption and grid export in real time, and keeps the history so you can compare days and months. If your inverter or battery speaks Modbus, the Shelly Pro RS485 Add-on lets you see those values in the app too, alongside the meters and relays.

Which appliances to run while the sun shines

The best candidates are appliances that use a lot of power and can wait for sunny hours. Shelly’s documentation gives the water heater, pool pump, EV charger, dishwasher and dehumidifier as examples.

Device How Shelly controls it Things to watch
Electric water heater (cylinder) A relay such as the Shelly Pro 1PM or Shelly 1PM Gen3; for bigger loads, a dry-contact relay (Pro 1, Pro 2) drives a contactor With the Shelly Plus Add-on you can add a temperature sensor and heat only as far as you need
EV charger (wallbox) A Shelly Pro 1PM enables charging when the Pro 3EM detects a surplus The charger has to accept this kind of control; we check this during the technical visit
Pool pump A relay on the pump circuit, with filtration scheduled for production hours The pump still needs its required running time, sun or no sun
Dishwasher or washing machine Set to run in sunny hours, using the app’s production graph as a guide Whether it can start automatically depends on the machine; checked case by case
Dehumidifier Shelly Plug S Gen3 smart plug or a relay A load that can happily wait for the sun
Blinds Shelly 2PM or Pro 2PM on the motors Closing them before the sun hits the façade means the air conditioning works less

Blinds don’t use the surplus, but they help you keep it: as Shelly puts it, the cheapest kilowatt-hour is the one you never use. See how automated blinds and gates work.

How surplus automation works, step by step

The logic is simple and runs by itself every day:

  1. The meter watches the grid connection. The Shelly Pro 3EM in the fuse box sees when the house starts exporting energy.
  2. The surplus passes the threshold you set. In the Shelly Smart Control app, you choose the surplus level at which the appliance should switch on.
  3. The relay switches the appliance on. For example, the water heater’s heating element.
  4. The surplus ends, the appliance switches off. When a cloud passes or the house starts using more, the relay switches it off again.

On dull days, Shelly suggests the reverse: switching off big loads such as the water heater or pool pump so they don’t run on grid power unnecessarily. The two ideas work together: the water heater uses the surplus when the sun is out and, on days when that isn’t enough, it can run during off-peak hours if your tariff has them. For finer rules, Shelly devices support scripts.

Alerts and reports: what you see in the app

The Shelly app is free, available for Android and iOS, and also works in a desktop browser. With energy management in place, you get:

  • Real-time consumption for the whole house and for each metered circuit.
  • Production and surplus, so you can see when energy is left over.
  • Phone alerts when consumption spikes or an appliance is left on for no reason.
  • Reports to compare days and months and see which appliances weigh most.

With this data, deciding what to change is no longer guesswork. If the graph shows a surplus every day between noon and four in the afternoon, that is when the dishwasher should run.

No panels yet? Measure first

Before fitting panels, it pays to measure what the house actually uses. Your bill tells you how much you used in a month, but not when, and timing is what decides the size of the panels, the size of the battery and whether a heat pump or an electric car changes the picture.

Shelly recommends exactly this: a Pro 3EM (three-phase) or Pro EM (single-phase) in the fuse box, with no circuits cut, recording consumption minute by minute, weekday and weekend patterns, peaks and baseload (what the house draws even at 3 a.m.). Since Portuguese law asks for the installation to be sized close to consumption, this data is a solid starting point for talking to your solar installer. And the meter keeps earning its place afterwards, managing the surplus.

What you need to have installed

A typical self-consumption set-up with home automation has five parts:

  1. Panels, inverter and a registered installation. The solar side, which home automation does not replace.
  2. A meter in the fuse box. A Shelly Pro 3EM or Pro EM-50, fitted by a professional, with clamps on the grid supply and, where it makes sense, on the inverter output.
  3. Relays on the appliances you want to control. The Shelly 1PM Gen3 handles up to 16 A at 240 V and fits in a standard wall box behind sockets and switches; DIN-rail relays sit in the fuse box. For bigger loads, a dry-contact relay drives a contactor.
  4. Reliable Wi-Fi near the fuse box. Wolf Smart Home always installs a router dedicated to the home automation, with extenders where the home needs them, included in the price.
  5. The controls. The Shelly app and voice assistants: Amazon Alexa, Google Home and Apple Home.

When it isn’t worth it

Home automation won’t work miracles with your panels, and in some cases the gain is small:

  • Homes with no flexible loads. If you have no electric water heater, pool or electric car, there is little to move into sunny hours. Monitoring is still useful, but surplus automation loses its appeal.
  • Appliances that can’t simply be switched on and off like a heating element. Heat pumps, air conditioners and some washing machines have their own controls. In these cases, we check during the technical visit whether the appliance has its own way of being controlled.
  • Loads beyond what the relay can handle. Every relay has a limit; above it, a contactor in the fuse box is a must.
  • Expecting a fixed saving. Savings depend on each home, its solar installation and its habits, so we don’t promise a percentage.
  • The legal side of the installation. Registering the installation and selling the surplus are the responsibility of the self-consumer and the solar installer; home automation does not replace them.

Who installs it in Braga, the Minho and Porto

Wolf Smart Home is the home automation brand of Wolf Smart Industries and an official Shelly installer in Braga. We handle the design, installation, set-up and support for homes and businesses in Braga, the Minho and Porto, with energy monitoring on single-phase and three-phase boards. One example is the automation of the entire Factory Braga building.

If you already have panels, the home automation joins your existing installation without touching the inverter. If you are starting out, you can combine energy management with the rest of the house, as we explain in our article on a smart home without rewiring. For a figure, try the quote calculator; the technical visit is free. For businesses and industrial buildings with solar production, see businesses and industrial buildings.

Sources

  1. Shelly: Making your solar more efficient with Shelly (opens in a new window)
  2. Shelly: Shelly in the solar home, from the first measurement to the off-grid cabin (opens in a new window)
  3. Shelly: What is a PV surplus? (opens in a new window)
  4. Shelly: Photovoltaic Solutions (opens in a new window)
  5. Shelly: Energy Efficient Home (opens in a new window)
  6. Shelly Knowledge Base: Shelly Pro 3EM (opens in a new window)
  7. Shelly Knowledge Base: Shelly Pro EM-50 (opens in a new window)
  8. Shelly Knowledge Base: Shelly 1PM Gen3 (opens in a new window)
  9. ADENE and DGEG: Self-consumption and Renewable Energy Communities, legislative guide (in Portuguese) (opens in a new window)
  10. ERSE: Self-consumption (in Portuguese) (opens in a new window)
Related solution Energy management See in real time where your energy goes and get alerts before the bill arrives.

Written by

Written by

Wolf Smart Home

Wolf Smart Home is the home automation brand of Wolf Smart Industries, a software engineering company founded in Braga, Portugal, in 2021. As an official Shelly installer, it automates homes, businesses and industrial buildings in Braga, the Minho and Porto.

About the installer
Questions

Frequently asked questions

Can't find the answer? Give us a call or send us a WhatsApp message.

Does Shelly home automation work with any inverter brand?

For measuring, yes: the meter sits in the fuse box and reads the current with clamps, independently of the inverter. Shelly designs its devices to work alongside inverter and battery brands, not to replace them. If you also want the inverter's own data in the app, that is possible over Modbus with the Shelly Pro RS485 Add-on, as long as the inverter supports it.

Do I need a battery to make use of my solar surplus?

No. Shelly itself describes the water heater as a battery you already own: heat stored at midday is hot water in the evening. A battery and home automation are not either-or. The automation decides which appliances use the surplus; the battery stores whatever is left over.

Can I sell my surplus and use home automation at the same time?

Yes. According to the guide published by ADENE and DGEG, under individual self-consumption in Portugal the owner of the installation may choose whether or not to sell the surplus. Home automation simply makes sure the house uses its own energy first. Registering the installation and the terms of sale are handled separately, with your solar installer and whoever buys the energy.

What happens if the internet goes down?

The wall switches keep working as usual and the schedules stored on the devices keep running. The Shelly Pro 3EM keeps at least 45 days of minute-by-minute readings in its own memory, with a built-in clock. Without internet you only lose remote access through the app and voice control, until the connection comes back.

Does it work with a three-phase supply?

Yes. The Shelly Pro 3EM measures both three-phase and single-phase installations, and the Shelly Pro EM-50 is a two-channel single-phase alternative. Wolf Smart Home installs energy monitoring on single-phase and three-phase boards, in homes, shops and industrial buildings. Which meter fits your fuse box is decided during the free technical visit.

How much does it cost to add home automation to solar panels?

It depends on your fuse box and the appliances you want to control: water heater, EV charger, pool pump, blinds. The Wolf Smart Home quote calculator emails you an estimate within a few minutes, and the final price is confirmed during the technical visit, which is free.

Ready for a smarter home?

Get an estimate by email in 2 minutes, or book your free site visit now.