Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Load shedding is the intentional, temporary reduction of electrical power supply to certain appliances and/or circuits. This is done to reduce electrical consumption and is a cost saving measure. Load shedding helps to balance supply and demand, ensuring the stability of the overall electrical system during times of high demand or when there are issues with power generation.

AdobeStock_608968611.jpeg

Load Shedding with Webhooks:

Using webhooks with the Shelly Pro 3EM and various other Shelly relays to accomplish load shedding involves creating a system where you can dynamically control and shed loads based on certain conditions, such as high energy consumption or demand.

Prerequisites

Info

These devices will be used to gather the consumption data required for load shedding

PM devices can be used to gather additional consumption data and control circuits during shedding.

image-20240528-143349.png
Info

These devices will be used to control various loads during shedding.

Steps to Setting up Load Shedding using Webhooks

1. Setting Up Shelly Pro 3EM

Wire and Configure the Pro 3EM

  1. Install and Configure: Install the Pro 3EM per the diagram below to monitor the energy consumption of the entire home.

Info

In scenarios where CT-B is not used, it is advised to repurpose it to cover Neutral. This requires recalibrating in the device’s settings.

Info

Standard split single phase electrical systems in North America will only use CT-A and CT-C to cover incoming feeds.

Note: Shelly Pro 3EM must use the C terminal connection to power the meter’s microcontroller, so CT C must always be used. Either CT A and CT B can be used for the other phase.

image-20240528-153746.png

Note

Terminal C must be connected to line voltage to power the microcontroller of the Pro 3EM.

Legend

Terminals

Cables

A

Phase A input

LA

Phase A live (110-240 V) cable

B

Phase B input

LB

Phase B live (110-240 V) cable

C

Phase C and power supply input

LC

Phase C live (110-240 V) cable

N

Neutral terminal

L

Mono-phase live (110-240 V) cable

IA

Phase A current transformer input

N

Neutral cable

IB

Phase B current transformer input

Current transformers

IC

Phase C current transformer input

CTA

Phase A current transformer

IN

Neutral current transformer input

CTB

Phase B current transformer

CTC

Phase C current transformer

CTN

Neutral current transformer

  1. Connect to Network: Using Shelly Smart Control, connect the Pro 3EM to your network.

Info

Shelly Pro 3EM supports both Wi-Fi and Ethernet

AdobeStock_708252872.jpeg
AdobeStock_705084752.jpeg

  1. Shelly Cloud (optional): Add Shelly Pro 3EM to a Shelly Cloud account for remote access.

2. Set Up Additional Shelly Relays

  1. Install Shelly Relays: Install Shelly relays to control the specific loads you want to manage.

Info

Product Specific installation information can be found at the Knowledgebase

  1. Connect to Network: Using Shelly Smart Control, connect the Pro 3EM to your network.

Info

Shelly Pro 3EM supports both Wi-Fi and Ethernet

AdobeStock_708252872.jpeg
AdobeStock_705084752.jpeg

  1. Shelly Cloud (optional): Add Shelly Pro 3EM to a Shelly Cloud account for remote access.

3. Create Load Shedding Logic

  1. Define Thresholds: Decide the energy consumption thresholds at which you want to shed loads.

4.jpeg

AdobeStock_482065400.png

  1. Configure Actions:

    1. In the Shelly Cloud app, create actions based on the consumption thresholds.

    2. For each threshold, set up a webhook to trigger the corresponding Shelly relay.

Info

Example: If consumption exceeds a certain value, send a webhook to turn off non-essential loads.

4. Implement Webhooks

  1. Identify Webhook URLs: Each Shelly relay will have a unique URL for triggering actions. These URLs start with the Device IP Address which can be found in Device Settings

Info

Example URL to turn off a relay: http://<shelly_ip>/relay/0?turn=off

  1. Configure Shelly Pro 3EM:

    1. In the Shelly Pro 3EM settings, go to the "Actions" section.

    2. Set up actions to send HTTP requests (webhooks) when the energy consumption crosses the defined thresholds.

Info

Example: If consumption > 5000W, send a webhook to http://relay_ip/relay/0?turn=off

4.jpeg

5.jpeg

Note

Shelly relay channels follow base 0 numbering logic. This means that numbering starts at 0 versus 1.

Example

  • Shelly Plus 1PM: Has a single channel, numbered as Channel 0.

  • Shelly Pro 2: Features two channels, numbered as Channel 0 and Channel 1.

  • Shelly Pro 4PM: Contains four channels, numbered from Channel 0 to Channel 3.

5. System Testing

  1. Simulate High Load: Increase the load to trigger the thresholds.

  2. Verify Actions: Check if the webhooks are triggered and if the relays respond accordingly by shedding the loads.

IMG_1DD4F941632D-1.jpeg

Info

Adjust Settings: After a satisfactory system test setting should be fine-tuned in regard to the thresholds and actions based on your requirements.

Example Configuration

  • Webhook to Turn Off Load:

Code Block
URL: http://192.168.33.1/relay/0?turn-off
Method: GET
Note

Shelly relay channels follow base 0 numbering logic. This means that numbering starts at 0 versus 1.

Example

  • Shelly Plus 1PM: Has a single channel, numbered as Channel 0.

  • Shelly Pro 2: Features two channels, numbered as Channel 0 and Channel 1.

  • Shelly Pro 4PM: Contains four channels, numbered from Channel 0 to Channel 3.

  • Shelly Pro 3EM Action:

    • Condition: Energy Consumption > 5000W

    • Action: Send GET request to http://192.168.1.50/relay/0?turn=off

6.jpeg

image-20240528-164510.png

By following these steps, you can effectively use webhooks with Shelly Pro 3EM and various Shelly relays to implement load shedding, helping to manage and reduce energy consumption dynamically.