Skip to content

Commit 5cc99d8

Browse files
chshuf-hollow
authored andcommitted
blog: add the rainmaker over thread solution post
1 parent a290770 commit 5cc99d8

File tree

4 files changed

+112
-0
lines changed

4 files changed

+112
-0
lines changed
29.8 KB
Loading
77.4 KB
Loading
52.9 KB
Loading
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
---
2+
title: "Espressif RainMaker over Thread Solution"
3+
date: 2025-02-19
4+
showAuthor: false
5+
authors:
6+
- shu-chen
7+
tags:
8+
- RainMaker
9+
- Thread
10+
- IoT
11+
---
12+
13+
[ESP RainMaker](https://developer.espressif.com/blog/esp-rainmaker/) is complete-yet-customizable IoT cloud platform software based on AWS Serverless architecture that simplifies the development of connected devices by providing device control and device management features. ESP RainMaker can be deployed in customers' own AWS accounts to achieve full autonomy and control for rapid development.
14+
15+
[Thread](https://threadgroup.org/), based on 802.15.4, is a low-power, secure, IP-based mesh networking protocol for IoT devices. It offers a secure, reliable, and scalable solution for connecting devices, enabling direct communication with each other and the Internet.
16+
17+
## Introduction
18+
19+
Traditionally, Wi-Fi and Cellular IoT devices have relied on direct cloud connectivity to achieve autonomy in operation. With the IP capabilities of Thread networks and the evolution of Thread Border Routers enabling Internet connectivity, Thread-based devices can now achieve the same level of seamless, direct cloud communication.
20+
21+
Being in the best position to offer such a comprehensive solution, we at Espressif are excited to announce the **ESP RainMaker over Thread solution**. Integrating ESP RainMaker with Thread, the solution includes a [device-agent SDK](https://github.com/espressif/esp-rainmaker/) for both RainMaker over Thread devices and the Thread Border Router, a transparent cloud application, and [iOS](https://apps.apple.com/us/app/esp-rainmaker/id1497491540)/[Android](https://play.google.com/store/apps/details?id=com.espressif.rainmaker&hl=en_IN) phone apps.
22+
23+
The typical ESP RainMaker topology is shown below:
24+
25+
{{< figure
26+
default=true
27+
src="img/rainmaker-topology.webp"
28+
alt=""
29+
caption=""
30+
>}}
31+
32+
## Why ESP RainMaker over Thread
33+
34+
With the **ESP RainMaker over Thread** solution, customers can deploy various AIoT applications, such as:
35+
36+
- **Large-scale networking:** Supports up to 300 devices in a single network, with the ability to accommodate multiple networks within a deployment.
37+
- **Wide-range deployment:** Multi-hop mesh networks can cover areas spanning several kilometers.
38+
- **Ultra-low power device:** Battery-powered sensors can operate for several years.
39+
40+
Additional benefits of using ESP RainMaker over Thread devices are:
41+
42+
- Direct point-to-point communication with the cloud, enabling direct remote control and device management such as cloud-based fleet management and OTA.
43+
- Easy and secure network configuration with local and remote device control using phone apps.
44+
- Compatibility with any Thread Border Routers that support NAT64, such as Apple HomePod and [Espressif's Thread Border Router solution](https://developer.espressif.com/blog/espressif-thread-border-router/).
45+
- Supports a wide range of [smart home device types](https://rainmaker.espressif.com/docs/standard-types/#devices), enabling rapid productization of Thread-based products.
46+
47+
Thread device provisioning and control in the ESP RainMaker app:
48+
49+
{{< figure
50+
default=true
51+
src="img/rainmaker-thread-app.webp"
52+
alt=""
53+
caption=""
54+
>}}
55+
56+
## Feature Details
57+
58+
In addition to the existing **ESP RainMaker over Wi-Fi** solution, **ESP RainMaker over Thread** facilitated the introduction of several new features covered in the sections below.
59+
60+
### Network Provisioning
61+
62+
The new [Network Provisioning](https://components.espressif.com/components/espressif/network_provisioning) component is an enhanced version of [Wi-Fi Provisioning](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/provisioning/wifi_provisioning.html) and now supports both Wi-Fi and Thread network provisioning:
63+
64+
- Provision Wi-Fi credentials via SoftAP or Bluetooth LE
65+
- Provision Thread credentials via Bluetooth LE
66+
67+
### Thread Border Router Management
68+
69+
A new device type in the ESP RainMaker ecosystem is based on the [ESP Thread Border Router](https://developer.espressif.com/blog/espressif-thread-border-router/), which supports the latest Thread 1.4 version:
70+
71+
- Bi-directional IPv6 connectivity
72+
- Service Discovery
73+
- Multicast Forwarding
74+
- NAT64
75+
- Credential Sharing
76+
- TREL (Thread Radio Encapsulation Link)
77+
78+
ESP RainMaker over Thread devices can communicate with other devices on the local network and the cloud through the Thread Border Router.
79+
80+
### Large Scale Deployment
81+
82+
Thread, based on 802.15.4 as the underlying PHY and MAC layer, has bandwidth limitations that can pose challenges in large-scale deployments. For example, if too many devices within the same network attempt to generate heavy traffic—such as establishing TLS sessions with the cloud or performing OTA updates simultaneously—it can impact network connectivity and stability.
83+
84+
To ensure uninterrupted Thread communication for telemetry reporting and device control, we have implemented several solutions:
85+
86+
- Traffic Control
87+
88+
A central device (typically the Thread BR) regulates the maximum number of devices allowed to establish TLS sessions with the cloud simultaneously.
89+
90+
- OTA Optimization
91+
92+
The number of simultaneous OTA sessions in a given environment needs to be limited. ESP RainMaker implements the logic to ensure managed OTA delivery to Thread devices in the environment even when devices span multiple Thread networks. When a new firmware version is available in the cloud, instead of pushing OTA notifications to all devices simultaneously, we introduced a query mechanism. This allows the cloud service to control the maximum number of parallel OTA sessions within a single network, ensuring a smoother update process.
93+
94+
### Group Control
95+
96+
Multicast-based group control is supported for Thread devices, making it highly effective for managing large groups. For example, in a use case with 50 devices in a group, multicast control significantly reduces latency by eliminating the need to send 50 individual unicast messages.
97+
98+
### ESP RainMaker Apps
99+
100+
Both the Android and iOS ESP RainMaker apps have been updated to support the new Network Provisioning feature and the Thread Border Router device type. They can be used to set up and manage ESP RainMaker Thread Border Routers and ESP RainMaker over Thread devices.
101+
102+
## Other Useful Links
103+
104+
- [Espressif RainMaker](https://rainmaker.espressif.com/)
105+
- [Espressif Thread Border Router](https://docs.espressif.com/projects/esp-thread-br)
106+
- [Espressif 300x Thread Nodes Demo](https://www.youtube.com/watch?v=0WXcu_r_lvQ)
107+
108+
If you are interested in our ESP RainMaker over Thread solution, please contact our [customer support team](https://www.espressif.com/en/contact-us/sales-questions).
109+
110+
<div style="font-size: 0.8em; color: #888; margin-top: 2em;">
111+
Apple and HomePod are trademarks of Apple Inc., registered in the U.S. and other countries and regions.
112+
</div>

0 commit comments

Comments
 (0)