SMA logo
Shelly logo

SMA + Shelly

Switch appliances on SMA solar surplus with Shelly: Zerofy turns them on when there's surplus and supports dynamic tariffs. No extra hardware.

Download Zerofy Plans and Pricing

Solar Automation

Automatically control your devices when solar production exceeds consumption.

Dynamic Tariffs

Optimize for electricity prices. Charge or run devices when rates are lowest, and use solar when prices are high.

Cloud Integration

No hardware required. Connect your SMA and Shelly via cloud APIs in minutes.

SMA + Shelly: TL;DR

Yes, SMA and Shelly work together in Zerofy. Zerofy reads your SMA system through SMA Sunny Portal / SMA Energy app and controls your Shelly plugs and relays through the Shelly cloud. Smart mode also follows dynamic electricity prices and solar forecasts. No extra hardware needed.

What Zerofy can do with SMA and Shelly

Solar data from SMALive values and history, new data every 5 min, including the battery
Connection to ShellyCloud – your Shelly account
Switch on and offYes
Power historyYes
Use as balcony solar meterYes
Autopilot: Solar modeYes
Autopilot: Smart mode (tariffs and forecasts)Yes

In practice

  • Solar mode switches your Shelly plugs and relays on when there’s surplus, following your priority order and minimum runtime. Smart mode instead runs for a set number of minutes within the hours you allow.
  • A Shelly plug can also measure a balcony solar system: set it as balcony solar meter in Zerofy.
  • With a typical SMA home system (3–10 kW), plug loads get surplus on most sunny days; use priorities to decide whether they or bigger devices such as an EV charger come first.
  • Zerofy gets new SMA data every 5 minutes and adjusts accordingly. A minimum runtime and an activation threshold in Autopilot keep passing clouds from interrupting switching.
  • Zerofy also shows your SMA battery, so you can see whether surplus goes into the battery or into your appliances.
  • Zerofy only sees devices in your Shelly Cloud account: a Shelly that was set up only locally, with cloud access switched off, won’t appear until you add it to your account in the Shelly app.

What SMA and Shelly offer on their own

SMA: Other loads are switched through Shelly, AVM FRITZ!DECT, Edimax or Niko smart plugs, and Bosch and Siemens dishwashers and washing machines start via EEBus. With firmware 2.18.14.R the Home Manager also plans loads and battery charging around dynamic electricity prices.

Shelly: In the Shelly Smart Control app, scenes can switch loads when a Shelly Pro 3EM measures export (negative power), e.g. a three-stage heating rod at 1,500, 3,000 and 4,500 W of surplus with a 2-minute validity condition. Shelly notes that load priorities or forecasts need an external control system; plain scenes only react to thresholds.

Directly, without Zerofy: The Sunny Home Manager 2.0 switches Shelly smart plugs (Plug S, Plus Plug S, Plug S Gen3 and others) and Shelly relays such as Shelly 1PM, Plus 1PM and Pro 4PM on surplus and also reads Shelly meters.

Zerofy is the alternative if you want SMA, Shelly and your other devices in one app, with dynamic tariffs and forecast-based Smart mode.

Setting up SMA and Shelly in Zerofy

1. Connect SMA

Zerofy connects to your SMA system through the SMA Sunny Portal cloud, using your Sunny Portal login.

  1. Make sure your SMA inverter is cloud-capable and registered in Sunny Portal.
  2. Add SMA in Zerofy and log in with your Sunny Portal credentials.

Step-by-step guide for SMA

2. Connect Shelly

Zerofy connects to your Shelly Cloud account; it switches plugs and relays on and off, records their power every 5 minutes and lets Autopilot run them on solar surplus or in Smart mode.

  1. Set up new Shelly devices in the Shelly app first.
  2. In Zerofy, open the Shelly section under HVAC and Appliances and enter your Shelly account credentials.
  3. Select the devices you want to use in Zerofy.

Good to know: A Shelly Pro 3EM is added separately in the Meters section; the device list there only shows Shelly Pro EM meters.

Step-by-step guide for Shelly

3. Turn on Autopilot

In Zerofy, open your Shelly plugs and relays, turn on Autopilot and choose Solar – or Smart to also use dynamic tariffs and forecasts. Set the priority, activation threshold and minimum runtime.

Dynamic tariffs

Zerofy can also run your Shelly plugs and relays on dynamic electricity prices (EPEX Spot or Nord Pool, e.g. Tibber or aWATTar) or on a fixed time-of-use tariff. Smart mode combines those prices with forecasts of your household consumption and your SMA solar production.

Learn more about Smart Mode

About SMA and Shelly

SMA – German inverter maker based in Niestetal near Kassel. Homes typically have a Sunny Boy (single-phase) or Sunny Tripower (three-phase) string inverter, or a Sunny Boy Smart Energy (3.6–6 kW) or Sunny Tripower Smart Energy hybrid inverter with the SMA Home Storage battery (3.28 kWh modules, up to 16.4 kWh). Monitoring app: SMA Sunny Portal / SMA Energy app.

Shelly – Shelly Group (formerly Allterco) is a Bulgarian company based in Sofia. It makes Wi-Fi smart plugs, relays for the switch box or DIN rail, and energy meters such as the Shelly Pro 3EM. Products: Shelly Plug S Gen3, Shelly Plus Plug S, Shelly 1PM / Plus 1PM / 1PM Gen3, Shelly Pro 2PM, Shelly Pro 3EM energy meter.

Manufacturer information last checked: October 2026.

All devices that work with SMA

Related integrations

Other smart plugs that work with SMA

myStrom

Solar systems that work with Shelly

Deye Enphase FoxESS Fronius Growatt Hoymiles Huawei SAJ SL Energy SolarEdge Solarman Sungrow TSUN Weiheng

Connect SMA with Shelly today

Start for free. No hardware required. Setup in minutes.

Download Zerofy White-Label for Installers