Skip to content

A C++ library for ESP32 and ESP8266 boards, allows to quickly develop applications embedding an asynchronous HTTP server and an asynchronous Domoticz MQTT client

License

Notifications You must be signed in to change notification settings

gerald-guiony/ESPWiFiServersExtension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESPWiFiServersExtension

Release

ESP8266 ESP32

ESPWiFiServersExtension is a C++ library, compatible with ESP32 and ESP8266 boards, allows you to quickly develop applications embedding an asynchronous HTTP server and/or an asynchronous Domoticz MQTT client. This library also offers several ways to debug your sketches.

Under construction : AWS IoT Core MQTT client

Getting started

To use ESPWiFiServersExtension, you will need:

  • An ESP8266 or ESP32 board
  • The Arduino IDE configured for ESP8266 or ESP32 (version 2.3.2 or later)
  • A basic understanding of the Arduino environment (e.g., uploading sketches, importing libraries, etc.)

Installing ESPWiFiServersExtension

  1. Download the latest master source code as a .zip file
  2. In the Arduino IDE, import the .zip file by navigating to Sketch → Include Library → Add .ZIP Library

Prerequisites

To use this library, you must have:

Debug all your sketches remotely with Telnet

This library allows you to perform remote debugging via Telnet in a basic terminal:

telnet [IP address of your Esp]

Settings in Domoticz

Debugging commands are also available; type 'h' to display the list of commands:

Settings in Domoticz

Administrative JSON requests

In this library, you can access JSON administrative requests for your ESP. Refer to this source file for more details:

HttpAdminCommandRequestHandler.cpp

http:://[IP address of your Esp]/admin/help

Admin commands

Examples

  1. Remotely control an electrical relay: RelayRemoteControl
  2. Device waking up from standby mode: RemoteDeviceStatus
  3. Universal InfraRed remote control: IrRemoteControl

About

A C++ library for ESP32 and ESP8266 boards, allows to quickly develop applications embedding an asynchronous HTTP server and an asynchronous Domoticz MQTT client

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages