Smart automation recipes for Shelly devices

A practical IoT cookbook with ShellyScript examples, smart home automation ideas, sensors, energy control and Home Assistant integrations.

What you'll find

💡 Lighting

Automate lights using motion sensors, schedules and presence detection.

📡 Sensors

React to motion, doors, temperature and environmental changes.

⚡ Energy

Monitor consumption, reduce waste and protect electrical devices.

🤖 Automation

Connect Shelly with APIs, MQTT, Home Assistant and external services.

Example recipe

// Motion-based automatic light if (motion.detected) { Shelly.call("Switch.Set", { id: 0, on: true }); Timer.set(300000, false, function () { Shelly.call("Switch.Set", { id: 0, on: false }); }); }

About this project

Shelly Recipes is a curated collection of automation patterns designed to simplify smart home development using Shelly devices and ShellyScript.