You are using staging server - a separate instance of the ESP Component Registry that allows you to try distribution tools and processes without affecting the real registry.

basic

Example of the component blynk/edgent v0.9.0-beta.4
# Blynk Edgent ESP-IDF Example

This example demonstrates how to integrate **Blynk Edgent** with **ESP-IDF**, quickly provision and connect device to **Blynk Cloud**.

The application shows how to:

- Initialize **Blynk Edgent**
- Handle device **state change events**
- Receive **downlink messages**
- Send **datastream updates**
- Use a **boot button** for configuration and reset

---

# Supported Targets

| Target | Boot Button GPIO |
|------|------|
| ESP32 | GPIO0 |
| ESP32-S3 | GPIO0 |
| ESP32-C2 | GPIO9 |
| ESP32-C3 | GPIO9 |
| ESP32-C5 | GPIO9 |
| ESP32-C6 | GPIO9 |

---

# Button Actions

The boot button is used to control device provisioning.

| Action | Result |
|------|------|
| Double click | Start configuration mode |
| Long press (5 seconds) | Reset device configuration |

---

# Requirements

- **ESP-IDF ≥ 5.1**
- Blynk Cloud account
- Device Template created in Blynk Console

ESP-IDF installation guide:

https://docs.espressif.com/projects/esp-idf

---

## Configure Blynk Template

Set your Blynk template information using **menuconfig** under **Component config → Blynk.Edgent**.

To create a project from this example, run:

idf.py create-project-from-example "blynk/edgent=0.9.0-beta.4:basic"

or download archive (~3.82 KB)