Automate Your World with Shelly Scripts

Welcome to the Shelly Scripts Knowledge Base, your go-to hub for smart home automation scripts. Whether you're a DIY enthusiast, installer, or professional, our collection of ready-to-use scripts will help you unlock new functionalities for your Shelly devices.

Explore the Power of Scripting

Shelly devices offer unparalleled flexibility, thanks to built-in scripting capabilities. With our easy-to-follow tutorials and examples, you can enhance automation, integrate with third-party services, and create custom triggers for smart homes, business & businesses and industrial automations enhancements.

Get Started with Shelly Scripts in 6 Easy Steps

embedded web interface

Step 1: Create an Empty Script

  1. Open the Web interface of your Shelly device and navigate to the Scripts menu. Your device Web interface is accessible through its IP address - just click on it in Shelly Cloud App or type it in your browser.
  2. Click Add Script.
Shelly Cloud App

Step 1: Create an Empty Script

  1. Open the Shelly Cloud App in web -> pick your Shelly device and navigate to the Scripts menu (curly braces icon).
  2. Click Add Script.
SHELLY CLOUD APP

Step 2: Upload and Run Your Script

  1. Write or Copy your automation script in the embedded Shelly code editor, name it (e.g., my_idle_alert_script), and click Save.
  2. After saving, you will have the option to Run the script.

Scripts Library