Projection, Signage & Smart Home

Shelly Smart Home Control Software BETA

Controls Shelly smart home devices from within Fantago. Supports the full Shelly product range: switches, dimmers, RGB/RGBW LED controllers, roller shutters, and power monitoring devices.

Handlers run inside Fantago — the file is a plugin, not a standalone program. Start with the free 60-day trial.

How to connect Shelly Smart Home to Fantago

  1. Open the Fantago Dashboard and click Add Device.
  2. Pick the Shelly Smart Home handler from the device type list (internal id shelly).
  3. Enter the IP address of your Shelly Smart Home, then set protocol HTTP / WebSocket RPC and port 80.
  4. Save and connect. Fantago starts polling the device and publishes its feedback variables, ready to use in panels, sequences and logic flows.
  5. Drag the actions below onto a panel button, a Stream Deck key, a schedule or a logic flow node.
Shelly Smart Home handler specifications
ProtocolHTTP / WebSocket RPC
Default port80
Handler version1.0.0 (Beta)
AuthorFantago Bridge
Internal IDshelly

Description & Instructions

Controls Shelly smart home devices from within Fantago. Supports the full Shelly product range: switches, dimmers, RGB/RGBW LED controllers, roller shutters, and power monitoring devices.

Generation auto-detection: the handler connects to the device IP and automatically identifies whether it is a Gen1 device (HTTP polling) or a Gen2/Gen3 device (WebSocket RPC with real-time push feedback). No manual configuration required.

Gen1 devices (Shelly 1, 2.5, Plug, RGBW2, EM…): controlled via HTTP REST, status polled at configurable interval (default 2000 ms).
Gen2/Gen3 devices (Shelly Plus, Pro, Mini series…): controlled via WebSocket RPC. The device pushes NotifyStatus events to Fantago in real time — variables are updated instantly on any physical or remote state change, with no polling overhead.

Optional fields (Handler Params):
  • username / password — only if authentication is enabled on the Shelly device
  • poll_interval — Gen1 only, polling interval in ms (default: 2000)

Supported Device Types & Actions

CategoryActions
Switch / Relayswitch_on, switch_off, switch_toggle
Light / Dimmerlight_on, light_off, light_toggle, light_brightness, light_color_temp
RGB / LED Striprgb_on, rgb_off, rgb_toggle, rgb_set_color, rgb_adjust (hold-to-repeat)
Cover / Roller Shuttercover_open, cover_close, cover_stop, cover_set_pos
Power Monitoringreset_energy (Switch PM, PM1, EM, EM1)
Systemconnect, refresh, reboot
The rgb_adjust action supports hold-to-repeat: holding the button continuously increments or decrements the selected colour channel (R/G/B/W or Brightness) until released. Useful for building colour-mixing panels with +/− buttons.

Command Integration Guide

Replace <fantago> with your Fantago IP and <port> with the HTTP API port (default 3001). Examples use device name SHELLY_LAMP.

Switch / Relay

ActionHTTP GETTCP / UDP
Turn on relay 0/sendTo/SHELLY_LAMP?cmd=switch_on&id=0SHELLY_LAMP:switch_on&id=0
Turn off relay 0/sendTo/SHELLY_LAMP?cmd=switch_off&id=0SHELLY_LAMP:switch_off&id=0
Toggle relay 1/sendTo/SHELLY_LAMP?cmd=switch_toggle&id=1SHELLY_LAMP:switch_toggle&id=1

Light / Dimmer

ActionHTTP GETTCP / UDP
Turn on light/sendTo/SHELLY_LAMP?cmd=light_on&id=0SHELLY_LAMP:light_on&id=0
Set brightness 75%/sendTo/SHELLY_LAMP?cmd=light_brightness&id=0&brightness=75SHELLY_LAMP:light_brightness&id=0&brightness=75
Set color temp 3200 K/sendTo/SHELLY_LAMP?cmd=light_color_temp&id=0&temp=3200SHELLY_LAMP:light_color_temp&id=0&temp=3200

RGB / LED Strip

ActionHTTP GETTCP / UDP
Set color (R/G/B/W + brightness)/sendTo/SHELLY_LAMP?cmd=rgb_set_color&id=0&red=255&green=0&blue=0&white=0&gain=100SHELLY_LAMP:rgb_set_color&id=0&red=255&green=0&blue=0&white=0&gain=100
Increase red by 10/sendTo/SHELLY_LAMP?cmd=rgb_adjust&id=0&channel=red&delta=10SHELLY_LAMP:rgb_adjust&id=0&channel=red&delta=10
Decrease brightness by 5/sendTo/SHELLY_LAMP?cmd=rgb_adjust&id=0&channel=brightness&delta=-5SHELLY_LAMP:rgb_adjust&id=0&channel=brightness&delta=-5

