IoT Architecture Based on ESP32 and AWS Fully Managed Services: Efficient Device-Cloud-APP Interconnection with MQTT + WebSocket

IoT Architecture Based on ESP32 and AWS Fully Managed Services: Efficient Device-Cloud-APP Interconnection with MQTT + WebSocket

Using ESP32 + MQTT (Device to Cloud) + WebSocket (Cloud to APP) architecture, and introducing AWS Serverless + AWS IoT Core. This is a modern, scalable, and low-maintenance IoT architecture choice. Covers low power consumption for devices, optimization of AWS cloud serverless architecture, and IoT Core access design. 1. Overall Architecture Diagram Plain Text [ESP32] … Read more

Getting Started with ESP32: Integrating XiaoZhi AI with MCP

Getting Started with ESP32: Integrating XiaoZhi AI with MCP

Previously, I experimented with controlling an LED display, local server deployment, voice broadcasting, song playback, controlling WS2812 LED strips, custom wake words, and collecting temperature and humidity data; today I will share a simple exploration of MCP from yesterday.; 1. First, let’s take a look at the final implementation effect: 2. Reference Protocol:3. Now let’s … Read more

Lessons Learned from Integrating ESP32 with a Self-Built Backend: OTA Address Configuration

Lessons Learned from Integrating ESP32 with a Self-Built Backend: OTA Address Configuration

1 Project Background I deployed the open-source project XiaoZhi Backend Service (replacing the official service <span>https://xiaozhi.me</span>) in a Windows + WSL2 Ubuntu 22.04 environment using Docker. The deployment success log is as follows: Key Objective: To integrate the self-built service with the ESP32 smart voice hardware, achieving OTA (Over-The-Air) firmware updates and WebSocket communication. 2 … Read more

Comprehensive Guide to Python WebSocket: Master Real-Time Bidirectional Communication with Ease

Comprehensive Guide to Python WebSocket: Master Real-Time Bidirectional Communication with Ease

When developing chat applications, stock market updates, or game servers, real-time performance is a crucial requirement. Traditional HTTP requests are one request and one response, which cannot meet the needs of real-time bidirectional communication. At this point, WebSocket shines. WebSocket is a TCP-based network protocol that allows for persistent connections between clients and servers, enabling … Read more

Complete Guide to Network Protocols: In-Depth Conversations from HTTP Long and Short Connections to TCP-UDP

Complete Guide to Network Protocols: In-Depth Conversations from HTTP Long and Short Connections to TCP-UDP

🌐 Complete Guide to Network Protocols: In-Depth Conversations from HTTP Long and Short Connections to TCP-UDP This article adopts a conversational format, through the Q&A of Xiao Li and Xiao Wang, to explain core concepts such as network protocols and long/short connections in a simple and accessible manner, helping readers establish a complete knowledge system … Read more

Creating an IIS Hosted Handler with C# for Special Requests

Creating an IIS Hosted Handler with C# for Special Requests

In this article, we will create an IIS hosted handler using C# to handle some special requests for our website. This hosted handler can perform various functions, such as preventing hotlinking and downloading of audio, video, and image resources on our site, as well as providing special services like webSocket services. We can write a … Read more

Differences Between WebSocket and HTTP Communication, Usage Scenarios, and WebSocket Code Examples

Differences Between WebSocket and HTTP Communication, Usage Scenarios, and WebSocket Code Examples

🕵️ Reading | Changsha ⭐ Software Engineering ⭐ Bachelor’s Degree 🏠 Work | Guangzhou ⭐ Java Full Stack Developer 🌳 Multiple technical forum expert bloggers, over 110,000 fans online ✈️ Official Account | Country Boy Programming. Reply with Java full video tutorial or front-end full video tutorial to get 300G+ tutorial materials and project practical … Read more

Httpx: The Rising Star of Asynchronous HTTP!

Httpx: The Rising Star of Asynchronous HTTP!

▲ Click the card above to follow me Httpx: The Rising Star of Asynchronous HTTP! In today’s era of high concurrency and high-performance web applications, traditional synchronous HTTP requests are increasingly unable to meet our needs. As a brilliant new star in the Python ecosystem, Httpx is quietly changing the way we handle web requests. … Read more

Comparative Analysis of HTTP, SSE, and WebSocket

Comparative Analysis of HTTP, SSE, and WebSocket

Click the blue text to follow us Currently, large models are quite popular. When we initiate requests on web pages or mobile clients, the communication protocol used is SSE (Server-Sent Events). HTTP and WebSocket are two communication protocols similar to SSE. These three different network communication protocols are suitable for different scenarios, and here we … Read more

Everyone Needs an HTTP Proxy for Debugging

Everyone Needs an HTTP Proxy for Debugging

Introduction This article introduces how front-end engineers can use HTTP proxies for debugging, going beyond the limitations of DevTools. Today’s front-end reading is shared by @huli. The main content starts here~~ As a front-end engineer who deals with web pages daily, it is quite reasonable to be familiar with the use of DevTools. Whenever there … Read more