🚀 v0.1.0 — Now Available

Control Your Home Smarter With Yarana

Simple smart home control for ESP32 relay devices, BLE provisioning, MQTT cloud control, scenes and schedules.

Made for Indian homes and installers.

📶 BLE + MQTT Hybrid 🔐 JWT Secured API ⚡ ESP32 Firmware 🏠 Made for India
Yarana Home ● Online
🏠 Living Room · 4-Ch Relay
💡 Light
ON
🌀 Fan
ON
🔌 Plug
OFF
❄️ AC
OFF
🛏 Bedroom · 4-Ch Relay
💡 Light
OFF
🌀 Fan
ON
🔌 Lamp
OFF
❄️ AC
OFF
BLE Connected
MQTT Online
4 Relays Active
32+
Relay Channels Supported
2 Modes
BLE Offline + Cloud MQTT
<150ms
BLE Relay Response Time
100% Free
Android App (Personal Use)

Everything You Need for Smart Home Control

One app, one board, one backend — BLE, WiFi, and cloud MQTT unified.

📶

BLE provisioning

Add ESP32 devices from the Android app without hardcoding WiFi credentials.

📶

BLE provisioning

Add ESP32 devices from the Android app without hardcoding WiFi credentials.

☁️

MQTT cloud control

Control devices remotely through your selected MQTT broker.

☁️

MQTT cloud control

Control devices remotely through your selected MQTT broker.

✅

4 and 8 channel relay

Safe GPIO maps for 4-channel and 8-channel relay boards.

✅

4 and 8 channel relay

Safe GPIO maps for 4-channel and 8-channel relay boards.

✅

Scenes and schedules

Create one-tap scenes, timers and weekly schedules.

✅

Scenes and schedules

Create one-tap scenes, timers and weekly schedules.

Up and Running in Under 5 Minutes

From unboxing to controlling relays from anywhere — faster than you'd expect.

1
✅

Install app

Install Yarana Smart Home on Android.

1
✅

Install app

Install Yarana Smart Home on Android.

2
📶

Add device

Scan nearby YARANA_ devices over BLE.

2
📶

Add device

Scan nearby YARANA_ devices over BLE.

3
📡

Provision WiFi

Send WiFi and MQTT settings securely to ESP32.

3
📡

Provision WiFi

Send WiFi and MQTT settings securely to ESP32.

4
✅

Control and automate

Use relays, scenes and schedules from anywhere.

4
✅

Control and automate

Use relays, scenes and schedules from anywhere.

GPIO Pin Maps for Relay Modules

Safe, compile-time validated GPIO assignments via the YARANA_SET_RELAY_PIN macro.

⚙️ 4-Channel Relay Module

RelayGPIOLabel
Relay 1GPIO 32Light / Switch 1
Relay 2GPIO 26Fan / Switch 2
Relay 3GPIO 27Plug / Switch 3
Relay 4GPIO 14AC / Switch 4
Status LEDGPIO 2System reserved

⚙️ 8-Channel Relay Module

RelayGPIOLabel
Relay 1–432, 26, 27, 14Same as 4-Ch
Relay 5GPIO 25Switch 5
Relay 6GPIO 33Switch 6
Relay 7GPIO 16Switch 7
Relay 8GPIO 17Switch 8

⚠️ GPIO Safety Rules

  • GPIO 2 — Reserved for status LED. Blocked by the YARANA_SET_RELAY_PIN macro at compile time.
  • GPIO 0, 12, 15 — Strapping pins. Avoid as relay outputs.
  • GPIO 6–11 — Internal flash. Never use.
  • GPIO 34–39 — Input-only. Cannot drive relays.
  • Set relayActiveLow = true in your config for standard active-low relay modules.

The YaranaSmartHome Library

Import the library, configure your relay pins, and call yarana.begin() — that's it.

📥 Installation

In Arduino IDE go to Sketch → Include Library → Add .ZIP Library and select the downloaded ZIP.

Or use PlatformIO: add https://github.com/yaranaiotguru/YaranaSmartHome to your lib_deps.

📦 Download ZIP 📖 Read Docs

💻 Quick Start (4-Channel)

#include <YaranaSmartHome.h>

YaranaSmartHome yarana;

void setup() {
    YARANA_BEGIN_4CH(yarana, 32, 26, 27, 14);
}

void loop() { yarana.loop(); }

Frequently Asked Questions

Do I need internet? ▼

BLE works locally. MQTT is required for remote control.

Do I need internet? ▼

BLE works locally. MQTT is required for remote control.

Can I use my own relay pins? ▼

Yes. The Arduino library lets users define pins and blocks unsafe GPIO2 for relay use.

Can I use my own relay pins? ▼

Yes. The Arduino library lets users define pins and blocks unsafe GPIO2 for relay use.

Which broker is supported? ▼

Mosquitto, EMQX, HiveMQ and custom MQTT brokers are supported.

Which broker is supported? ▼

Mosquitto and custom MQTT brokers are supported.

Get in Touch or Become a Dealer

Let's Talk Smart Home

Have questions, need a demo, or want installer / dealer pricing? Drop us a message — we respond within 24 hours.

🗺️
India