Skip to content

New Share your ideas with the AWTRIX community. Keep your creations together in your account.

Sign in

Which AWTRIX do you have? Choose it once and the Hub shows what runs on it.

ScriptAWTRIX NG

Shelly 3EM Power (Gen1)

On an AWTRIX display
Shelly 3EM Power (Gen1) shown on an AWTRIX display
Shelly 3EM Power (Gen1) · by Fukkel

On your display

Live Power Display for Shelly3EM (Gen1)

Which AWTRIX do you have? See below where it runs, or choose your device.
Topic
Miscellaneous
Includes
Script

Runs on

  • Runs on 32×8 (TC001 & DIY)
  • Runs on 52×16 (TC002)
  • Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.

Choose your display in the next step.

Send to AWTRIX

Choose your AWTRIX

Shelly 3EM Power (Gen1)AWTRIX NG script

Install this script on your AWTRIX NG. Its icons and sounds are installed with it.

Your AWTRIX’s local address, for example 192.168.178.39 or awtrix.local.

The name shown in your AWTRIX script list. Use letters, digits, hyphens or underscores.

Connection & device login

Connect your phone or computer to the same network as your AWTRIX. Allow local network access if your browser asks.

Use the device’s IP address, without a page path such as /#/apps.

If your AWTRIX requires a login, the username and password fields will appear when you connect.

Sign in to the Hub to install scripts. Attached files are installed separately.

Is this your script?

If you created this script, open your saved edit link to add it to your account. You can then manage it whenever you sign in. Adding it to your account replaces the edit link.

Script description

Shelly 3EM Power (Gen1)

Live power display with:

  • Color-coded levels
  • Power bar
  • Overload alert
  • Daily/Previous-Day Energy Tracking
  • Configurable threshold below which the App stays hidden.

!!! IMPORTANT !!!
The script is only compatible with a Shelly3M Gen1 / tested.
From Shelly 3EM Gen2/Pro, the API query has changed.
Since I do not have a Gen2 or Pro hardware available.
So i can not modify or adjust the script at the moment.

Shelly 3EM Power (Gen1)

Displays live active power from a Shelly 3EM (Gen1) via its local API, no cloud required. The value is shown in Watts (or kW for larger values) with a color that shifts from blue through green, yellow, and orange to red as power rises through two configurable thresholds. A brightness-scaled bar along the bottom edge visualizes power relative to a configurable maximum, and an icon (custom or a built-in lightning bolt) is shown alongside the reading.

An optional overload threshold triggers a blinking red warning when power exceeds it, with a short debounce/inrush delay to avoid false alarms from brief startup spikes. If the connection to the Shelly fails repeatedly, the display shows an "IP?" warning; if data becomes stale, a small red indicator appears in the corner.

Pressing the select button cycles through three views: current power, today's energy consumption, and yesterday's energy consumption (both in Wh/kWh), calculated from the three phase energy meters with automatic handling of daily rollover and meter resets.

A configurable "minimum power" threshold lets the app stay out of the display rotation entirely while power is below it, so a clock or other apps aren't interrupted by a near-zero reading — the app only reappears once power rises above that level.

More scripts in Miscellaneous

Something wrong with this script? Report it.