1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-10-31 22:10:54 +00:00
A mirror of my github repo
Go to file
2017-10-19 22:31:03 +02:00
docs Updating images 2017-10-19 22:25:37 +02:00
examples/gui rename example 2017-10-19 17:41:21 +02:00
src Refactoring to ESPUI 2017-10-19 17:43:39 +02:00
.gitignore Update .gitignore 2017-10-19 22:29:29 +02:00
keywords.txt Updated to V0.6 2017-05-20 05:02:31 +05:30
library.json Update library.json 2017-10-19 22:31:03 +02:00
library.properties Updated to V0.6 2017-05-20 05:06:30 +05:30
LICENSE Update LICENSE 2017-10-19 22:27:06 +02:00
README.md Updating images 2017-10-19 22:25:37 +02:00

ESPUI

ESPUI Controlpad ESPUI Switch

ESPUI is a simple library to make a web user interface for your projects using the ESP32 It uses web sockets and lets you create, control, and update elements on your GUI through multiple devices like phones and tablets.

ESPUI uses simple Arduino-style syntax for creating a solid, functioning user interface without too much boilerplate code.

So if you either don't know how or just don't want to waste time: this is your simple solution user interface without the need of internet connectivity or any additional servers.

I completely rewrote the EasyUI Library created by ayushsharma82 Here Now it uses ESPAsyncWebserver and is mainly to be used with the ESP32 Processor. ESP8266 support will be interesting maybe in the future.

Getting started (Filesystem upload)

ESPUI NEEDS its files burnt on the SPIFFS filesystem on the ESP. Without this ESPUI will NOT work at all

To do this download and install me-no-devs wonderful ESP32 sketch data uploader

Then open the example sketch and select "ESP32 Upload Sketch Data" from the Tools menu. Now you are set to go and use any code you want to with this library

How to Install

Directly Through Arduino IDE

THIS IS NOT DONE YET Go to Sketch > Include Library > Library Manager > Search for "EasyUI" > Install

Manual Install

For Windows: Download the Repository and extract the .zip in Documents>Arduino>Libraries>{Place "ESPUI" folder Here}

For Linux: Download the Repository and extract the .zip in Sketchbook/Libraries/{Place "ESPUI" folder Here}

For macOs: Download the Repository and extract the .zip in ~/Documents/Arduino/libraries/{Place "ESPUI" folder Here}

Manually through IDE

Download the Repository, Go to Sketch>Include Library>Add .zip Library> Select the Downloaded .zip File.

Dependencies

This library is dependent on the following libraries to function properly.

User interface Elements

  • Label (updateable)
  • Button
  • Switch (updateable)
  • Control pad
  • Control pad with center button

Checkout the example for the usage

Roadmap :

  • refactor id system
  • make button colour customisable
  • do a proper redesign
  • cleanup unnecessary CSS
  • gzip files to make them load faster
  • setup spiffs using values in program memory ? (if you have feedback to this idea let me know)
  • ESP8266 support

Documentation

The heart of ESPUI is ESPAsyncWebserver. ESPUI's frontend is based on Skeleton CSS and jQuery-like lightweight zepto.js for Handling Click Events Etc. The communication between the ESP32 and the client browser works using web sockets. ESPUI does not need network access and can be used in standalone access point mode. All assets are loaded from the internal SPIFFS filesystem of the ESP32.

Contribute

Liked this Library? You can Support me by sending me a Coffee.