Cover / Roller Shutter

ActionHTTP GETTCP / UDP
Open/sendTo/SHELLY_LAMP?cmd=cover_open&id=0SHELLY_LAMP:cover_open&id=0
Go to position 40%/sendTo/SHELLY_LAMP?cmd=cover_set_pos&id=0&pos=40SHELLY_LAMP:cover_set_pos&id=0&pos=40
Stop/sendTo/SHELLY_LAMP?cmd=cover_stop&id=0SHELLY_LAMP:cover_stop&id=0

Power Monitoring & System

ActionHTTP GETTCP / UDP
Reset energy counter/sendTo/SHELLY_LAMP?cmd=reset_energy&id=0SHELLY_LAMP:reset_energy&id=0
Force status refresh/sendTo/SHELLY_LAMP?cmd=refreshSHELLY_LAMP:refresh
Reboot device/sendTo/SHELLY_LAMP?cmd=rebootSHELLY_LAMP:reboot

Variables written to system panel (prefix = sanitized device name)

VariableDescription
DEVICE_connectedConnection state (true/false)
DEVICE_genDetected generation (1, 2 or 3)
DEVICE_modelDevice model string
Switch / Relay — Shelly 1, 2.5, Plug S, Plus 1PM, Pro 4PM…
DEVICE_switch_0_outputRelay state (true / false)
DEVICE_switch_0_apowerActive power in W
DEVICE_switch_0_voltage / _current / _pf / _freq / _energyFull PM data (Gen2)
Light / Dimmer — Shelly Dimmer, Bulb, Duo…
DEVICE_light_0_outputLight state (true / false)
DEVICE_light_0_brightnessBrightness 0–100
DEVICE_light_0_ctColor temperature in K (Gen2) or 0–100 (Gen1)
RGB / LED — Shelly RGBW2, Plus RGBW PM…
DEVICE_rgb_0_outputOutput state (true / false)
DEVICE_rgb_0_red / _green / _blueColor channels 0–255
DEVICE_rgb_0_brightnessMaster brightness 0–100
DEVICE_rgbw_0_whiteWhite channel 0–255 (RGBW devices)
Cover / Roller — Shelly 2.5 roller mode, Plus 2PM…
DEVICE_cover_0_stateopen / closed / opening / closing / stopped
DEVICE_cover_0_posCurrent position 0–100 %
Power Meters — Shelly PM Mini, Pro PM, Pro EM-50
DEVICE_pm1_0_apower / _voltage / _current / _pf / _freq / _energyFull PM data
3-phase Energy Meter — Shelly Pro 3EM
DEVICE_em_0_a_apower / _b_apower / _c_apowerActive power per phase in W
DEVICE_em_0_total_apowerTotal active power (all 3 phases)
DEVICE_em_0_energy / _energy_returnedTotal / returned energy in Wh (solar)
Sensors
DEVICE_input_0_stateDigital input (true / false)
DEVICE_temperature_0_tcTemperature in °C
DEVICE_humidity_0_rhHumidity in %

Use channel index (0, 1, 2…) for multi-channel devices. The id parameter defaults to 0 if omitted.

Shelly Smart Home control — frequently asked questions

Does Fantago support Shelly Smart Home?

Yes. Fantago includes a ready-made Shelly Smart Home handler (version 1.0.0 (Beta)) that talks to the device over HTTP / WebSocket RPC, default port 80. It is bundled with every licence and with the 60-day free trial — there is no per-device fee.

What protocol does the Shelly Smart Home handler use?

HTTP / WebSocket RPC, default port 80. Fantago connects straight to the device over your production network, so no gateway, middleware or vendor software is needed in between.

Can I control Shelly Smart Home from a Stream Deck?

Yes. Every Shelly Smart Home action can be mapped to an Elgato Stream Deck key, to a button on a custom Fantago touch panel, to a timed schedule, or to a logic flow triggered by another device — including devices from a different manufacturer.

Can I modify the Shelly Smart Home handler?

Yes. The handler is a plain JavaScript file (shelly.js) that you can download from this page, edit and drop back into Fantago. You can also write your own handler from scratch — see the Developer Guide.

Control Shelly Smart Home from a single interface

Fantago drives Shelly Smart Home alongside 50+ other broadcast, lighting, audio and smart home devices — from custom touch panels, an Elgato Stream Deck, a schedule or a logic flow. One-time licence, no subscription, runs offline.

Try free for 60 days Buy Pro — € 99 one-time

← All 55 device handlers